Cannot compile spring on Debian Lenny 32bit

Cannot compile spring on Debian Lenny 32bit

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

Moderator: Moderators

Post Reply
User avatar
Pithikos
Posts: 146
Joined: 26 Dec 2008, 14:26

Cannot compile spring on Debian Lenny 32bit

Post by Pithikos »

I try to compile on Debian Lenny but I get the following:

Code: Select all

 [ 25%] Building CXX object rts/builds/default/CMakeFiles/engine-default.dir/__/__/Rendering/GL/PBO.cpp.o
 /home/manos/spring/spring/rts/Rendering/GL/PBO.cpp: In static member function ÔÇÿstatic bool PBO::IsSupported()ÔÇÖ:
 /home/manos/spring/spring/rts/Rendering/GL/PBO.cpp:26: error: ÔÇÿGLEW_ARB_map_buffer_rangeÔÇÖ was not declared in this scope
 /home/manos/spring/spring/rts/Rendering/GL/PBO.cpp: In member function ÔÇÿGLubyte* PBO::MapBuffer(GLintptr, GLsizeiptr, GLbitfield)ÔÇÖ:
 /home/manos/spring/spring/rts/Rendering/GL/PBO.cpp:138: error: ÔÇÿGL_MAP_WRITE_BITÔÇÖ was not declared in this scope
 /home/manos/spring/spring/rts/Rendering/GL/PBO.cpp:138: error: ÔÇÿGL_MAP_INVALIDATE_RANGE_BITÔÇÖ was not declared in this scope
 /home/manos/spring/spring/rts/Rendering/GL/PBO.cpp:138: error: ÔÇÿGL_MAP_UNSYNCHRONIZED_BITÔÇÖ was not declared in this scope
 /home/manos/spring/spring/rts/Rendering/GL/PBO.cpp:141: error: ÔÇÿGL_MAP_READ_BITÔÇÖ was not declared in this scope
 /home/manos/spring/spring/rts/Rendering/GL/PBO.cpp:150: error: ÔÇÿglMapBufferRangeÔÇÖ was not declared in this scope
 make[3]: *** [rts/builds/default/CMakeFiles/engine-default.dir/__/__/Rendering/GL/PBO.cpp.o] Error 1
 make[2]: *** [rts/builds/default/CMakeFiles/engine-default.dir/all] Error 2
 make[1]: *** [rts/builds/default/CMakeFiles/spring.dir/rule] Error 2
 make: *** [spring] Error 2
I used glew version 1.5 and then updated to the last one (1.6) but I still get the same error? Any ideas?
User avatar
Pithikos
Posts: 146
Joined: 26 Dec 2008, 14:26

Re: Cannot compile spring on Debian Lenny 32bit

Post by Pithikos »

Now I am suspecting that the problem relies on that I use an older libboost version(1.35) but I am having trouble to update it. I downloaded 1.42 after removing the old 1.35 and now I get this when I try to install the .deb package:
Unpacking replacement libboost-dev ...
dpkg: dependency problems prevent configuration of libboost-dev:
libboost-dev depends on libboost1.42-dev; however:
Package libboost1.42-dev is not installed.
No idea what it is supposed to mean. How can I already need the package libboost when it's the one I try to install?
SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

Re: Cannot compile spring on Debian Lenny 32bit

Post by SirMaverick »

Pithikos wrote:
Unpacking replacement libboost-dev ...
dpkg: dependency problems prevent configuration of libboost-dev:
libboost-dev depends on libboost1.42-dev; however:
Package libboost1.42-dev is not installed.
No idea what it is supposed to mean. How can I already need the package libboost when it's the one I try to install?
Look at the names, it's not the same package. It's libboost-dev is just a meta package pointing to the actual package (libboost1.42-dev).

You might want to update your distribution. New Debian stable is squeeze.
Post Reply

Return to “Linux”