Compiling errors

Compiling errors

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
heavymeds
Posts: 1
Joined: 31 Jan 2010, 16:42

Compiling errors

Post by heavymeds »

After following the instructions from the guide for compiling on OSX, attempting to compile still yeilds errors

it begins with

Code: Select all

Linking CXX executable ../spring
ld: warning: duplicate dylib /opt/local/lib/libboost_thread-mt.dylib
ld: warning: duplicate dylib /opt/local/lib/libboost_system-mt.dylib
ld: warning: boost::detail::function::has_empty_target(...) has different visibility (default) in CMakeFiles/spring.dir/System/SpringApp.cpp.o and (hidden) in CMakeFiles/spring.dir/Game/SelectionWidget.cpp.o
and ends

Code: Select all

ld: warning: typeinfo name for boost::any::placeholderhas different visibility (default) in CMakeFiles/spring.dir/System/Platform/BaseCmd.cpp.o and (hidden) in CMakeFiles/spring.dir/System/InputHandler.cpp.o
ld: warning: std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::front() consthas different visibility (hidden) in CMakeFiles/spring.dir/System/FileSystem/ArchiveScanner.cpp.o and (default) in CMakeFiles/spring.dir/System/Platform/BaseCmd.cpp.o
Undefined symbols:
  "_main", referenced from:
      start in crt1.10.6.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [spring] Error 1
make[1]: *** [rts/CMakeFiles/spring.dir/all] Error 2
make: *** [all] Error 2
with a massive amount of warnings between those two points as far as a can tell, i don't actually have duplicates of the things it says i do, and i have no idea what to do from here. any help would be apriciated
Makedon
Posts: 16
Joined: 05 Mar 2010, 14:56

Re: Compiling errors

Post by Makedon »

i would resolve this if i had your comp...but i don't
and thus can't see the code and your comp specs(and know what's the prob)
marcopete87(2)
Posts: 2
Joined: 23 Mar 2010, 15:35

Re: Compiling errors

Post by marcopete87(2) »

i have your same problem :evil:
Post Reply

Return to “Help & Bugs”