Has anyone managed to build this 0.78.2.1 on Linux?
Spring 0.78.1.1 builds fine, whilst 0.78.2.1 fails to build with the following errors...
--8<----------8<----------8<----------8<--------
.....
g++ -o build/rts/System/Net/UDPConnection.o -c -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -DUSE_PRECOMPILED_HEADER -pthread -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -march=i686 -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=sse -msse -DUSE_PRECOMPILED_HEADER -pthread -D_SZ_ONE_DIRECTORY -D_GNU_SOURCE=1 -D_REENTRANT -DSTREFLOP_SSE -DSYNCCHECK -DNO_AVI -DDIRECT_CONTROL_ALLOWED -Irts -Irts/System -Irts/lib/luabind -Irts/lib/lua/include -Irts/lib/streflop -I/usr/include -I/usr/include/GL -I/usr/include/freetype2 -I/usr/local/include/SDL -I/usr/local/include -I/usr/include/ogg -I/usr/include/vorbis -I/usr/include/python2.5 -I/usr/include/python2.4 -I/usr/include/java rts/System/Net/UDPConnection.cpp
rts/System/Net/UDPConnection.cpp: In member function 'void netcode::UDPConnection::ProcessRawPacket(netcode::RawPacket*)':
rts/System/Net/UDPConnection.cpp:183: error: 'class netcode::RawPacket' has no member named 'second'
rts/System/Net/UDPConnection.cpp:183: error: 'class netcode::RawPacket' has no member named 'second'
rts/System/Net/UDPConnection.cpp:183: error: 'class netcode::RawPacket' has no member named 'second'
rts/System/Net/UDPConnection.cpp: In member function 'void netcode::UDPConnection::SendRawPacket(const unsigned char*, unsigned int, int)':
rts/System/Net/UDPConnection.cpp:377: error: 'class netcode::RawPacket' has no member named 'first'
scons: *** [build/rts/System/Net/UDPConnection.o] Error 1
scons: building terminated because of errors.
--8<----------8<----------8<----------8<--------
I did a brief attempt to look into and grok the mentioned files for both 0.78.1.1 and 0.78.2.1 but I failed to see why this compilation really fails.
Just wondering if anyone knows about any known issues for Linux for this version.
I run Redhat Linux, kernel 2.6.18 and GCC 4.1.2. My apologizes for being brief, but it's 0200 in the mornng here and I'd rather go sleep now ;).
Bugfix release: 0.78.2.1
Re: Bugfix release: 0.78.2.1
What version of boost do you have?
Re: Bugfix release: 0.78.2.1
According to the file /usr/include/boost/version.hpp it is version 1.33.1 which is OLD.
Latest available version on the boost website is 1.37.0. Do you think things will compile if I download and install that version of boost?
(Thanks for swift reply BTW!)
Latest available version on the boost website is 1.37.0. Do you think things will compile if I download and install that version of boost?
(Thanks for swift reply BTW!)
Re: Bugfix release: 0.78.2.1
spring requires at least 1.35 IIRC.