09-23-2010, 10:27 AM
He estado mirando los posts en el foro e intentando hacer lo que dicen paso a paso pero cuando ejecuto el comando scons me da un error y quisiera ver la posibilidad de que me ayuden un poco con esto. El error en cuestion es el siguiente:
johannlp@kamy:~/vdrift-2009-02-15$ scons
scons: Reading SConscript files ...
scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/johannlp/vdrift-2009-02-15/SConstruct", line 9, in <module>
scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/home/johannlp/vdrift-2009-02-15/SConstruct", line 13, in <module>
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
sh: svnversion: not found
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/ai.o -c -Wall -Wextra -Wno-unused-parameter -O1 -pipe -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet-2.73/src -I/usr/include/SDL src/ai.cpp
In file included from include/track_object.h:6,
from include/track.h:17,
from src/ai.cpp:4:
include/collision_detection.h:13:37: error: btBulletCollisionCommon.h: No such file or directory
In file included from include/track_object.h:6,
from include/track.h:17,
from src/ai.cpp:4:
include/collision_detection.h:15: error: âbtCollisionWorldâ has not been declared
include/collision_detection.h:15: error: expected â{â before âRayResultCallbackâ
include/collision_detection.h:16: error: invalid type in declaration before â{â token
include/collision_detection.h:16: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
include/collision_detection.h:17: error: invalid use of incomplete type âstruct MultipleRayResultCallbackâ
include/collision_detection.h:15: error: forward declaration of âstruct MultipleRayResultCallbackâ
include/collision_detection.h:17: error: expected primary-expression before â(â token
include/collision_detection.h:17: error: expected primary-expression before âconstâ
include/collision_detection.h:17: error: expected primary-expression before âconstâ
include/collision_detection.h:17: error: expected â}â before â:â token
include/collision_detection.h:17: error: expected â,â or â;â before â:â token
In file included from include/track_object.h:6,
from include/track.h:17,
from src/ai.cpp:4:
include/collision_detection.h:18: error: âbtVector3â does not name a type
include/collision_detection.h:19: error: âbtVector3â does not name a type
include/collision_detection.h:21: error: âbtCollisionWorldâ was not declared in this scope
include/collision_detection.h:21: error: template argument 1 is invalid
include/collision_detection.h:21: error: template argument 2 is invalid
include/collision_detection.h:21: error: invalid type in declaration before â;â token
include/collision_detection.h:23: error: âbtScalarâ does not name a type
include/collision_detection.h:36: error: expected declaration before â}â token
scons: *** [build/ai.o] Error 1
scons: building terminated because of errors.
johannlp@kamy:~/vdrift-2009-02-15$
Agradezco de antemano en lo que me puedan orientar
johannlp@kamy:~/vdrift-2009-02-15$ scons
scons: Reading SConscript files ...
scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/johannlp/vdrift-2009-02-15/SConstruct", line 9, in <module>
scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/home/johannlp/vdrift-2009-02-15/SConstruct", line 13, in <module>
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
sh: svnversion: not found
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/ai.o -c -Wall -Wextra -Wno-unused-parameter -O1 -pipe -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet-2.73/src -I/usr/include/SDL src/ai.cpp
In file included from include/track_object.h:6,
from include/track.h:17,
from src/ai.cpp:4:
include/collision_detection.h:13:37: error: btBulletCollisionCommon.h: No such file or directory
In file included from include/track_object.h:6,
from include/track.h:17,
from src/ai.cpp:4:
include/collision_detection.h:15: error: âbtCollisionWorldâ has not been declared
include/collision_detection.h:15: error: expected â{â before âRayResultCallbackâ
include/collision_detection.h:16: error: invalid type in declaration before â{â token
include/collision_detection.h:16: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
include/collision_detection.h:17: error: invalid use of incomplete type âstruct MultipleRayResultCallbackâ
include/collision_detection.h:15: error: forward declaration of âstruct MultipleRayResultCallbackâ
include/collision_detection.h:17: error: expected primary-expression before â(â token
include/collision_detection.h:17: error: expected primary-expression before âconstâ
include/collision_detection.h:17: error: expected primary-expression before âconstâ
include/collision_detection.h:17: error: expected â}â before â:â token
include/collision_detection.h:17: error: expected â,â or â;â before â:â token
In file included from include/track_object.h:6,
from include/track.h:17,
from src/ai.cpp:4:
include/collision_detection.h:18: error: âbtVector3â does not name a type
include/collision_detection.h:19: error: âbtVector3â does not name a type
include/collision_detection.h:21: error: âbtCollisionWorldâ was not declared in this scope
include/collision_detection.h:21: error: template argument 1 is invalid
include/collision_detection.h:21: error: template argument 2 is invalid
include/collision_detection.h:21: error: invalid type in declaration before â;â token
include/collision_detection.h:23: error: âbtScalarâ does not name a type
include/collision_detection.h:36: error: expected declaration before â}â token
scons: *** [build/ai.o] Error 1
scons: building terminated because of errors.
johannlp@kamy:~/vdrift-2009-02-15$
Agradezco de antemano en lo que me puedan orientar