linus compile of GG problem: boost filesystem2 not found

Questions, problems and discussion about compiling FreeOrion.

Moderators: Oberlus, Oberlus

Post Reply
Message
Author
User avatar
RgnadKzin
Space Squid
Posts: 67
Joined: Sun Aug 15, 2010 2:25 am

linus compile of GG problem: boost filesystem2 not found

#1 Post by RgnadKzin » Wed Dec 29, 2010 3:33 pm

I have not been able to upgrade to the latest cvn for GG for a while, because my distribution only has boost-1.42.

I finally got boost 1.44 installed and the problems I had compiling AdamParser are resolved. However, I am getting an error compiling AdamParser-test:

Code: Select all

Linking CXX executable ../AdamParser-test                                        
../libGiGi.so: undefined reference to `boost::filesystem2::detail::not_found_error()'
../libGiGi.so: undefined reference to `boost::filesystem2::detail::status_api(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::system::error_code&)'
../libGiGi.so: undefined reference to `boost::filesystem2::native(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
../libGiGi.so: undefined reference to `boost::system::system_category()'
../libGiGi.so: undefined reference to `boost::filesystem2::detail::dir_itr_close(void*&, void*&)'
../libGiGi.so: undefined reference to `boost::filesystem2::detail::get_current_path_api(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)'
../libGiGi.so: undefined reference to `boost::filesystem2::detail::dir_itr_first(void*&, void*&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, boost::filesystem2::file_status&, boost::filesystem2::file_status&)'
../libGiGi.so: undefined reference to `boost::system::generic_category()'
../libGiGi.so: undefined reference to `boost::filesystem2::detail::dir_itr_increment(void*&, void*&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, boost::filesystem2::file_status&, boost::filesystem2::file_status&)'
collect2: ld returned 1 exit status
make[2]: *** [AdamParser-test] Error 1
make[1]: *** [test/CMakeFiles/AdamParser-test.dir/all] Error 2
make: *** [all] Error 2
Looking in the file structure of boost, there is no filesystem2.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12474
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: linus compile of GG problem: boost filesystem2 not found

#2 Post by Geoff the Medio » Wed Dec 29, 2010 3:57 pm

I'm not sure about filesystem2, but you can just not compile any GG test applications without impacting FreeOrion.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12474
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: linus compile of GG problem: boost filesystem2 not found

#3 Post by Geoff the Medio » Wed Dec 29, 2010 10:19 pm

RgnadKzin wrote:Looking in the file structure of boost, there is no filesystem2.
Could you have something cached from running CMake with the older version of boost that did have "filesystem2" in it?

There are some references to similar problems found with google: http://lists.boost.org/boost-users/2010/10/63127.php though there's no fix I've found yet...

Or, perhaps you've compiled another dependency that in turn depends on boost against an older version of boost, and are now trying to link GiGi against just boost 1.44, leading to missing symbols. You might need to recompile the dependencies... (see https://sourceforge.net/projects/murasa ... ic/3846450 for not much help but some context for the possibility...)

User avatar
RgnadKzin
Space Squid
Posts: 67
Joined: Sun Aug 15, 2010 2:25 am

Re: linus compile of GG problem: boost filesystem2 not found

#4 Post by RgnadKzin » Thu Dec 30, 2010 2:17 am

which of the following also have boost dependencies?
bullet/ freealut/ freeorion/ graphviz/ ogre/ ois/ openal/

Looks like ogre does. I will try recompiling that

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12474
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: linus compile of GG problem: boost filesystem2 not found

#5 Post by Geoff the Medio » Thu Dec 30, 2010 3:35 am

ogre depends on boost.

gigi depends on boost.

gigiogre depends on boost, possibly just through gigi and ogre.

freeorion depends directly on boost, and through gigi / gigiogre.

As far as I know, OpenAL and bullet don't depend on any other libraries. I'm not sure about OIS... I can't find which project in the Win32 build produces it, but I'd guess it doesn't depend on boost...

graphviz is not a dependency.

User avatar
RgnadKzin
Space Squid
Posts: 67
Joined: Sun Aug 15, 2010 2:25 am

Re: linus compile of GG problem: boost filesystem2 not found

#6 Post by RgnadKzin » Thu Dec 30, 2010 8:44 am

Geoff the Medio wrote:
RgnadKzin wrote:Looking in the file structure of boost, there is no filesystem2.
Could you have something cached from running CMake with the older version of boost that did have "filesystem2" in it?

There are some references to similar problems found with google: http://lists.boost.org/boost-users/2010/10/63127.php though there's no fix I've found yet...

Or, perhaps you've compiled another dependency that in turn depends on boost against an older version of boost, and are now trying to link GiGi against just boost 1.44, leading to missing symbols. You might need to recompile the dependencies... (see https://sourceforge.net/projects/murasa ... ic/3846450 for not much help but some context for the possibility...)
When I grep -R "filesystem2" * in the new boost tree, I get plenty of hits. The problem I am having is running sudo make install after compiling GG. I do not know how to bypass the -test files. :?:

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12474
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: linus compile of GG problem: boost filesystem2 not found

#7 Post by Geoff the Medio » Thu Dec 30, 2010 9:16 am

RgnadKzin wrote:The problem I am having is running sudo make install after compiling GG.
I'm not sure what you mean by that... "make" does compiling (and linking, to produce the binary). Are you still getting the linker errors you posted above about filesystem2 even after recompiling the dependencies with the newer boost version?
I do not know how to bypass the -test files. :?:
I'm not exactly sure myself, but you might try deleting the CMakeLists.txt (or everything?) in the test directory within the main GG directory.

User avatar
RgnadKzin
Space Squid
Posts: 67
Joined: Sun Aug 15, 2010 2:25 am

Re: linus compile of GG problem: boost filesystem2 not found

#8 Post by RgnadKzin » Fri Dec 31, 2010 8:18 am

the compile dies on freeoriond for the same reason.
Is it necessary that I use boost 1.44? can I back off to 1.42?
How can I tell which boost ogre and GiGi use?

User avatar
RgnadKzin
Space Squid
Posts: 67
Joined: Sun Aug 15, 2010 2:25 am

Re: linus compile of GG problem: boost filesystem2 not found

#9 Post by RgnadKzin » Fri Dec 31, 2010 8:57 am

I'm getting frustrated. I can't work on the AI because of this mess.
Please give me the svn versions of FreeOrion and GG which made use of the last version of boost (I have 1.38 and 1.42 installed. I need to back 1.44 out.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12474
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: linus compile of GG problem: boost filesystem2 not found

#10 Post by Geoff the Medio » Fri Dec 31, 2010 5:35 pm

RgnadKzin wrote:the compile dies on freeoriond for the same reason.
What does that mean? Could you please post the error messages?
Is it necessary that I use boost 1.44? can I back off to 1.42?
I'm not sure, but I suspect it would work if you edit CMakeLists.txt in the GG directory to remove some lines: every line after "set(THIS_LIB_SOURCES" that has "Eve", "Adam" or "adobe" in it. I think the stuff that needs boost 1.44 is within those files, but FreeOrion doesn't need them to build.
How can I tell which boost ogre and GiGi use?
I think you can use "ldd -v libraryfilename" to get a list of what libraries a binary or libarary depends on, which shsould indicate boost verions.
Please give me the svn versions of FreeOrion and GG which made use of the last version of boost
I'm not sure which versions that would be... it would likely require some trial and error to determine. You'd be better off keeping SVN updated, but removing the files as suggested above from the build.

User avatar
RgnadKzin
Space Squid
Posts: 67
Joined: Sun Aug 15, 2010 2:25 am

Re: linus compile of GG problem: boost filesystem2 not found

#11 Post by RgnadKzin » Fri Dec 31, 2010 10:22 pm

I am working on moving everything to boost 1.42.
I presume that your reference to CMakeList.txt was in the GG/src/ directory because that is where I find "set(THIS_LIB_SOURCES" and references to Adam, Eve and adobe.

Here is the error I got last time:

Code: Select all

[[email protected] freeorion]$ freeorion-start                                   
FreeOrion server waiting for network events
*** glibc detected *** freeorion-start: corrupted double-linked list: 0x0a17b9c0 ***
======= Backtrace: =========
/lib/i686/libc.so.6[0xb69a23f1]
/lib/i686/libc.so.6[0xb69a483c]
/lib/i686/libc.so.6(cfree+0x70)[0xb69a6aa0]
freeorion-start(_ZN4ogdf21HierarchyLayoutModule8addBendsERNS_19GraphCopyAttributesERNS_9HierarchyE+0x11a7)[0x8ab26a7]
freeorion-start(_ZN4ogdf21HierarchyLayoutModule4callERNS_9HierarchyERNS_15GraphAttributesE+0x15b)[0x8aa641b]
freeorion-start(_ZN4ogdf14SugiyamaLayout6doCallERNS_15GraphAttributesEbRNS_9NodeArrayIiEE+0x1089)[0x8aa31e9]
freeorion-start(_ZN4ogdf14SugiyamaLayout4callERNS_15GraphAttributesE+0x58)[0x8aa3998]
freeorion-start(_ZN11TechTreeWnd11LayoutPanel6LayoutEbd+0xf27)[0x8a0e2b7]
freeorion-start(_ZN11TechTreeWnd6UpdateEPK4Tech+0x8d)[0x8a127cd]
freeorion-start(_ZN11ResearchWnd7RefreshEv+0x257)[0x89abbd7]
freeorion-start(_ZN6MapWnd8InitTurnEv+0x1705)[0x8947d05]
freeorion-start(_ZN11PlayingTurnC1EN5boost10statechart5stateIS_11PlayingGameNS0_3mpl4listIN4mpl_2naES7_S7_S7_S7_S7_S7_S7_S7_S7_S7_S7_S7_S7_S7_S7_S7_S7_S7_S7_EELNS1_12history_modeE0EE10my_contextE+0xff)[0x85120bf]
freeorion-start(_ZN5boost10statechart12simple_stateI18WaitingForTurnData11PlayingGame22WaitingForTurnDataIdleLNS0_12history_modeE0EE7transitI11PlayingTurnEENS0_6detail15reaction_resultEv+0x77)[0x8523587]
freeorion-start(_ZN18WaitingForTurnData5reactERK9GameStart+0x2e1)[0x8512c61]
freeorion-start(_ZN5boost10statechart12simple_stateI18WaitingForTurnData11PlayingGame22WaitingForTurnDataIdleLNS0_12history_modeE0EE10react_implERKNS0_10event_baseEPKv+0x13c)[0x852387c]
freeorion-start(_ZN5boost10statechart13state_machineI14HumanClientFSM9IntroMenuSaIvENS0_25null_exception_translatorEE13process_eventERKNS0_10event_baseE+0x47)[0x853d097]
freeorion-start(_ZN14HumanClientApp13HandleMessageER7Message+0x752)[0x852c432]
freeorion-start(_ZN14HumanClientApp18HandleSystemEventsEv+0x143)[0x852c8c3]
/usr/local/lib/libGiGiOgre.so(_ZN2GG7OgreGUI3RunEv+0xac)[0xb73f644c]
/usr/local/lib/libGiGi.so(_ZN2GG3GUIclEv+0x11)[0xb754c051]
freeorion-start(_Z19mainSetupAndRunOgrev+0xdfa)[0x853fe7a]
freeorion-start(main+0xb5)[0x8542315]
/lib/i686/libc.so.6(__libc_start_main+0xe6)[0xb694ea36]
freeorion-start[0x8507d91]
======= Memory map: ========
08048000-08d20000 r-xp 00000000 08:0c 22         /usr/local/games/freeorion/freeorion
08d20000-08d23000 rw-p 00cd7000 08:0c 22         /usr/local/games/freeorion/freeorion
08d23000-08d34000 rw-p 00000000 00:00 0 
09633000-0a49b000 rw-p 00000000 00:00 0          [heap]
ac706000-ac707000 ---p 00000000 00:00 0 
ac707000-acf07000 rw-p 00000000 00:00 0 
acf07000-acf08000 ---p 00000000 00:00 0 
acf08000-ad708000 rw-p 00000000 00:00 0 
b0444000-b1047000 rw-p 00000000 00:00 0 
b1300000-b1321000 rw-p 00000000 00:00 0 
b1321000-b1400000 ---p 00000000 00:00 0 
b1448000-b1549000 rw-s 00091000 00:05 11853      /dev/ati/card0
b1549000-b1552000 r-xp 00000000 08:0b 1319609    /usr/lib/libXcursor.so.1.0.2
b1552000-b1553000 rw-p 00008000 08:0b 1319609    /usr/lib/libXcursor.so.1.0.2
b157a000-b15b9000 r--p 00000000 08:0b 2368200    /usr/share/locale/UTF-8/LC_CTYPE
b15b9000-b15d7000 r-xp 00000000 08:0c 696353     /usr/local/lib/libOIS-1.2.0.so
b15d7000-b15d8000 rw-p 0001e000 08:0c 696353     /usr/local/lib/libOIS-1.2.0.so
b15ff000-b16de000 r-xp 00000000 08:0b 1319252    /usr/lib/libasound.so.2.0.0
b16de000-b16e2000 rw-p 000df000 08:0b 1319252    /usr/lib/libasound.so.2.0.0
b16e5000-b16e9000 r-xp 00000000 08:0b 1319617    /usr/lib/libXfixes.so.3.1.0
b16e9000-b16ea000 rw-p 00003000 08:0b 1319617    /usr/lib/libXfixes.so.3.1.0
b16ea000-b16f8000 r-xp 00000000 08:0c 696360     /usr/local/lib/libGiGiOgrePlugin_OIS.so
b16f8000-b16f9000 rw-p 0000d000 08:0c 696360     /usr/local/lib/libGiGiOgrePlugin_OIS.so
b16f9000-b1709000 rw-s 00000000 00:04 28377105   /SYSV0056a4d6 (deleted)
b1709000-b170a000 ---p 00000000 00:00 0 
b170a000-b1f0a000 rw-p 00000000 00:00 0 
b1f0a000-b1f0e000 r-xp 00000000 08:06 1180282    /lib/libattr.so.1.1.0
b1f0e000-b1f0f000 rw-p 00003000 08:06 1180282    /lib/libattr.so.1.1.0
b1f0f000-b1f21000 r-xp 00000000 08:06 1180384    /lib/libresolv-2.10.1.so
b1f21000-b1f22000 r--p 00011000 08:06 1180384    /lib/libresolv-2.10.1.so
b1f22000-b1f23000 rw-p 00012000 08:06 1180384    /lib/libresolv-2.10.1.so
b1f23000-b1f25000 rw-p 00000000 00:00 0 
b1f25000-b1f6a000 r-xp 00000000 08:06 1179920    /lib/libdbus-1.so.3.5.2
b1f6a000-b1f6b000 r--p 00044000 08:06 1179920    /lib/libdbus-1.so.3.5.2
b1f6b000-b1f6c000 rw-p 00045000 08:06 1179920    /lib/libdbus-1.so.3.5.2
b1f6c000-b20d1000 r-xp 00000000 08:0b 1321163    /usr/lib/libvorbisenc.so.2.0.8
b20d1000-b20e2000 rw-p 00165000 08:0b 1321163    /usr/lib/libvorbisenc.so.2.0.8
b20e2000-b2135000 r-xp 00000000 08:0b 1319488    /usr/lib/libFLAC.so.8.2.0
b2135000-b2136000 rw-p 00052000 08:0b 1319488    /usr/lib/libFLAC.so.8.2.0
b2136000-b219f000 r-xp 00000000 08:0b 1320630    /usr/lib/libsndfile.so.1.0.21
b219f000-b21a1000 rw-p 00068000 08:0b 1320630    /usr/lib/libsndfile.so.1.0.21
b21a1000-b21a5000 rw-p 00000000 00:00 0 
b21a5000-b21f5000 r-xp 00000000 08:0b 1319912    /usr/lib/libpulsecommon-0.9.22.so
b21f5000-b21f6000 rw-p 00050000 08:0b 1319912    /usr/lib/libpulsecommon-0.9.22.so
b21f6000-b223a000 r-xp 00000000 08:0b 1319881    /usr/lib/libpulse.so.0.12.3
b223a000-b223b000 rw-p 00044000 08:0b 1319881    /usr/lib/libpulse.so.0.12.3
b223c000-b224c000 rw-s 00000000 00:05 5780       /dev/snd/pcmC0D0p
b224c000-b224d000 rw-s 81000000 00:05 5780       /dev/snd/pcmC0D0p
b224d000-b224e000 r--s 80000000 00:05 5780       /dev/snd/pcmC0D0p
b224e000-b2259000 r-xp 00000000 08:06 1180351    /lib/libnss_files-2.10.1.so
b2259000-b225a000 r--p 0000a000 08:06 1180351    /lib/libnss_files-2.10.1.so
b225a000-b225b000 rw-p 0000b000 08:06 1180351    /lib/libnss_files-2.10.1.so
b225b000-b2262000 r--s 00000000 08:0b 1343880    /usr/lib/gconv/gconv-modules.cache
b2262000-b23f3000 rw-p 00000000 00:00 0 
b23f3000-b25f4000 rw-s 00088000 00:05 11853      /dev/ati/card0
b25f4000-b25f5000 ---p 00000000 00:00 0 
b25f5000-b2ef6000 rw-p 00000000 00:00 0 
b2ef6000-b2f48000 r-xp 00000000 08:0c 704515     /usr/local/lib/OGRE/Plugin_OctreeSceneManager.so
b2f48000-b2f4b000 rw-p 00051000 08:0c 704515     /usr/local/lib/OGRE/Plugin_OctreeSceneManager.so
b2f4b000-b2f8b000 r-xp 00000000 08:0c 704517     /usr/local/lib/OGRE/Plugin_ParticleFX.so
b2f8b000-b2f8d000 rw-p 00040000 08:0c 704517     /usr/local/lib/OGRE/Plugin_ParticleFX.so
b2f8d000-b308d000 rw-p 00000000 00:00 0 
b308d000-b378d000 rw-s 00006000 00:05 11853      /dev/ati/card0
b378d000-b380a000 rw-p 00000000 00:00 0 
b380a000-b383c000 r-xp 00000000 08:0b 1409427    /usr/lib/fglrx/libatiadlxx.so
b383c000-b383d000 rw-p 00031000 08:0b 1409427    /usr/lib/fglrx/libatiadlxx.so
b383d000-b383e000 rw-s 00000000 00:04 28344336   /SYSV0056a4d5 (deleted)
b383e000-b3852000 r-xp 00000000 08:06 1180338    /lib/libnsl-2.10.1.so
b3852000-b3853000 r--p 00014000 08:06 1180338    /lib/libnsl-2.10.1.so
b3853000-b3854000 rw-p 00015000 08:06 1180338    /lib/libnsl-2.10.1.so
b3854000-b3856000 rw-p 00000000 00:00 0 
b3856000-b385b000 r-xp 00000000 08:0b 1319724    /usr/lib/libasyncns.so.0.3.1
b385b000-b385c000 rw-p 00004000 08:0b 1319724    /usr/lib/libasyncns.so.0.3.1
b385c000-b3863000 r-xp 00000000 08:0b 1319135    /usr/lib/libwrap.so.0.7.6
b3863000-b3864000 rw-p 00007000 08:0b 1319135    /usr/lib/libwrap.so.0.7.6
b3864000-b52f5000 r-xp 00000000 08:0b 1327124    /usr/lib/dri/fglrx_dri.so
b52f5000-b53c1000 rw-p 01a90000 08:0b 1327124    /usr/lib/dri/fglrx_dri.so
b53c1000-b546e000 rw-p 00000000 00:00 0 
b546e000-b5476000 r-xp 00000000 08:0b 1319641    /usr/lib/libXrender.so.1.3.0
b5476000-b5477000 rw-p 00008000 08:0b 1319641    /usr/lib/libXrender.so.1.3.0
b5477000-b547e000 r-xp 00000000 08:0b 1319639    /usr/lib/libXrandr.so.2.2.0
b547e000-b547f000 rw-p 00006000 08:0b 1319639    /usr/lib/libXrandr.so.2.2.0
b547f000-b5567000 r-xp 00000000 08:0c 704514     /usr/local/lib/OGRE/RenderSystem_GL.so
b5567000-b556f000 rw-p 000e8000 08:0c 704514     /usr/local/lib/OGRE/RenderSystem_GL.so
b556f000-b6292000 rw-p 00000000 00:00 0 
b6292000-b62a2000 r-xp 00000000 08:0b 1319637    /usr/lib/libXpm.so.4.11.0
b62a2000-b62a3000 rw-p 0000f000 08:0b 1319637    /usr/lib/libXpm.so.4.11.0
b62a3000-b62ba000 r-xp 00000000 08:0b 1319630    /usr/lib/libXmu.so.6.2.0
b62ba000-b62bb000 rw-p 00017000 08:0b 1319630    /usr/lib/libXmu.so.6.2.0
b62bb000-b62bc000 rw-p 00000000 00:00 0 
b62bc000-b62c6000 r-xp 00000000 08:0b 1320339    /usr/lib/libjbig.so.0.0
b62c6000-b62c9000 rw-p 0000a000 08:0b 1320339    /usr/lib/libjbig.so.0.0
b62c9000-b62ce000 r-xp 00000000 08:0b 1319613    /usr/lib/libXdmcp.so.6.0.0
b62ce000-b62cf000 rw-p 00004000 08:0b 1319613    /usr/lib/libXdmcp.so.6.0.0
b62cf000-b62d1000 r-xp 00000000 08:0b 1319601    /usr/lib/libXau.so.6.0.0
b62d1000-b62d2000 rw-p 00001000 08:0b 1319601    /usr/lib/libXau.so.6.0.0
b62d2000-b62ee000 r-xp 00000000 08:0b 1321285    /usr/lib/libxcb.so.1.1.0
b62ee000-b62ef000 rw-p 0001b000 08:0b 1321285    /usr/lib/libxcb.so.1.1.0
b62ef000-b62f6000 r-xp 00000000 08:0b 1409412    /usr/lib/fglrx/libatiuki.so.1.0Aborted
[Fri Dec 31 - 12:19:36 /usr/local/games/freeorion]
[[email protected] freeorion]$ main() caught exception(std::runtime_error): Broken pipe

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12474
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: linus compile of GG problem: boost filesystem2 not found

#12 Post by Geoff the Medio » Fri Dec 31, 2010 10:52 pm

RgnadKzin wrote:I presume that your reference to CMakeList.txt was in the GG/src/ directory because that is where I find "set(THIS_LIB_SOURCES" and references to Adam, Eve and adobe.
Yes.
Here is the error I got last time:

Code: Select all

*** glibc detected *** freeorion-start: corrupted double-linked list: 0x0a17b9c0 ***
Ah, from this thread. That error has nothing to do with boost. If you've gotten GiGi and FreeOrion compiled and are getting that error again, it's not a boost problem.

Since you just want to write AI stuff, I suggest you just remove comment out the tech tree layout stuff that's crashing. To do that, edit UI/TechTreeWnd.cpp to remove or comment out all the code in the function TechTreeWnd::LayoutPanel::Layout. That starts around line 1428 in the SVN version. You should then be able to test AIs.

User avatar
RgnadKzin
Space Squid
Posts: 67
Joined: Sun Aug 15, 2010 2:25 am

Re: linus compile of GG problem: boost filesystem2 not found

#13 Post by RgnadKzin » Sat Jan 01, 2011 3:15 am

Geoff the Medio wrote:
RgnadKzin wrote:
Is it necessary that I use boost 1.44? can I back off to 1.42?
I'm not sure, but I suspect it would work if you edit CMakeLists.txt in the GG directory to remove some lines: every line after "set(THIS_LIB_SOURCES" that has "Eve", "Adam" or "adobe" in it. I think the stuff that needs boost 1.44 is within those files, but FreeOrion doesn't need them to build.
I have attached the CMakeLists.txt that I updated to get GiGi and freeorion to compile under boost-1.42.0

Is the Tech Tree problem an ogdf problem?
Attachments
freeorion-GG-src-CMakeLists.txt
FreeOrion/GG/src/CMakeLists.txt
(7.73 KiB) Downloaded 74 times
freeorion-GG-CMakeLists.txt
FreeOrion/GG/CMakeLists.txt
(17.83 KiB) Downloaded 73 times
freeorion-CMakeLists.txt
CMakeLists.txt from FreeOrion directory
(22.65 KiB) Downloaded 79 times

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12474
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: linus compile of GG problem: boost filesystem2 not found

#14 Post by Geoff the Medio » Sat Jan 01, 2011 3:41 am

RgnadKzin wrote:Is the Tech Tree problem an ogdf problem?
More like the OGDF problem is a tech tree problem. The tech tree used OGDF to do layout of techs. As seen in your stack backtrace quoted below, you're getting a crash in the OGDF layout code (HierarchyLayoutModule & SugiyamaLayout). Disabling the layout code should prevent the crash, but means you won't have a tech tree to use in game.

Code: Select all

freeorion-start(_ZN4ogdf21HierarchyLayoutModule8addBendsERNS_19GraphCopyAttributesERNS_9HierarchyE+0x11a7)[0x8ab26a7]
freeorion-start(_ZN4ogdf21HierarchyLayoutModule4callERNS_9HierarchyERNS_15GraphAttributesE+0x15b)[0x8aa641b]
freeorion-start(_ZN4ogdf14SugiyamaLayout6doCallERNS_15GraphAttributesEbRNS_9NodeArrayIiEE+0x1089)[0x8aa31e9]
freeorion-start(_ZN4ogdf14SugiyamaLayout4callERNS_15GraphAttributesE+0x58)[0x8aa3998]
freeorion-start(_ZN11TechTreeWnd11LayoutPanel6LayoutEbd+0xf27)[0x8a0e2b7]
freeorion-start(_ZN11TechTreeWnd6UpdateEPK4Tech+0x8d)[0x8a127cd]
freeorion-start(_ZN11ResearchWnd7RefreshEv+0x257)[0x89abbd7]

User avatar
RgnadKzin
Space Squid
Posts: 67
Joined: Sun Aug 15, 2010 2:25 am

Re: linus compile of GG problem: boost filesystem2 not found

#15 Post by RgnadKzin » Sat Jan 01, 2011 6:38 am

That's ok. I am able to use the list.
Looks like I can make do.

Post Reply