[CMake] Compiling header files

Bill Hoffman bill.hoffman at kitware.com
Tue Nov 16 19:52:47 EST 2010


On 11/16/2010 7:19 PM, David Doria wrote:
> Hm, it works correctly in Linux, but I still get a bunch of
>
> error LNK2019: unresolved external symbol
>

What symbols?

Try running dumpbin /symbols OSC.lib.   Also use VS IDE to make sure the 
library is listed.
>
> Everything look ok? Any thoughts?
Looks OK, but there is not enough information to debug this, could be 
many different issues at this point....

Does the code build on Win32 without CMake?
What symbols are undefined?
Where should they be defined?
What symbols are in the .lib that is created?

etc, etc...



-Bill


More information about the CMake mailing list