Re: [Flightgear-devel] CMake linker error
On 10 Jan 2011, at 11:48, Andreas Gaeb wrote: using CMake with the latest git, I get the following error when linking GPSSmooth. The system is Ubuntu 10.10 32 bit. The targets before GPSSmooth build and run fine, including fgfs itself. However, MIDGsmooth and UGsmooth fail with a similar list of errors. This was fixed, thanks to some contributions from Fred and Olaf Flebbe. Hudson is now building next of FG SG using Cmake (in addition to autoconf), and everything is green at this time. The Mac build produces a DMG which seems to work fine (based on some very brief testing here). Regards, James -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] CMake linker error
Am 14.01.2011 12:50, schrieb James Turner: [...] This was fixed, thanks to some contributions from Fred and Olaf Flebbe. Hudson is now building next of FG SG using Cmake (in addition to autoconf), and everything is green at this time. thank you, works here as well. To also build fgadmin (which Hudson does not seem to do for Linux-cmake), I had to include string.h instead of string in utils/fgadmin/src/main.cxx and replace ${SIMGEAR_LIBRARIES} by ${SIMGEAR_MISC_LIBRARY} and ${SIMGEAR_DEBUG_LIBRARY} in the respective CMakeLists.txt. Now the whole cmake build completes with all enables checked. Best regards, Andreas -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] CMake linker error
On Fri, Jan 14, 2011 at 4:19 PM, Andreas Gaeb a.g...@web.de wrote: I had to include string.h instead of string in utils/fgadmin/src/main.cxx I believe the correct c++ header for that would be cstring Also, do not remove string since that is needed for def_install_source and def_scenery_dest. Even though fgadmin.h does include it, it should be left in main.cxx as well. Speaking of fgadmin.h, the using std::string should be removed from there (but if the file is really auto-generated as the comment says then the fluid tool would have to be fixed). -- Csaba/Jester -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] CMake linker error
Also, the #include string + using std::string in untarka.h is totally inappropriate and should be removed. -- Csaba/Jester -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] CMake linker error
Hello everybody, using CMake with the latest git, I get the following error when linking GPSSmooth. The system is Ubuntu 10.10 32 bit. The targets before GPSSmooth build and run fine, including fgfs itself. However, MIDGsmooth and UGsmooth fail with a similar list of errors. Best regards, Andreas Linking CXX executable GPSsmooth $$FG_INSTALL/lib/libsgio.a(raw_socket.cxx.o): In function `logbuf::set_log_state(sgDebugClass, sgDebugPriority)': raw_socket.cxx:(.text._ZN6logbuf13set_log_stateE12sgDebugClass15sgDebugPriority[logbuf::set_log_state(sgDebugClass, sgDebugPriority)]+0x7): undefined reference to `logbuf::logClass' raw_socket.cxx:(.text._ZN6logbuf13set_log_stateE12sgDebugClass15sgDebugPriority[logbuf::set_log_state(sgDebugClass, sgDebugPriority)]+0x15): undefined reference to `logbuf::logPriority' raw_socket.cxx:(.text._ZN6logbuf13set_log_stateE12sgDebugClass15sgDebugPriority[logbuf::set_log_state(sgDebugClass, sgDebugPriority)]+0x2a): undefined reference to `logbuf::logging_enabled' $$FG_INSTALL/lib/libsgio.a(raw_socket.cxx.o): In function `logbuf::would_log(sgDebugClass, sgDebugPriority) const': raw_socket.cxx:(.text._ZNK6logbuf9would_logE12sgDebugClass15sgDebugPriority[logbuf::would_log(sgDebugClass, sgDebugPriority) const]+0x7): undefined reference to `logbuf::logClass' raw_socket.cxx:(.text._ZNK6logbuf9would_logE12sgDebugClass15sgDebugPriority[logbuf::would_log(sgDebugClass, sgDebugPriority) const]+0x15): undefined reference to `logbuf::logPriority' $$FG_INSTALL/lib/libsgio.a(raw_socket.cxx.o): In function `sglog()': raw_socket.cxx:(.text._Z5sglogv[sglog()]+0x7): undefined reference to `logstream::initGlobalLogstream()' $$FG_INSTALL/lib/libsgtiming.a(timestamp.cxx.o): In function `SGTimeStamp::stamp()': timestamp.cxx:(.text+0x28): undefined reference to `clock_gettime' timestamp.cxx:(.text+0x67): undefined reference to `clock_gettime' collect2: ld returned 1 exit status make[2]: *** [utils/GPSsmooth/GPSsmooth] Fehler 1 make[1]: *** [utils/GPSsmooth/CMakeFiles/GPSsmooth.dir/all] Fehler 2 make: *** [all] Fehler 2 -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel