Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
<Solved> Compile Help PCLOS 2010
07-21-2010, 07:37 PM,
#1
<Solved> Compile Help PCLOS 2010
I'm trying to compile 2010-06-30 on PCLinuxOS 2010 and am getting the following build error:

Code:
scons: Reading SConscript files ...
Checking for C++ header file asio.hpp... (cached) yes
Checking for C++ header file boost/bind.hpp... (cached) yes
Checking for C++ header file GL/gl.h... (cached) yes
Checking for C++ header file GL/glu.h... (cached) yes
Checking for C++ header file SDL/SDL.h... (cached) yes
Checking for C++ header file SDL/SDL_image.h... (cached) yes
Checking for C++ header file SDL/SDL_rotozoom.h... (cached) yes
Checking for C++ header file vorbis/vorbisfile.h... (cached) yes
Checking for C++ header file GL/glew.h... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
        CPP build/aabb.o
        CPP build/aabb_space_partitioning.o
        CPP build/ai.o
        CPP build/bezier.o
        CPP build/camera.o
        CPP build/camera_chase.o
        CPP build/camera_fixed.o
        CPP build/camera_free.o
        CPP build/camera_mount.o
        CPP build/camera_orbit.o
        CPP build/camera_simplemount.o
        CPP build/camera_system.o
        CPP build/car.o
        CPP build/carcontrolmap_local.o
        CPP build/cardynamics.o
        CPP build/carengine.o
        CPP build/carsuspension.o
        CPP build/collision_world.o
        CPP build/configfile.o
        CPP build/configvariable.o
        CPP build/containeralgorithm.o
        CPP build/coordinatesystems.o
        CPP build/crashdetection.o
        CPP build/endian_utility.o
        CPP build/eventsystem.o
        CPP build/fbobject.o
In file included from include/fbobject.h:12,
                 from src/fbobject.cpp:1:
include/fbtexture.h:26: error: ‘GL_TEXTURE_RECTANGLE’ was not declared in this scope
src/fbobject.cpp: In function ‘std::string GetStatusString(GLenum)’:
src/fbobject.cpp:328: error: ‘GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS’ was not declared in this scope
scons: *** [build/fbobject.o] Error 1
scons: building terminated because of errors.

Pretty sure I have all the required dependancies :?
Reply
07-21-2010, 08:13 PM,
#2
 
Actually, there's a bug with scons where it will not find all of the dependencies properly... try this command in the directory for the source code for vdrift, and build again with scons.

Code:
rm -r .sconf_temp .sconsign.dblite
Reply
07-21-2010, 08:25 PM,
#3
rm -r .sconf_temp .sconsign.dblite
Didn't work, still get the same error, but thank you.

Edit: Just realized I'm using scons 1.2 :oops: Guess I'll have to update to latest stable build then see what happens.
Reply
07-21-2010, 08:47 PM,
#4
 
GL_TEXTURE_RECTANGLE is defined in glew.h line 2220. Update your glew lib/header.
Reply
07-21-2010, 09:15 PM,
#5
 
Updating scons didn't help. Thanks NaN I will try updating to latest version for glew.
Reply
07-22-2010, 07:14 PM,
#6
Resolved
Thanks again NaN, updating to latest glew worked.
Reply
08-17-2010, 11:02 AM,
#7
 
Updating glew works !!!
Your help is much appreciated Smile
Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)