[CMake] Compiling header files

David Doria daviddoria at gmail.com
Tue Nov 16 21:36:15 EST 2010


> Also use VS IDE to make sure the library is listed.

The library is indeed listed in "Additional Dependencies" of the
linker for the executable target.

> What symbols? Try running dumpbin /symbols OSC.lib.

I figured it out - I had to link to "winmm" to get the symbol:

symbol __imp__timeGetTime

and "Ws2_32" to get several symbols like:

symbol __imp__htons at 4

I have never developed in Windows - I didn't know I needed to link to
additional libraries sometimes. Now I know.

Thanks for all of the pointers!

David


More information about the CMake mailing list