Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compiling in Linux
08-28-2008, 02:54 PM,
#1
Compiling in Linux
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]
Reply


Messages In This Thread
Compiling in Linux - by davidMC1982 - 08-28-2008, 02:54 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-28-2008, 08:40 PM
[No subject] - by davidMC1982 - 09-01-2008, 12:11 PM
[No subject] - by joevenzon_phpbb2_import3 - 09-01-2008, 01:53 PM
[No subject] - by davidMC1982 - 09-01-2008, 04:16 PM
[No subject] - by alex25 - 09-01-2008, 06:16 PM
[No subject] - by joevenzon_phpbb2_import3 - 09-01-2008, 09:09 PM
please help me,lib problems. - by dalish - 10-03-2008, 09:49 AM
[No subject] - by joevenzon_phpbb2_import3 - 10-03-2008, 10:12 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)