Hi,
This happens with both the SVN version and downloading the 05/08/08 source. Bullet compiled fine:
Here's the output:
Code:
[david@localhost vdrift]$ 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 GL/glew.h... (cached) yes
This system is not configured for internationalized applications (no xgettext command). An english-only version will be built
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.66/src src/vamos/body/Car.cc
In file included from include/settings.h:6,
from include/vamos/body/Car.h:38,
from src/vamos/body/Car.cc:23:
/usr/include/c++/3.3.6/bits/stl_pair.h: In instantiation of `std::pair<const>':
/usr/include/c++/3.3.6/bits/stl_tree.h:123: instantiated from `std::_Rb_tree_node<std::pair<const> >'
/usr/include/c++/3.3.6/bits/stl_alloc.h:242: instantiated from `static void std::__simple_alloc<_Tp>::deallocate(_Tp*, unsigned int) [with _Tp = std::_Rb_tree_node<std::pair<const> >, _Alloc = std::__default_alloc_template<true>]'
/usr/include/c++/3.3.6/bits/stl_tree.h:567: instantiated from `void std::_Rb_tree_alloc_base<_Tp>::_M_put_node(std::_Rb_tree_node<_Val>*) [with _Tp = std::pair<const>, _Alloc = std::allocator<std::pair<const> >]'
/usr/include/c++/3.3.6/bits/stl_tree.h:580: instantiated from `std::_Rb_tree_base<_Tp>::~_Rb_tree_base() [with _Tp = std::pair<const>, _Alloc = std::allocator<std::pair<const> >]'
/usr/include/c++/3.3.6/bits/stl_tree.h:748: instantiated from `std::_Rb_tree<_Key>::~_Rb_tree() [with _Key = std::string, _Val = std::pair<const>, _KeyOfValue = std::_Select1st<std::pair<const> >, _Compare = std::less<std>, _Alloc = std::allocator<std::pair<const> >]'
include/logging.h:85: instantiated from here
/usr/include/c++/3.3.6/bits/stl_pair.h:74: error: `std::pair<_T1>::second' has incomplete type
include/logging.h:50: error: forward declaration of `struct VDrift::LOGGER'
scons: *** [build/vamos/body/Car.o] Error 1
scons: building terminated because of errors.
This is on PCLinuxOS2007. All the libraries were installed from the repo.
Any ideas?
Thanks,
David [/code]