01-21-2008, 03:33 PM,
|
|
MADBAD
Junior Member
|
Posts: 29
Threads: 4
Joined: Sep 2007
|
|
Compilation error on Fedora core 5
Trying to compile on:
Quote:OS: Fedora core 5 (the 32bit one).... (yeah, i know that it is not the latest )
Video card: RADEON X800 Series
Driver version: 8.40.4
CPU: AMD Athlon 64 Processor 3400+
Code: bash-3.1$ scons
scons: Reading SConscript files ...
Checking for C++ header file GL/gl.h... yes
Checking for C++ header file GL/glu.h... yes
Checking for C++ header file SDL/SDL.h... yes
Checking for C++ header file SDL/SDL_image.h... yes
Checking for C++ header file SDL/SDL_net.h... yes
Checking for C++ header file SDL/SDL_rotozoom.h... yes
Checking for C++ header file vorbis/vorbisfile.h... yes
Checking for C header file libintl.h... yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/vamos/body/Aerodynamic_Device.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/body/Aerodynamic_Device.cc
g++ -o build/vamos/body/Brake.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/body/Brake.cc
g++ -o build/vamos/body/Car.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/body/Car.cc
g++ -o build/vamos/body/Clutch.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/body/Clutch.cc
g++ -o build/vamos/body/Contact_Point.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/body/Contact_Point.cc
g++ -o build/vamos/body/Differential.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/body/Differential.cc
g++ -o build/vamos/body/Drivetrain.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/body/Drivetrain.cc
g++ -o build/vamos/body/Engine.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/body/Engine.cc
g++ -o build/vamos/body/Exerter.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/body/Exerter.cc
g++ -o build/vamos/body/Frame.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/body/Frame.cc
g++ -o build/vamos/body/Fuel_Tank.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/body/Fuel_Tank.cc
g++ -o build/vamos/body/Gauge.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/body/Gauge.cc
g++ -o build/vamos/body/Gl_Car.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/body/Gl_Car.cc
g++ -o build/vamos/body/Particle.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/body/Particle.cc
g++ -o build/vamos/body/Rigid_Body.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/body/Rigid_Body.cc
g++ -o build/vamos/body/Suspension.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/body/Suspension.cc
g++ -o build/vamos/body/Tire.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/body/Tire.cc
g++ -o build/vamos/body/Transmission.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/body/Transmission.cc
g++ -o build/vamos/body/Wheel.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/body/Wheel.cc
g++ -o build/vamos/geometry/Gl_Texture_Image.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/geometry/Gl_Texture_Image.cc
g++ -o build/vamos/geometry/Inertia_Tensor.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/geometry/Inertia_Tensor.cc
g++ -o build/vamos/geometry/Linear_Interpolator.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/geometry/Linear_Interpolator.cc
g++ -o build/vamos/geometry/Material.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/geometry/Material.cc
g++ -o build/vamos/geometry/Sample.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/geometry/Sample.cc
g++ -o build/vamos/geometry/Spline.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/geometry/Spline.cc
g++ -o build/vamos/geometry/Texture_Image.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/geometry/Texture_Image.cc
g++ -o build/vamos/geometry/Three_Matrix.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/geometry/Three_Matrix.cc
g++ -o build/vamos/geometry/Three_Vector.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/geometry/Three_Vector.cc
g++ -o build/vamos/geometry/Two_Point.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/geometry/Two_Point.cc
g++ -o build/vamos/world/World.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/world/World.cc
g++ -o build/gui/button.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/button.cpp
g++ -o build/gui/calibrate.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/calibrate.cpp
g++ -o build/gui/controlgrab.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/controlgrab.cpp
g++ -o build/gui/designer.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/designer.cpp
g++ -o build/gui/gui.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/gui.cpp
g++ -o build/gui/image.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/image.cpp
g++ -o build/gui/label.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/label.cpp
g++ -o build/gui/multi_image.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/multi_image.cpp
g++ -o build/gui/page.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/page.cpp
g++ -o build/gui/slider.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/slider.cpp
g++ -o build/gui/spinning_car.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/spinning_car.cpp
g++ -o build/gui/textbox.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/textbox.cpp
g++ -o build/gui/toggle.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/toggle.cpp
g++ -o build/main.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/main.cpp
g++ -o build/graphics.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/graphics.cpp
g++ -o build/game.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/game.cpp
include/unittest.h:58: warning: ‘class quicktest::Test’ has virtual functions but non-virtual destructor
g++ -o build/scenegraph.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/scenegraph.cpp
g++ -o build/camera.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/camera.cpp
g++ -o build/controls.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/controls.cpp
g++ -o build/font.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/font.cpp
g++ -o build/forcefeedback.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/forcefeedback.cpp
g++ -o build/gamestate.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/gamestate.cpp
g++ -o build/keyman.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/keyman.cpp
g++ -o build/logging.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/logging.cpp
g++ -o build/logo.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/logo.cpp
g++ -o build/messageq.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/messageq.cpp
g++ -o build/model.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/model.cpp
g++ -o build/mouse.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/mouse.cpp
g++ -o build/multiplay.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/multiplay.cpp
g++ -o build/net.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/net.cpp
g++ -o build/objects.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/objects.cpp
g++ -o build/particles.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/particles.cpp
g++ -o build/3dmath.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/3dmath.cpp
g++ -o build/replay.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/replay.cpp
g++ -o build/settings.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/settings.cpp
g++ -o build/sound.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/sound.cpp
g++ -o build/textures.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/textures.cpp
g++ -o build/timer.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/timer.cpp
g++ -o build/utility.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/utility.cpp
g++ -o build/vamosworld.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/vamosworld.cpp
g++ -o build/ai.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/ai.cpp
g++ -o build/configfile.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/configfile.cpp
g++ -o build/bezier.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/bezier.cpp
include/unittest.h:58: warning: ‘class quicktest::Test’ has virtual functions but non-virtual destructor
src/bezier.cpp:1513: warning: ‘class bezier_testTest’ has virtual functions but non-virtual destructor
g++ -o build/joepack.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/joepack.cpp
g++ -o build/cardinfo.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/cardinfo.cpp
gcc -o build/binreloc.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/binreloc.c
g++ -o build/trackmap.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/trackmap.cpp
g++ -o build/bipointer.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/bipointer.cpp
g++ -o build/tester.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/tester.cpp
g++ -o build/vertexarray.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/vertexarray.cpp
g++ -o build/autox_track.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/autox_track.cpp
g++ -o build/physics.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/physics.cpp
g++ -o build/shader.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/shader.cpp
g++ -o build/serialization.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/serialization.cpp
include/unittest.h:58: warning: ‘class quicktest::Test’ has virtual functions but non-virtual destructor
src/serialization.cpp:64: warning: ‘class serialization_test_xmlTest’ has virtual functions but non-virtual destructor
src/serialization.cpp:137: warning: ‘class serialization_test_xml_no_ptrsTest’ has virtual functions but non-virtual destructor
src/serialization.cpp:209: warning: ‘class serialization_test_binTest’ has virtual functions but non-virtual destructor
src/serialization.cpp:286: warning: ‘class serialization_test_bin_no_ptrsTest’ has virtual functions but non-virtual destructor
src/serialization.cpp:364: warning: ‘class serialization_test_treeTest’ has virtual functions but non-virtual destructor
src/serialization.cpp:443: warning: ‘class serialization_test_bin_compatibilityTest’ has virtual functions but non-virtual destructor
g++ -o build/track.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/track.cpp
include/unittest.h:58: warning: ‘class quicktest::Test’ has virtual functions but non-virtual destructor
src/track.cpp:1239: warning: ‘class beziernode_testTest’ has virtual functions but non-virtual destructor
g++ -o build/vdrift build/main.o build/graphics.o build/game.o build/scenegraph.o build/camera.o build/controls.o build/font.o build/forcefeedback.o build/gamestate.o build/keyman.o build/logging.o build/logo.o build/messageq.o build/model.o build/mouse.o build/multiplay.o build/net.o build/objects.o build/particles.o build/3dmath.o build/replay.o build/settings.o build/sound.o build/textures.o build/timer.o build/utility.o build/vamosworld.o build/ai.o build/configfile.o build/bezier.o build/joepack.o build/cardinfo.o build/binreloc.o build/trackmap.o build/bipointer.o build/tester.o build/vertexarray.o build/autox_track.o build/physics.o build/shader.o build/serialization.o build/track.o build/vamos/body/Aerodynamic_Device.o build/vamos/body/Brake.o build/vamos/body/Car.o build/vamos/body/Clutch.o build/vamos/body/Contact_Point.o build/vamos/body/Differential.o build/vamos/body/Drivetrain.o build/vamos/body/Engine.o build/vamos/body/Exerter.o build/vamos/body/Frame.o build/vamos/body/Fuel_Tank.o build/vamos/body/Gauge.o build/vamos/body/Gl_Car.o build/vamos/body/Particle.o build/vamos/body/Rigid_Body.o build/vamos/body/Suspension.o build/vamos/body/Tire.o build/vamos/body/Transmission.o build/vamos/body/Wheel.o build/vamos/geometry/Gl_Texture_Image.o build/vamos/geometry/Inertia_Tensor.o build/vamos/geometry/Linear_Interpolator.o build/vamos/geometry/Material.o build/vamos/geometry/Sample.o build/vamos/geometry/Spline.o build/vamos/geometry/Texture_Image.o build/vamos/geometry/Three_Matrix.o build/vamos/geometry/Three_Vector.o build/vamos/geometry/Two_Point.o build/vamos/world/World.o build/gui/button.o build/gui/calibrate.o build/gui/controlgrab.o build/gui/designer.o build/gui/gui.o build/gui/image.o build/gui/label.o build/gui/multi_image.o build/gui/page.o build/gui/slider.o build/gui/spinning_car.o build/gui/textbox.o build/gui/toggle.o -Lbuild -Lsrc -Llib -L/usr/lib -L/usr/X11R6/lib -Lbullet-2.64/out/linuxx86/optimize/libs -Lbullet-2.64/out/linux/optimize/libs -lSDL -lpthread -lGL -lGLU -lSDL_image -lSDL_net -lSDL_gfx -lbulletcollision -lbulletmath -lvorbisfile
build/shader.o: In function `SHADER::UploadActiveShaderParameter1f(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float)':src/shader.cpp:237: undefined reference to `glUniform1f'
build/shader.o: In function `SHADER::UploadActiveShaderParameter1i(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)':src/shader.cpp:229: undefined reference to `glUniform1i'
build/shader.o: In function `SHADER::UploadMat16(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float*)':src/shader.cpp:221: undefined reference to `glUniformMatrix4fv'
build/shader.o: In function `SHADER::EndScene()':src/shader.cpp:135: undefined reference to `glUniform1f'
:src/shader.cpp:138: undefined reference to `glUniform1f'
:src/shader.cpp:141: undefined reference to `glUniform1f'
:src/shader.cpp:144: undefined reference to `glUniform1f'
:src/shader.cpp:147: undefined reference to `glUniform1f'
:src/shader.cpp:154: undefined reference to `glUniform3f'
:src/shader.cpp:168: undefined reference to `glUniform1f'
:src/shader.cpp:171: undefined reference to `glUniform1f'
:src/shader.cpp:174: undefined reference to `glUniform1f'
collect2: ld returned 1 exit status
scons: *** [build/vdrift] Error 1
scons: building terminated because of errors.
bash-3.1$
glxinfo
Quote:bash-3.1$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
GLX_SGIX_fbconfig
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_get_proc_address, GLX_SGI_video_sync, GLX_ARB_multisample,
GLX_ATI_pixel_format_float, GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_multisample
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON X800 Series
OpenGL version string: 2.0.6747 (8.40.4)
OpenGL extensions:
GL_ARB_multitexture, GL_EXT_texture_env_add, GL_EXT_compiled_vertex_array,
GL_S3_s3tc, GL_ARB_depth_texture, GL_ARB_fragment_program,
GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader,
GL_ARB_multisample, GL_ARB_occlusion_query, GL_ARB_point_parameters,
GL_ARB_point_sprite, GL_ARB_shader_objects, GL_ARB_shading_language_100,
GL_ARB_shadow, GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
GL_ARB_texture_compression, GL_ARB_texture_cube_map,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
GL_ARB_texture_float, GL_ARB_texture_mirrored_repeat,
GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, GL_ARB_vertex_blend,
GL_ARB_vertex_buffer_object, GL_ARB_pixel_buffer_object,
GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ARB_window_pos,
GL_ARB_draw_buffers, GL_ATI_draw_buffers, GL_ATI_element_array,
GL_ATI_envmap_bumpmap, GL_ATI_fragment_shader, GL_ATI_map_object_buffer,
GL_ATI_separate_stencil, GL_ATI_texture_compression_3dc,
GL_ATI_texture_env_combine3, GL_ATI_texture_float,
GL_ATI_texture_mirror_once, GL_ATI_vertex_array_object,
GL_ATI_vertex_attrib_array_object, GL_ATI_vertex_streams,
GL_ATIX_texture_env_combine3, GL_ATIX_texture_env_route,
GL_ATIX_vertex_shader_output_point_size, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_minmax,
GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_object,
GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters,
GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
GL_EXT_texgen_reflection, GL_EXT_texture3D,
GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map,
GL_EXT_texture_edge_clamp, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,
GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
GL_EXT_vertex_shader, GL_HP_occlusion_test, GL_NV_blend_square,
GL_NV_occlusion_query, GL_NV_texgen_reflection, GL_SGI_color_matrix,
GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x23 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x24 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x25 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
0x27 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x28 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x29 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x2a 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x2b 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x2c 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x2d 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
0x2e 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
0x2f 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 4 1 None
0x30 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 4 1 None
0x31 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 4 1 None
0x32 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 4 1 None
0x33 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x34 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x35 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
0x36 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
0x37 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x38 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x39 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x3a 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x3b 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x3c 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x3d 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
0x3e 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
0x3f 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 4 1 None
0x40 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 4 1 None
0x41 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 4 1 None
0x42 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 4 1 None
bash-3.1$
Suggestions?
I've read here on the forum something about enabling glew... but i'm not really familiar with c/c++ programming...
Can someone tell me step to step what to do?
Anyway good job guys... V-Drift rocks
|
|
01-21-2008, 06:21 PM,
|
|
thelusiv
Administrator
|
Posts: 2,346
Threads: 223
Joined: Jun 2005
|
|
Just change src/SConscript line 120 to this:
Code: libs_link = ['GL', 'GLU', 'GLEW', common_libs]
I checked this change into the SVN trunk.
|
|
01-22-2008, 07:56 AM,
|
|
MADBAD
Junior Member
|
Posts: 29
Threads: 4
Joined: Sep 2007
|
|
First try
Code: bash-3.1$ scons
scons: Reading SConscript files ...
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_net.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 libintl.h... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
scons: `build/vamos/body/Aerodynamic_Device.o' is up to date.
scons: `build/vamos/body/Brake.o' is up to date.
g++ -o build/vamos/body/Car.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/body/Car.cc
scons: `build/vamos/body/Clutch.o' is up to date.
scons: `build/vamos/body/Contact_Point.o' is up to date.
scons: `build/vamos/body/Differential.o' is up to date.
scons: `build/vamos/body/Drivetrain.o' is up to date.
scons: `build/vamos/body/Engine.o' is up to date.
scons: `build/vamos/body/Exerter.o' is up to date.
scons: `build/vamos/body/Frame.o' is up to date.
scons: `build/vamos/body/Fuel_Tank.o' is up to date.
scons: `build/vamos/body/Gauge.o' is up to date.
g++ -o build/vamos/body/Gl_Car.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/body/Gl_Car.cc
scons: `build/vamos/body/Particle.o' is up to date.
scons: `build/vamos/body/Rigid_Body.o' is up to date.
scons: `build/vamos/body/Suspension.o' is up to date.
scons: `build/vamos/body/Tire.o' is up to date.
scons: `build/vamos/body/Transmission.o' is up to date.
g++ -o build/vamos/body/Wheel.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/body/Wheel.cc
scons: `build/vamos/geometry/Gl_Texture_Image.o' is up to date.
scons: `build/vamos/geometry/Inertia_Tensor.o' is up to date.
scons: `build/vamos/geometry/Linear_Interpolator.o' is up to date.
scons: `build/vamos/geometry/Material.o' is up to date.
scons: `build/vamos/geometry/Sample.o' is up to date.
scons: `build/vamos/geometry/Spline.o' is up to date.
scons: `build/vamos/geometry/Texture_Image.o' is up to date.
scons: `build/vamos/geometry/Three_Matrix.o' is up to date.
scons: `build/vamos/geometry/Three_Vector.o' is up to date.
scons: `build/vamos/geometry/Two_Point.o' is up to date.
g++ -o build/vamos/world/World.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/vamos/world/World.cc
g++ -o build/gui/button.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/button.cpp
g++ -o build/gui/calibrate.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/calibrate.cpp
g++ -o build/gui/controlgrab.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/controlgrab.cpp
g++ -o build/gui/designer.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/designer.cpp
g++ -o build/gui/gui.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/gui.cpp
g++ -o build/gui/image.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/image.cpp
g++ -o build/gui/label.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/label.cpp
g++ -o build/gui/multi_image.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/multi_image.cpp
g++ -o build/gui/page.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/page.cpp
g++ -o build/gui/slider.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/slider.cpp
g++ -o build/gui/spinning_car.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/spinning_car.cpp
g++ -o build/gui/textbox.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/textbox.cpp
g++ -o build/gui/toggle.o -c -Wall -g3 -Iinclude -Ibullet-2.64/src src/gui/toggle.cpp
g++ -o build/main.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/main.cpp
g++ -o build/graphics.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/graphics.cpp
g++ -o build/game.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/game.cpp
include/unittest.h:58: warning: ‘class quicktest::Test’ has virtual functions but non-virtual destructor
g++ -o build/camera.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/camera.cpp
g++ -o build/controls.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/controls.cpp
g++ -o build/font.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/font.cpp
g++ -o build/forcefeedback.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/forcefeedback.cpp
g++ -o build/gamestate.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/gamestate.cpp
g++ -o build/keyman.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/keyman.cpp
g++ -o build/logo.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/logo.cpp
g++ -o build/messageq.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/messageq.cpp
g++ -o build/model.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/model.cpp
g++ -o build/mouse.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/mouse.cpp
g++ -o build/multiplay.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/multiplay.cpp
g++ -o build/net.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/net.cpp
g++ -o build/objects.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/objects.cpp
g++ -o build/replay.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/replay.cpp
g++ -o build/settings.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/settings.cpp
g++ -o build/sound.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/sound.cpp
g++ -o build/textures.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/textures.cpp
g++ -o build/timer.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/timer.cpp
g++ -o build/utility.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/utility.cpp
g++ -o build/vamosworld.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/vamosworld.cpp
g++ -o build/ai.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/ai.cpp
g++ -o build/bezier.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/bezier.cpp
include/unittest.h:58: warning: ‘class quicktest::Test’ has virtual functions but non-virtual destructor
src/bezier.cpp:1513: warning: ‘class bezier_testTest’ has virtual functions but non-virtual destructor
g++ -o build/joepack.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/joepack.cpp
g++ -o build/cardinfo.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/cardinfo.cpp
gcc -o build/binreloc.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/binreloc.c
g++ -o build/trackmap.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/trackmap.cpp
g++ -o build/autox_track.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/autox_track.cpp
g++ -o build/physics.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/physics.cpp
g++ -o build/shader.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/shader.cpp
g++ -o build/serialization.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/serialization.cpp
include/unittest.h:58: warning: ‘class quicktest::Test’ has virtual functions but non-virtual destructor
src/serialization.cpp:64: warning: ‘class serialization_test_xmlTest’ has virtual functions but non-virtual destructor
src/serialization.cpp:137: warning: ‘class serialization_test_xml_no_ptrsTest’ has virtual functions but non-virtual destructor
src/serialization.cpp:209: warning: ‘class serialization_test_binTest’ has virtual functions but non-virtual destructor
src/serialization.cpp:286: warning: ‘class serialization_test_bin_no_ptrsTest’ has virtual functions but non-virtual destructor
src/serialization.cpp:364: warning: ‘class serialization_test_treeTest’ has virtual functions but non-virtual destructor
src/serialization.cpp:443: warning: ‘class serialization_test_bin_compatibilityTest’ has virtual functions but non-virtual destructor
g++ -o build/track.o -c -Wall -g3 -D_REENTRANT -Iinclude -Ibullet-2.64/src -I/usr/include/SDL src/track.cpp
include/unittest.h:58: warning: ‘class quicktest::Test’ has virtual functions but non-virtual destructor
src/track.cpp:1239: warning: ‘class beziernode_testTest’ has virtual functions but non-virtual destructor
g++ -o build/vdrift build/main.o build/graphics.o build/game.o build/scenegraph.o build/camera.o build/controls.o build/font.o build/forcefeedback.o build/gamestate.o build/keyman.o build/logging.o build/logo.o build/messageq.o build/model.o build/mouse.o build/multiplay.o build/net.o build/objects.o build/particles.o build/3dmath.o build/replay.o build/settings.o build/sound.o build/textures.o build/timer.o build/utility.o build/vamosworld.o build/ai.o build/configfile.o build/bezier.o build/joepack.o build/cardinfo.o build/binreloc.o build/trackmap.o build/bipointer.o build/tester.o build/vertexarray.o build/autox_track.o build/physics.o build/shader.o build/serialization.o build/track.o build/vamos/body/Aerodynamic_Device.o build/vamos/body/Brake.o build/vamos/body/Car.o build/vamos/body/Clutch.o build/vamos/body/Contact_Point.o build/vamos/body/Differential.o build/vamos/body/Drivetrain.o build/vamos/body/Engine.o build/vamos/body/Exerter.o build/vamos/body/Frame.o build/vamos/body/Fuel_Tank.o build/vamos/body/Gauge.o build/vamos/body/Gl_Car.o build/vamos/body/Particle.o build/vamos/body/Rigid_Body.o build/vamos/body/Suspension.o build/vamos/body/Tire.o build/vamos/body/Transmission.o build/vamos/body/Wheel.o build/vamos/geometry/Gl_Texture_Image.o build/vamos/geometry/Inertia_Tensor.o build/vamos/geometry/Linear_Interpolator.o build/vamos/geometry/Material.o build/vamos/geometry/Sample.o build/vamos/geometry/Spline.o build/vamos/geometry/Texture_Image.o build/vamos/geometry/Three_Matrix.o build/vamos/geometry/Three_Vector.o build/vamos/geometry/Two_Point.o build/vamos/world/World.o build/gui/button.o build/gui/calibrate.o build/gui/controlgrab.o build/gui/designer.o build/gui/gui.o build/gui/image.o build/gui/label.o build/gui/multi_image.o build/gui/page.o build/gui/slider.o build/gui/spinning_car.o build/gui/textbox.o build/gui/toggle.o -Lbuild -Lsrc -Llib -L/usr/lib -L/usr/X11R6/lib -Lbullet-2.64/out/linuxx86/optimize/libs -Lbullet-2.64/out/linux/optimize/libs -lSDL -lpthread -lGL -lGLU -lGLEW -lSDL_image -lSDL_net -lSDL_gfx -lbulletcollision -lbulletmath -lvorbisfile
/usr/bin/ld: cannot find -lGLEW
collect2: ld returned 1 exit status
scons: *** [build/vdrift] Error 1
scons: building terminated because of errors.
I assume i was missing glew.. so i've got it from here http://glew.sourceforge.net/ (i was unable to find an rpm) and installed it
Code: bash-3.1$ make
cc -O2 -Wall -W -Iinclude -fPIC -o src/glew.pic_o -c src/glew.c
cc -shared -Wl,-soname=libGLEW.so.1.5 -o lib/libGLEW.so.1.5.0 src/glew.pic_o -L/usr/X11R6/lib -lXmu -lXi -lGLU -lGL -lXext -lX11
ln -sf libGLEW.so.1.5.0 lib/libGLEW.so.1.5
ln -sf libGLEW.so.1.5.0 lib/libGLEW.so
cc -O2 -Wall -W -Iinclude -o src/glew.o -c src/glew.c
ar cr lib/libGLEW.a src/glew.o
cc -O2 -Wall -W -Iinclude -o bin/glewinfo src/glewinfo.c -Llib -Wl,-Bdynamic -lGLEW -L/usr/X11R6/lib -lXmu -lXi -lGLU -lGL -lXext -lX11
cc -O2 -Wall -W -Iinclude -o bin/visualinfo src/visualinfo.c -Llib -Wl,-Bdynamic -lGLEW -L/usr/X11R6/lib -lXmu -lXi -lGLU -lGL -lXext -lX11
bash-3.1$ su root
Parola d'ordine:
su: password sbagliata
bash-3.1$ su root
Parola d'ordine:
[root@localhost glew]# make install
install -d -m 0755 /usr/bin
install -d -m 0755 /usr/include/GL
install -d -m 0755 /usr/lib
strip -x lib/libGLEW.so.1.5.0
install -m 0644 lib/libGLEW.so.1.5.0 /usr/lib/
ln -sf libGLEW.so.1.5.0 /usr/lib/libGLEW.so.1.5
install -m 0644 include/GL/wglew.h /usr/include/GL/
install -m 0644 include/GL/glew.h /usr/include/GL/
install -m 0644 include/GL/glxew.h /usr/include/GL/
strip -x lib/libGLEW.a
install -m 0644 lib/libGLEW.a /usr/lib/
ln -sf libGLEW.so.1.5.0 /usr/lib/libGLEW.so
install -s -m 0755 bin/glewinfo bin/visualinfo /usr/bin/
[root@localhost glew]#
Second try:
Code: bash-3.1$ scons
scons: Reading SConscript files ...
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_net.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 libintl.h... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
scons: `build/vamos/body/Aerodynamic_Device.o' is up to date.
scons: `build/vamos/body/Brake.o' is up to date.
scons: `build/vamos/body/Car.o' is up to date.
scons: `build/vamos/body/Clutch.o' is up to date.
scons: `build/vamos/body/Contact_Point.o' is up to date.
scons: `build/vamos/body/Differential.o' is up to date.
scons: `build/vamos/body/Drivetrain.o' is up to date.
scons: `build/vamos/body/Engine.o' is up to date.
scons: `build/vamos/body/Exerter.o' is up to date.
scons: `build/vamos/body/Frame.o' is up to date.
scons: `build/vamos/body/Fuel_Tank.o' is up to date.
scons: `build/vamos/body/Gauge.o' is up to date.
scons: `build/vamos/body/Gl_Car.o' is up to date.
scons: `build/vamos/body/Particle.o' is up to date.
scons: `build/vamos/body/Rigid_Body.o' is up to date.
scons: `build/vamos/body/Suspension.o' is up to date.
scons: `build/vamos/body/Tire.o' is up to date.
scons: `build/vamos/body/Transmission.o' is up to date.
scons: `build/vamos/body/Wheel.o' is up to date.
scons: `build/vamos/geometry/Gl_Texture_Image.o' is up to date.
scons: `build/vamos/geometry/Inertia_Tensor.o' is up to date.
scons: `build/vamos/geometry/Linear_Interpolator.o' is up to date.
scons: `build/vamos/geometry/Material.o' is up to date.
scons: `build/vamos/geometry/Sample.o' is up to date.
scons: `build/vamos/geometry/Spline.o' is up to date.
scons: `build/vamos/geometry/Texture_Image.o' is up to date.
scons: `build/vamos/geometry/Three_Matrix.o' is up to date.
scons: `build/vamos/geometry/Three_Vector.o' is up to date.
scons: `build/vamos/geometry/Two_Point.o' is up to date.
scons: `build/vamos/world/World.o' is up to date.
scons: `build/gui/button.o' is up to date.
scons: `build/gui/calibrate.o' is up to date.
scons: `build/gui/controlgrab.o' is up to date.
scons: `build/gui/designer.o' is up to date.
scons: `build/gui/gui.o' is up to date.
scons: `build/gui/image.o' is up to date.
scons: `build/gui/label.o' is up to date.
scons: `build/gui/multi_image.o' is up to date.
scons: `build/gui/page.o' is up to date.
scons: `build/gui/slider.o' is up to date.
scons: `build/gui/spinning_car.o' is up to date.
scons: `build/gui/textbox.o' is up to date.
scons: `build/gui/toggle.o' is up to date.
g++ -o build/vdrift build/main.o build/graphics.o build/game.o build/scenegraph.o build/camera.o build/controls.o build/font.o build/forcefeedback.o build/gamestate.o build/keyman.o build/logging.o build/logo.o build/messageq.o build/model.o build/mouse.o build/multiplay.o build/net.o build/objects.o build/particles.o build/3dmath.o build/replay.o build/settings.o build/sound.o build/textures.o build/timer.o build/utility.o build/vamosworld.o build/ai.o build/configfile.o build/bezier.o build/joepack.o build/cardinfo.o build/binreloc.o build/trackmap.o build/bipointer.o build/tester.o build/vertexarray.o build/autox_track.o build/physics.o build/shader.o build/serialization.o build/track.o build/vamos/body/Aerodynamic_Device.o build/vamos/body/Brake.o build/vamos/body/Car.o build/vamos/body/Clutch.o build/vamos/body/Contact_Point.o build/vamos/body/Differential.o build/vamos/body/Drivetrain.o build/vamos/body/Engine.o build/vamos/body/Exerter.o build/vamos/body/Frame.o build/vamos/body/Fuel_Tank.o build/vamos/body/Gauge.o build/vamos/body/Gl_Car.o build/vamos/body/Particle.o build/vamos/body/Rigid_Body.o build/vamos/body/Suspension.o build/vamos/body/Tire.o build/vamos/body/Transmission.o build/vamos/body/Wheel.o build/vamos/geometry/Gl_Texture_Image.o build/vamos/geometry/Inertia_Tensor.o build/vamos/geometry/Linear_Interpolator.o build/vamos/geometry/Material.o build/vamos/geometry/Sample.o build/vamos/geometry/Spline.o build/vamos/geometry/Texture_Image.o build/vamos/geometry/Three_Matrix.o build/vamos/geometry/Three_Vector.o build/vamos/geometry/Two_Point.o build/vamos/world/World.o build/gui/button.o build/gui/calibrate.o build/gui/controlgrab.o build/gui/designer.o build/gui/gui.o build/gui/image.o build/gui/label.o build/gui/multi_image.o build/gui/page.o build/gui/slider.o build/gui/spinning_car.o build/gui/textbox.o build/gui/toggle.o -Lbuild -Lsrc -Llib -L/usr/lib -L/usr/X11R6/lib -Lbullet-2.64/out/linuxx86/optimize/libs -Lbullet-2.64/out/linux/optimize/libs -lSDL -lpthread -lGL -lGLU -lGLEW -lSDL_image -lSDL_net -lSDL_gfx -lbulletcollision -lbulletmath -lvorbisfile
build/shader.o: In function `SHADER::UploadActiveShaderParameter1f(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float)':src/shader.cpp:237: undefined reference to `glUniform1f'
build/shader.o: In function `SHADER::UploadActiveShaderParameter1i(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)':src/shader.cpp:229: undefined reference to `glUniform1i'
build/shader.o: In function `SHADER::UploadMat16(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float*)':src/shader.cpp:221: undefined reference to `glUniformMatrix4fv'
build/shader.o: In function `SHADER::EndScene()':src/shader.cpp:135: undefined reference to `glUniform1f'
:src/shader.cpp:138: undefined reference to `glUniform1f'
:src/shader.cpp:141: undefined reference to `glUniform1f'
:src/shader.cpp:144: undefined reference to `glUniform1f'
:src/shader.cpp:147: undefined reference to `glUniform1f'
:src/shader.cpp:154: undefined reference to `glUniform3f'
:src/shader.cpp:168: undefined reference to `glUniform1f'
:src/shader.cpp:171: undefined reference to `glUniform1f'
:src/shader.cpp:174: undefined reference to `glUniform1f'
collect2: ld returned 1 exit status
scons: *** [build/vdrift] Error 1
scons: building terminated because of errors.
bash-3.1$
Seems it is still not working. :roll:
|
|
01-22-2008, 03:53 PM,
|
|
MADBAD
Junior Member
|
Posts: 29
Threads: 4
Joined: Sep 2007
|
|
As you assumed the ldconfig thing did not resolve the problem.
I'm gonna try to update the drivers to the really latest release (Jan. 18, 2008).
From the second link you posted i've understood (my english is not so good) that there is some probability that the game run disabling shaders... so i guess a binary release should make the work.
Thanks for the help!
|
|
01-23-2008, 07:51 AM,
|
|
MADBAD
Junior Member
|
Posts: 29
Threads: 4
Joined: Sep 2007
|
|
joevenzon Wrote:thelusiv Wrote:Just change src/SConscript line 120 to this:
Code: libs_link = ['GL', 'GLU', 'GLEW', common_libs]
I checked this change into the SVN trunk.
thelusiv: you forgot to change the #include <gl> and #include <glu> to #include <glew> in pch.h. Also, GLEW needs to be initialized in graphics.cpp... so GLEW wasn't actually getting used. I made the necessary changes and checked 'em into R1919. MADBAD, if you're compiling from SVN, try updating and recompiling. I think you shouldn't have any problems now.
I'm not trying to compile from svn but the latest linux source release: I have a dialup (56K) connection so it is quite impossible for me to download 1,2 gigabyte.
If you tell me what to change and where i can try to fix it directly into the source i've downloaded.
|
|
01-24-2008, 07:50 AM,
|
|
MADBAD
Junior Member
|
Posts: 29
Threads: 4
Joined: Sep 2007
|
|
The game compiled and @ a first look seems to work fine.
The only strange thing is that i get a segfault on exit :?
Quote:bash-3.1$ ./vdrift
BinReloc successfully initialized.
Executable path: /home/madbad/Desktop/vdrift/vdrift
Data dir: /home/madbad/Desktop/data
Localedir: /home/madbad/Desktop/share/locale
No data_dir found in VDrift.config, using /home/madbad/Desktop/data
/home/madbad/Desktop/data/settings/VDrift.config not found. Attempting to load data from /home/madbad/Desktop/vdrift/data
Found config file /home/madbad/.vdrift/controls.
Found config file /home/madbad/.vdrift/VDrift.config.
No data_dir found in VDrift.config, using /home/madbad/Desktop/vdrift/data
Version of game: development-full
Skin name not found in config file...
/home/madbad/Desktop/share/locale
Directory /home/madbad/Desktop/vdrift/data/skins/SConscript/menus does not exist! Skin SConscript not loaded.
Warning: option-47 is missing its default value. Assuming "".
Run with -verbose for troubleshooting.
Run with -nosound to disable sound.
Run with -benchmark to play a replay and output benchmark data.
0 joystick(s) found:
Card supports: drawbuf4 auxbuf0 antialiasing anisotropy16 cubemapping shaders multitexturing16(8) texture_rectangle depth_texture shadow framebuffer_objects
Card does not support:
Status: Using GLEW 1.5.0
Fragment shaders enabled
109
----- Start Shader Log for simple -----
Link successful. The GLSL vertex shader will run in hardware. The GLSL fragment shader will run in hardware.
----- End Shader Log for simple -----
Loaded shader package simple
109
----- Start Shader Log for full -----
Link successful. The GLSL vertex shader will run in hardware. The GLSL fragment shader will run in hardware.
----- End Shader Log for full -----
Loaded shader package full
109
----- Start Shader Log for full-noshadow -----
Link successful. The GLSL vertex shader will run in hardware. The GLSL fragment shader will run in hardware.
----- End Shader Log for full-noshadow -----
Loaded shader package full-noshadow
197
----- Start Shader Log for blurpass -----
Link successful. The GLSL vertex shader will run in software due to the GLSL fragment shader running in software. The GLSL fragment shader will run in software - unsupported language element used.
----- End Shader Log for blurpass -----
Loaded shader package blurpass
109
----- Start Shader Log for depthgen -----
Link successful. The GLSL vertex shader will run in hardware. The GLSL fragment shader will run in hardware.
----- End Shader Log for depthgen -----
Loaded shader package depthgen
Framebuffer object complete
Framebuffer object complete
Obtained audio device:
Frequency: 44100
Format: 32784
Bits per sample: 16
Channels: 2
Silence: 0
Samples: 512
Size: 2048
Segmentation fault
bash-3.1$
Anyway big steps have been done from the last pubblic release.
I love VDrift, really really really amazing!
|
|
01-25-2008, 03:20 PM,
|
|
MADBAD
Junior Member
|
Posts: 29
Threads: 4
Joined: Sep 2007
|
|
Quote:(gdb) quit
bash-3.1$ gdb ./vdrift
GNU gdb Red Hat Linux (6.3.0.0-1.134.fc5rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /home/madbad/Desktop/vdrift/vdrift
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0x53d000
[Thread debugging using libthread_db enabled]
[New Thread -1208625456 (LWP 4187)]
BinReloc successfully initialized.
Executable path: /home/madbad/Desktop/vdrift/vdrift
Data dir: /home/madbad/Desktop/data
Localedir: /home/madbad/Desktop/share/locale
No data_dir found in VDrift.config, using /home/madbad/Desktop/data
/home/madbad/Desktop/data/settings/VDrift.config not found. Attempting to load data from /home/madbad/Desktop/vdrift/data
Found config file /home/madbad/.vdrift/controls.
Found config file /home/madbad/.vdrift/VDrift.config.
No data_dir found in VDrift.config, using /home/madbad/Desktop/vdrift/data
Version of game: development-full
Skin name not found in config file...
/home/madbad/Desktop/share/locale
Directory /home/madbad/Desktop/vdrift/data/skins/SConscript/menus does not exist! Skin SConscript not loaded.
Warning: option-47 is missing its default value. Assuming "".
Run with -verbose for troubleshooting.
Run with -nosound to disable sound.
Run with -benchmark to play a replay and output benchmark data.
0 joystick(s) found:
Card supports: drawbuf4 auxbuf0 antialiasing anisotropy16 cubemapping shaders multitexturing16(8) texture_rectangle depth_texture shadow framebuffer_objects
Card does not support:
Status: Using GLEW 1.5.0
Fragment shaders enabled
109
----- Start Shader Log for simple -----
Link successful. The GLSL vertex shader will run in hardware. The GLSL fragment shader will run in hardware.
----- End Shader Log for simple -----
Loaded shader package simple
109
----- Start Shader Log for full -----
Link successful. The GLSL vertex shader will run in hardware. The GLSL fragment shader will run in hardware.
----- End Shader Log for full -----
Loaded shader package full
109
----- Start Shader Log for full-noshadow -----
Link successful. The GLSL vertex shader will run in hardware. The GLSL fragment shader will run in hardware.
----- End Shader Log for full-noshadow -----
Loaded shader package full-noshadow
197
----- Start Shader Log for blurpass -----
Link successful. The GLSL vertex shader will run in software due to the GLSL fragment shader running in software. The GLSL fragment shader will run in software - unsupported language element used.
----- End Shader Log for blurpass -----
Loaded shader package blurpass
109
----- Start Shader Log for depthgen -----
Link successful. The GLSL vertex shader will run in hardware. The GLSL fragment shader will run in hardware.
----- End Shader Log for depthgen -----
Loaded shader package depthgen
Framebuffer object complete
Framebuffer object complete
[New Thread 34962320 (LWP 4190)]
Obtained audio device:
Frequency: 44100
Format: 32784
Bits per sample: 16
Channels: 2
Silence: 0
Samples: 512
Size: 2048
Car T73 has no gloss map for its glass; using a default contant shiny/reflective texture
Car T73 has no gloss map; using a default contant shiny/reflective texture
Car T73 has no gloss map; using a default contant shiny/reflective texture
Car T73 has no gloss map; using a default contant shiny/reflective texture
Car T73 has no gloss map for its glass; using a default contant shiny/reflective texture
Car T73 has no gloss map; using a default contant shiny/reflective texture
[Thread 34962320 (zombie) exited]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208625456 (LWP 4187)]
0x00000000 in ?? ()
Quote:(gdb) backtrace
#0 0x00000000 in ?? ()
#1 0x08112015 in ~SHADER (this=0xa3862ac) at src/shader.cpp:204
#2 0x08054e75 in ~pair (this=0xa3862a8)
at /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/s tl_pair.h:69
#3 0x08054ec5 in __gnu_cxx::new_allocator<std::pair<std> >::destroy (this=0xbf896ff3, __p=0xa3862a8)
at /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/ext/ne w_allocator.h:107
#4 0x08054ef9 in std::_Rb_tree<std:tring, std::pair<std>, std::_Select1st<std::pair<std> >, std::less<std>, std::allocator<std::pair<std> > >::destroy_node (
this=0x8225990, __p=0xa386298)
at /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/s tl_tree.h:391
#5 0x08054f7e in std::_Rb_tree<std:tring, std::pair<std>, std::_Select1st<std::pair<std> >, std::less<std>, std::allocator<std::pair<std> > >::_M_erase (
this=0x8225990, __x=0xa386298)
at /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/s tl_tree.h:1266
#6 0x08054f5e in std::_Rb_tree<std:tring, std::pair<std>, std::_Select1st<std::pair<std> >, std::less<std:tring ---Type <return> to continue, or q <return> to quit---
>, std::allocator<std::pair<std> > >::_M_erase (
this=0x8225990, __x=0xa3886d8)
at /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_tree.h:1264
#7 0x08114a05 in std::_Rb_tree<std:tring, std::pair<std>, std::_Select1st<std::pair<std> >, std::less<std>, std::allocator<std::pair<std> > >::clear (
this=0x8225990)
at /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_tree.h:692
#8 0x08114a6b in std::map<std:tring, SHADER, std::less<std>, std::allocator<std::pair<std> > >::clear (this=0x8225990)
at /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_map.h:501
#9 0x081131b9 in SHADER_MANAGER:eInit (this=0x8225990) at src/shader.cpp:15
#10 0x08055012 in ~SHADER_MANAGER (this=0x8225990) at include/shader.h:41
#11 0x080553ec in ~GRAPHICS (this=0x822587c) at include/graphics.h:69
#12 0x0805659c in ~GAME (this=0x8223b00) at include/game.h:58
#13 0x08050b1c in __tcf_1 () at src/main.cpp:14
#14 0x0068ac59 in exit () from /lib/libc.so.6
#15 0x00675254 in __libc_start_main () from /lib/libc.so.6
#16 0x08050a01 in _start ()
(gdb)
I've never used gdb so i'm not sure that this is what you asked me.
|
|
|