widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #02107
Re: [Merge] lp:~widelands-dev/widelands/cmake-reworked into lp:widelands
Some more verbose output does not really help. The complete linker call is:
/usr/lib/gcc/x86_64-linux-gnu/4.8/collect2 --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o test_economy /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.8/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. CMakeFiles/test_economy.dir/economy_test_main.cc.o CMakeFiles/test_economy.dir/test_economy.cc.o CMakeFiles/test_economy.dir/test_road.cc.o CMakeFiles/test_economy.dir/test_routing.cc.o -lboost_unit_test_framework -lSDL -lpthread ../../libwidelands_ball_of_mud.a ../../network/libnetwork.a ../../libwidelands_ball_of_mud.a ../../network/libnetwork.a ../../io/libio_dedicated_log.a ../../sound/libsound.a ../../profile/libprofile.a -lSDL_mixer -lboost_unit_test_framework -lboost_regex ../../third_party/libthird_party_eris.a ../../map_io/libmap_io.a ../../graphic/libgraphic.a ../../base/libbase_i18n.a -lGLEW -lGL -lpng -lSDL_image -lSDL_gfx -lSDL_ttf ../../io/libio_filesystem.a ../../libbuild_info.a ../../io/libio_stream.a ../../base/libbase_exceptions.a ../../third_party/libthird_party_minizip.a -lz ../../base/libbase_log.a -lSDL_net -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/4.8/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crtn.o
SDL is before libgraphic so it should not be a problem of order I think. Some libraries are mentioned more than once which seems to be needed to deal with cyclic dependencies (between widelands_ball_of_mud and network).
--
https://code.launchpad.net/~widelands-dev/widelands/cmake-reworked/+merge/222455
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/cmake-reworked.
References