On 06/02/12 23:34, Sid Boyce wrote: > > This has to be a problem with ccmake files in flightgear as > PLIB_LIBRARIES should be looking for a directory as it has always done > and as it says when on that line in the configuration. > . > WARNING: Target "fgjs" requests linking to directory "/usr/lib64". > Targets may link only to libraries. CMake is dropping the item. > > WARNING: Target "js_demo" requests linking to directory > "/usr/lib64". Targets may link only to libraries. CMake is dropping > the item. > > WARNING: Target "fgfs" requests linking to directory "/usr/lib64". > Targets may link only to libraries. CMake is dropping the item. > > WARNING: Target "fgviewer" requests linking to directory > "/usr/lib64". Targets may link only to libraries. CMake is dropping > the item. > > WARNING: Target "fgadmin" requests linking to directory > "/usr/lib64". Targets may link only to libraries. CMake is dropping > the item. > Fails if PLIB_LIBRARIES is set to /usr/lib64 or left blank, yet the individual libraries have been included here in cache.
//The PLIB_FNT library PLIB_FNT_LIBRARY:FILEPATH=optimized;/usr/lib64/libplibfnt.so;debug;/usr/lib64/libplibfnt.so //Path to a library. PLIB_FNT_LIBRARY_DEBUG:FILEPATH=PLIB_FNT_LIBRARY_DEBUG-NOTFOUND //Path to a library. PLIB_FNT_LIBRARY_RELEASE:FILEPATH=/usr/lib64/libplibfnt.so //Path to a file. PLIB_INCLUDE_DIR:PATH=/usr/include/plib //The PLIB_JS library PLIB_JS_LIBRARY:FILEPATH=optimized;/usr/lib64/libplibjs.so;debug;/usr/lib64/libplibjs.so //Path to a library. PLIB_JS_LIBRARY_DEBUG:FILEPATH=PLIB_JS_LIBRARY_DEBUG-NOTFOUND //Path to a library. PLIB_JS_LIBRARY_RELEASE:FILEPATH=/usr/lib64/libplibjs.so //Path to a library. PLIB_LIBRARIES:FILEPATH=/usr/lib64 //The PLIB_PUAUX library PLIB_PUAUX_LIBRARY:FILEPATH=optimized;/usr/lib64/libplibpuaux.so;debug;/usr/lib64/libplibpuaux.so //Path to a library. PLIB_PUAUX_LIBRARY_DEBUG:FILEPATH=PLIB_PUAUX_LIBRARY_DEBUG-NOTFOUND //Path to a library. PLIB_PUAUX_LIBRARY_RELEASE:FILEPATH=/usr/lib64/libplibpuaux.so //The PLIB_PU library PLIB_PU_LIBRARY:FILEPATH=optimized;/usr/lib64/libplibpu.so;debug;/usr/lib64/libplibpu.so //Path to a library. PLIB_PU_LIBRARY_DEBUG:FILEPATH=PLIB_PU_LIBRARY_DEBUG-NOTFOUND //Path to a library. PLIB_PU_LIBRARY_RELEASE:FILEPATH=/usr/lib64/libplibpu.so //The PLIB_SG library PLIB_SG_LIBRARY:FILEPATH=optimized;/usr/lib64/libplibsg.so;debug;/usr/lib64/libplibsg.so //Path to a library. PLIB_SG_LIBRARY_DEBUG:FILEPATH=PLIB_SG_LIBRARY_DEBUG-NOTFOUND //Path to a library. PLIB_SG_LIBRARY_RELEASE:FILEPATH=/usr/lib64/libplibsg.so //The PLIB_SSG library PLIB_SSG_LIBRARY:FILEPATH=optimized;/usr/lib64/libplibssg.so;debug;/usr/lib64/libplibssg.so //Path to a library. PLIB_SSG_LIBRARY_DEBUG:FILEPATH=PLIB_SSG_LIBRARY_DEBUG-NOTFOUND //Path to a library. PLIB_SSG_LIBRARY_RELEASE:FILEPATH=/usr/lib64/libplibssg.so //The PLIB_UL library PLIB_UL_LIBRARY:FILEPATH=optimized;/usr/lib64/libplibul.so;debug;/usr/lib64/libplibul.so //Path to a library. PLIB_UL_LIBRARY_DEBUG:FILEPATH=PLIB_UL_LIBRARY_DEBUG-NOTFOUND //Path to a library. PLIB_UL_LIBRARY_RELEASE:FILEPATH=/usr/lib64/libplibul.so CMakeCache.txt lines 449-517/1654 24% slipstream:/home/lancelot/ftp/FEB12/flightgear # make [ 4%] Built target fgAirports [ 5%] Built target fgAircraft [ 6%] Built target fgATC [ 7%] Built target fgATCDCL [ 8%] Built target fgRadio [ 11%] Built target fgAutopilot [ 12%] Built target fgCockpit [ 16%] Built target fgEnvironment [ 20%] Built target fgGUI [ 23%] Built target fgInput Linking CXX executable fgjs CMakeFiles/fgjs.dir/fgjs.cxx.o: In function `main': fgjs.cxx:(.text.startup+0x7b): undefined reference to `jsInit()' CMakeFiles/fgjs.dir/jsinput.cxx.o: In function `jsInput::getInput()': jsinput.cxx:(.text+0xb6): undefined reference to `jsJoystick::read(int*, float*)' jsinput.cxx:(.text+0xe5): undefined reference to `jsJoystick::read(int*, float*)' CMakeFiles/fgjs.dir/jsinput.cxx.o: In function `jsInput::findDeadBand()': jsinput.cxx:(.text+0x366): undefined reference to `jsJoystick::read(int*, float*)' jsinput.cxx:(.text+0x41c): undefined reference to `ulClock::getRawTime() const' jsinput.cxx:(.text+0x4b2): undefined reference to `jsJoystick::read(int*, float*)' jsinput.cxx:(.text+0x540): undefined reference to `ulClock::update()' CMakeFiles/fgjs.dir/jssuper.cxx.o: In function `jsSuper::jsSuper()': jssuper.cxx:(.text+0x37): undefined reference to `jsJoystick::jsJoystick(int)' jssuper.cxx:(.text+0x55): undefined reference to `jsJoystick::jsJoystick(int)' jssuper.cxx:(.text+0x73): undefined reference to `jsJoystick::jsJoystick(int)' jssuper.cxx:(.text+0x91): undefined reference to `jsJoystick::jsJoystick(int)' jssuper.cxx:(.text+0xaf): undefined reference to `jsJoystick::jsJoystick(int)' CMakeFiles/fgjs.dir/jssuper.cxx.o:jssuper.cxx:(.text+0xcd): more undefined references to `jsJoystick::jsJoystick(int)' follow CMakeFiles/fgjs.dir/jssuper.cxx.o: In function `jsSuper::~jsSuper()': jssuper.cxx:(.text+0x3b6): undefined reference to `jsJoystick::close()' jssuper.cxx:(.text+0x3cf): undefined reference to `jsJoystick::close()' jssuper.cxx:(.text+0x3e8): undefined reference to `jsJoystick::close()' jssuper.cxx:(.text+0x401): undefined reference to `jsJoystick::close()' jssuper.cxx:(.text+0x41a): undefined reference to `jsJoystick::close()' CMakeFiles/fgjs.dir/jssuper.cxx.o:jssuper.cxx:(.text+0x433): more undefined references to `jsJoystick::close()' follow collect2: ld returned 1 exit status make[2]: *** [src/Input/fgjs] Error 1 make[1]: *** [src/Input/CMakeFiles/fgjs.dir/all] Error 2 make: *** [all] Error 2 Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot, Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Flightgear-users mailing list Flightgear-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-users