Can't compile on a Mac

Can't compile on a Mac

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
DevonSix
Posts: 1
Joined: 06 May 2010, 18:12

Can't compile on a Mac

Post by DevonSix »

Hi.

I know this is a Linux forum but Mac is probably closest to Linux and there's no Mac forum so I'm posting here. So, the problem is: I can't compile on my Mac. Got all required dependencies and I'm getting this error:

Code: Select all

/usr/include/c++/4.0.0/cmath:284: note:                 long double std::ldexp(long double, int)
/usr/include/c++/4.0.0/cmath:280: note:                 float std::ldexp(float, int)
/Users/Dev/Desktop/spring_0.81.2.1_src/spring_0.81.2.1/rts/lib/streflop/SMath.h:467: note:                 streflop::Double streflop::ldexp(streflop::Double, int)
/Users/Dev/Desktop/spring_0.81.2.1_src/spring_0.81.2.1/rts/lib/streflop/SMath.h:259: note:                 streflop::Simple streflop::ldexp(streflop::Simple, int)
make[2]: *** [rts/CMakeFiles/spring.dir/Game/GameServer.cpp.o] Error 1
make[1]: *** [rts/CMakeFiles/spring.dir/all] Error 2
make: *** [all] Error 2
What can I do about this?

Best regards
Dev
User avatar
insaneinside
Posts: 29
Joined: 06 Jul 2008, 05:13

Re: Can't compile on a Mac

Post by insaneinside »

You've failed to include the actual error message in your paste! Try again -- it might be helpful. ;)

What you have pasted indicates a call to the streflop::ldexp(...) function using some type (argument? return?) for which a variant (of the function) doesn't exist. Can't tell you any more, though.
Post Reply

Return to “Linux”