Hi Gijs, Yes, it certainly 'looks' that way ;=()
I just did a git pull, and I can only produce that SAME link error in my Windows 7 build if I comment out the line - list(APPEND PLATFORM_LIBS "winmm.lib") Then I get what you showed - SimGearCored.lib(timestamp.obj) : error LNK2019: unresolved external symbol __imp__timeGetTime@0 referenced in function "public: void __thiscall SGTimeStamp::stamp(void)" (?stamp@SGTimeStamp@@QAEXXZ) C:\FG\18\build-fgrun\src\Debug\fgrund.exe : fatal error LNK1120: 1 unresolved externals Can only suggest in src\CMakeLists.txt you add a message like - message(STATUS "*** target_link_libraries(fgrun ui=${ui_libs_1_3} \ ws=${WINSOCK_LIBRARY} sg=${simgear_libs} \ osg=${OPENSCENEGRAPH_LIBRARIES} \ fltk=${FLTK_LIBRARIES} z=${ZLIB_LIBRARIES} intl=${INTL_LIBRARY} \ opty=${OPENPTY_LIBRARY} pf=${PLATFORM_LIBS})") Just to make sure PLATFORM_LIBS is not getting clobbered somehow. Of course this should show ... pf=winmm.lib) I note PLATFORM_LIBS is only set in a cmake if (MSVC). It is being compiled using the MSVC compiler/linker right? Maybe that should be if (MSVC OR WIN32) or just if (WIN32) since winmm.lib would ALWAYS be required in Windows for timeGetTime()... HTH. Regards, Geoff. On Thu, 2013-08-15 at 15:32 +0200, Gijs de Rooy wrote: > Hi Geoff, > > > That can be fixed by adding Winmm.lib to the link... > > Fred already did that some time ago, right? > > https://www.gitorious.org/fg/fgrun/commit/d25fad49b73f51459ef2bdaa7e040da8259a02a0 > > Cheers, > Gijs > ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel