Forums

Full Version: Help: VDrift will not install on 9.04 Ubuntu
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
OS: Crunchbang (based on 9.04 Ubuntu)
Video Card: GeForce 8400 GS (512 MB)
Processor: 2.4 Ghz

I have tried everything to get this to install. Read everything...

Could use some help please ...

install log:

$ scons install
scons: Reading SConscript files ...

scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/david/vdrift-2009-06-15/SConstruct", line 9, in <module>

scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/home/david/vdrift-2009-06-15/SConstruct", line 13, in <module>
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
sh: svnversion: not found
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/aabb.o -c -Wall -Wextra -Wno-unused-parameter -pthread -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet -I/usr/include/SDL src/aabb.cpp
g++ -o build/aabb_space_partitioning.o -c -Wall -Wextra -Wno-unused-parameter -pthread -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet -I/usr/include/SDL src/aabb_space_partitioning.cpp
g++ -o build/ai.o -c -Wall -Wextra -Wno-unused-parameter -pthread -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet -I/usr/include/SDL src/ai.cpp
g++ -o build/bezier.o -c -Wall -Wextra -Wno-unused-parameter -pthread -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet -I/usr/include/SDL src/bezier.cpp
g++ -o build/camera.o -c -Wall -Wextra -Wno-unused-parameter -pthread -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet -I/usr/include/SDL src/camera.cpp
g++ -o build/car.o -c -Wall -Wextra -Wno-unused-parameter -pthread -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet -I/usr/include/SDL src/car.cpp
g++ -o build/carcontrolmap_local.o -c -Wall -Wextra -Wno-unused-parameter -pthread -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet -I/usr/include/SDL src/carcontrolmap_local.cpp
g++ -o build/collision_detection.o -c -Wall -Wextra -Wno-unused-parameter -pthread -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet -I/usr/include/SDL src/collision_detection.cpp
g++ -o build/configfile.o -c -Wall -Wextra -Wno-unused-parameter -pthread -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet -I/usr/include/SDL src/configfile.cpp
g++ -o build/containeralgorithm.o -c -Wall -Wextra -Wno-unused-parameter -pthread -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet -I/usr/include/SDL src/containeralgorithm.cpp
g++ -o build/coordinatesystems.o -c -Wall -Wextra -Wno-unused-parameter -pthread -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet -I/usr/include/SDL src/coordinatesystems.cpp
g++ -o build/endian_utility.o -c -Wall -Wextra -Wno-unused-parameter -pthread -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet -I/usr/include/SDL src/endian_utility.cpp
g++ -o build/eventsystem.o -c -Wall -Wextra -Wno-unused-parameter -pthread -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet -I/usr/include/SDL src/eventsystem.cpp
g++ -o build/fbtexture.o -c -Wall -Wextra -Wno-unused-parameter -pthread -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet -I/usr/include/SDL src/fbtexture.cpp
g++ -o build/font.o -c -Wall -Wextra -Wno-unused-parameter -pthread -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet -I/usr/include/SDL src/font.cpp
g++ -o build/forcefeedback.o -c -Wall -Wextra -Wno-unused-parameter -pthread -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet -I/usr/include/SDL src/forcefeedback.cpp
g++ -o build/game.o -c -Wall -Wextra -Wno-unused-parameter -pthread -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet -I/usr/include/SDL src/game.cpp
g++ -o build/graphics.o -c -Wall -Wextra -Wno-unused-parameter -pthread -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet -I/usr/include/SDL src/graphics.cpp
g++ -o build/gui.o -c -Wall -Wextra -Wno-unused-parameter -pthread -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet -I/usr/include/SDL src/gui.cpp
g++ -o build/guipage.o -c -Wall -Wextra -Wno-unused-parameter -pthread -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet -I/usr/include/SDL src/guipage.cpp
g++ -o build/httpget.o -c -Wall -Wextra -Wno-unused-parameter -pthread -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet -I/usr/include/SDL src/httpget.cpp
In file included from src/httpget.cpp:1:
include/httpget.h:7:20: error: asio.hpp: No such file or directory
In file included from src/httpget.cpp:1:
include/httpget.h:27: error: ‘asio’ has not been declared
include/httpget.h:27: error: ISO C++ forbids declaration of ‘io_service’ with no type
include/httpget.h:27: error: expected ‘;’ before ‘io_service_’
include/httpget.h:28: error: ‘asio’ has not been declared
include/httpget.h:28: error: ISO C++ forbids declaration of ‘resolver’ with no type
include/httpget.h:28: error: expected ‘;’ before ‘resolver_’
include/httpget.h:29: error: ‘asio’ has not been declared
include/httpget.h:29: error: ISO C++ forbids declaration of ‘socket’ with no type
include/httpget.h:29: error: expected ‘;’ before ‘socket_’
include/httpget.h:30: error: ‘asio’ has not been declared
include/httpget.h:30: error: ISO C++ forbids declaration of ‘streambuf’ with no type
include/httpget.h:30: error: expected ‘;’ before ‘request_’
include/httpget.h:31: error: ‘asio’ has not been declared
include/httpget.h:31: error: ISO C++ forbids declaration of ‘streambuf’ with no type
include/httpget.h:31: error: expected ‘;’ before ‘response_’
include/httpget.h:32: error: field ‘result_’ has incomplete type
include/httpget.h:34: error: field ‘error_output_’ has incomplete type
include/httpget.h:36: error: expected ‘,’ or ‘...’ before ‘::’ token
include/httpget.h:36: error: ISO C++ forbids declaration of ‘asio’ with no type
include/httpget.h:37: error: expected ‘,’ or ‘...’ before ‘::’ token
include/httpget.h:37: error: ISO C++ forbids declaration of ‘asio’ with no type
include/httpget.h:38: error: expected ‘,’ or ‘...’ before ‘::’ token
include/httpget.h:38: error: ISO C++ forbids declaration of ‘asio’ with no type
include/httpget.h:39: error: expected ‘,’ or ‘...’ before ‘::’ token
include/httpget.h:39: error: ISO C++ forbids declaration of ‘asio’ with no type
include/httpget.h:40: error: expected ‘,’ or ‘...’ before ‘::’ token
include/httpget.h:40: error: ISO C++ forbids declaration of ‘asio’ with no type
include/httpget.h:41: error: expected ‘,’ or ‘...’ before ‘::’ token
include/httpget.h:41: error: ISO C++ forbids declaration of ‘asio’ with no type
include/httpget.h: In member function ‘std:Confusedtring httpget::Getter::GetError() const’:
include/httpget.h:48: error: ‘error_output_’ was not declared in this scope
src/httpget.cpp: At global scope:
src/httpget.cpp:7: error: ‘asio’ has not been declared
src/httpget.cpp: In function ‘bool httpget::Get(const std:Confusedtring&, const std:Confusedtring&, std::ostream&, std::ostream&)’:
src/httpget.cpp:14: error: ‘asio’ has not been declared
src/httpget.cpp:14: error: expected `;' before ‘io_service’
src/httpget.cpp:17: error: ‘tcp’ has not been declared
src/httpget.cpp:17: error: expected `;' before ‘resolver’
src/httpget.cpp:18: error: ‘tcp’ has not been declared
src/httpget.cpp:18: error: expected `;' before ‘query’
src/httpget.cpp:19: error: ‘tcp’ has not been declared
src/httpget.cpp:19: error: expected `;' before ‘endpoint_iterator’
src/httpget.cpp:20: error: ‘tcp’ has not been declared
src/httpget.cpp:20: error: expected `;' before ‘end’
src/httpget.cpp:23: error: ‘tcp’ has not been declared
src/httpget.cpp:23: error: expected `;' before ‘socket’
src/httpget.cpp:24: error: ‘asio’ has not been declared
src/httpget.cpp:24: error: expected `;' before ‘error’
src/httpget.cpp:25: error: ‘error’ was not declared in this scope
src/httpget.cpp:25: error: ‘endpoint_iterator’ was not declared in this scope
src/httpget.cpp:25: error: ‘end’ was not declared in this scope
src/httpget.cpp:27: error: ‘socket’ was not declared in this scope
src/httpget.cpp:30: error: ‘error’ was not declared in this scope
src/httpget.cpp:39: error: ‘asio’ has not been declared
src/httpget.cpp:39: error: expected `;' before ‘request’
src/httpget.cpp:40: error: ‘request’ was not declared in this scope
src/httpget.cpp:47: error: ‘asio’ has not been declared
src/httpget.cpp:47: error: ‘socket’ was not declared in this scope
src/httpget.cpp:50: error: ‘asio’ has not been declared
src/httpget.cpp:50: error: expected `;' before ‘response’
src/httpget.cpp:51: error: ‘asio’ has not been declared
src/httpget.cpp:51: error: ‘response’ was not declared in this scope
src/httpget.cpp:73: error: ‘asio’ has not been declared
src/httpget.cpp:88: error: ‘asio’ has not been declared
src/httpget.cpp:89: error: ‘asio’ has not been declared
src/httpget.cpp:89: error: ‘error’ was not declared in this scope
src/httpget.cpp:91: error: ‘error’ was not declared in this scope
src/httpget.cpp:91: error: ‘asio’ has not been declared
src/httpget.cpp: At global scope:
src/httpget.cpp:100: error: expected ‘,’ or ‘...’ before ‘::’ token
src/httpget.cpp:101: error: ISO C++ forbids declaration of ‘asio’ with no type
src/httpget.cpp: In member function ‘void httpget::Getter::handle_resolve(int)’:
src/httpget.cpp:103: error: ‘err’ was not declared in this scope
src/httpget.cpp:107: error: ‘tcp’ has not been declared
src/httpget.cpp:107: error: expected `;' before ‘endpoint’
src/httpget.cpp:108: error: ‘socket_’ was not declared in this scope
src/httpget.cpp:108: error: ‘endpoint’ was not declared in this scope
src/httpget.cpp:110: error: ‘asio’ is not a class or namespace
src/httpget.cpp:110: error: ‘endpoint_iterator’ was not declared in this scope
src/httpget.cpp:114: error: ‘error_output_’ was not declared in this scope
src/httpget.cpp: At global scope:
src/httpget.cpp:119: error: expected ‘,’ or ‘...’ before ‘::’ token
src/httpget.cpp:120: error: ISO C++ forbids declaration of ‘asio’ with no type
src/httpget.cpp: In member function ‘void httpget::Getter::handle_connect(int)’:
src/httpget.cpp:122: error: ‘err’ was not declared in this scope
src/httpget.cpp:125: error: ‘asio’ is not a class or namespace
src/httpget.cpp:125: error: ‘socket_’ was not declared in this scope
src/httpget.cpp:125: error: ‘request_’ was not declared in this scope
src/httpget.cpp:127: error: ‘asio’ is not a class or namespace
src/httpget.cpp:129: error: ‘endpoint_iterator’ was not declared in this scope
src/httpget.cpp:129: error: ‘tcp’ has not been declared
src/httpget.cpp:132: error: ‘socket_’ was not declared in this scope
src/httpget.cpp:133: error: ‘tcp’ has not been declared
src/httpget.cpp:133: error: expected `;' before ‘endpoint’
src/httpget.cpp:134: error: ‘endpoint’ was not declared in this scope
src/httpget.cpp:136: error: ‘asio’ is not a class or namespace
src/httpget.cpp:140: error: ‘error_output_’ was not declared in this scope
src/httpget.cpp: At global scope:
src/httpget.cpp:145: error: expected ‘,’ or ‘...’ before ‘::’ token
src/httpget.cpp:145: error: ISO C++ forbids declaration of ‘asio’ with no type
src/httpget.cpp: In member function ‘void httpget::Getter::handle_write_request(int)’:
src/httpget.cpp:147: error: ‘err’ was not declared in this scope
src/httpget.cpp:150: error: ‘asio’ is not a class or namespace
src/httpget.cpp:150: error: ‘socket_’ was not declared in this scope
src/httpget.cpp:150: error: ‘response_’ was not declared in this scope
src/httpget.cpp:152: error: ‘asio’ is not a class or namespace
src/httpget.cpp:156: error: ‘error_output_’ was not declared in this scope
src/httpget.cpp: At global scope:
src/httpget.cpp:161: error: expected ‘,’ or ‘...’ before ‘::’ token
src/httpget.cpp:161: error: ISO C++ forbids declaration of ‘asio’ with no type
src/httpget.cpp: In member function ‘void httpget::Getter::handle_read_status_line(int)’:
src/httpget.cpp:163: error: ‘err’ was not declared in this scope
src/httpget.cpp:166: error: ‘response_’ was not declared in this scope
src/httpget.cpp:175: error: ‘error_output_’ was not declared in this scope
src/httpget.cpp:181: error: ‘error_output_’ was not declared in this scope
src/httpget.cpp:188: error: ‘asio’ is not a class or namespace
src/httpget.cpp:188: error: ‘socket_’ was not declared in this scope
src/httpget.cpp:190: error: ‘asio’ is not a class or namespace
src/httpget.cpp:194: error: ‘error_output_’ was not declared in this scope
src/httpget.cpp: At global scope:
src/httpget.cpp:199: error: expected ‘,’ or ‘...’ before ‘::’ token
src/httpget.cpp:199: error: ISO C++ forbids declaration of ‘asio’ with no type
src/httpget.cpp: In member function ‘void httpget::Getter::handle_read_headers(int)’:
src/httpget.cpp:201: error: ‘err’ was not declared in this scope
src/httpget.cpp:204: error: ‘response_’ was not declared in this scope
src/httpget.cpp:214: error: ‘result_’ was not declared in this scope
src/httpget.cpp:217: error: ‘asio’ is not a class or namespace
src/httpget.cpp:217: error: ‘socket_’ was not declared in this scope
src/httpget.cpp:218: error: ‘asio’ is not a class or namespace
src/httpget.cpp:220: error: ‘asio’ is not a class or namespace
src/httpget.cpp:224: error: ‘error_output_’ was not declared in this scope
src/httpget.cpp: At global scope:
src/httpget.cpp:229: error: expected ‘,’ or ‘...’ before ‘::’ token
src/httpget.cpp:229: error: ISO C++ forbids declaration of ‘asio’ with no type
src/httpget.cpp: In member function ‘void httpget::Getter::handle_read_content(int)’:
src/httpget.cpp:231: error: ‘err’ was not declared in this scope
src/httpget.cpp:234: error: ‘result_’ was not declared in this scope
src/httpget.cpp:234: error: ‘response_’ was not declared in this scope
src/httpget.cpp:237: error: ‘asio’ is not a class or namespace
src/httpget.cpp:237: error: ‘socket_’ was not declared in this scope
src/httpget.cpp:238: error: ‘asio’ is not a class or namespace
src/httpget.cpp:240: error: ‘asio’ is not a class or namespace
src/httpget.cpp:242: error: ‘asio’ is not a class or namespace
src/httpget.cpp:244: error: ‘error_output_’ was not declared in this scope
src/httpget.cpp: In member function ‘void httpget::Getter::Error()’:
src/httpget.cpp:254: error: ‘io_service_’ was not declared in this scope
src/httpget.cpp: In member function ‘std:Confusedtring httpget::Getter::GetResult() const’:
src/httpget.cpp:264: error: ‘result_’ was not declared in this scope
src/httpget.cpp: In member function ‘httpget::Getter::STATUS httpget::Getter::GetStatus()’:
src/httpget.cpp:271: error: ‘io_service_’ was not declared in this scope
src/httpget.cpp: In constructor ‘httpget::Getter::Getter(const std:Confusedtring&, const std:Confusedtring&)’:
src/httpget.cpp:278: error: class ‘httpget::Getter’ does not have any field named ‘resolver_’
src/httpget.cpp:278: error: ‘io_service_’ was not declared in this scope
src/httpget.cpp:278: error: class ‘httpget::Getter’ does not have any field named ‘socket_’
src/httpget.cpp:283: error: ‘request_’ was not declared in this scope
src/httpget.cpp:291: error: ‘tcp’ has not been declared
src/httpget.cpp:291: error: expected `;' before ‘query’
src/httpget.cpp:292: error: ‘resolver_’ was not declared in this scope
src/httpget.cpp:292: error: ‘query’ was not declared in this scope
src/httpget.cpp:294: error: ‘asio’ has not been declared
src/httpget.cpp:295: error: ‘asio’ has not been declared
scons: *** [build/httpget.o] Error 1
scons: building terminated because of errors.
Hi ghost0100,
looks like you are missing the: ASIO C++ Library (header-file-only)
Have a look at the prerequisites list here: http://wiki.vdrift.net/Compiling
Code:
sudo apt-get libasio-dev libboost-dev
NaN Wrote:Hi ghost0100,
looks like you are missing the: ASIO C++ Library (header-file-only)
Have a look at the prerequisites list here: http://wiki.vdrift.net/Compiling
Code:
sudo apt-get libasio-dev libboost-dev

Thanks, NAN!!!

I appreciated the quick reply. Funny, I did not see those two development libraries. It WORKED!!!!


Enjoy your weekend and thnx again.