Hope someone can help me here. I am using Visual Studio 2005 and creating a static library that statically links to wxWidgets. I have:
- compiled wxWidgets statically according to their manual
- included the lib directory in the Additional Libraries property
- added all wxWidget libraries in the "Additional Dependencies" property
- set the Link Library Dependencies property to Yes
- install C ++ optimization for the disabled.
I know that some of these steps should not be performed, I did it rationally just in case.
While my library compiles without a hitch, a test application that includes my static lib complains during the link that it cannot find "wxbase28.lib" (which I turned on).
I should note that I completely excluded wxWidgets, so there is no mention of wxWidget-related in the public library API. The test application should not know that wxWidgets exists.
My tiny library has grown to over 51 MB, so I feel that the libraries are interconnected ... so why does my test application complain that it cannot find the wxWidgets library?
thanks
source
share