![]() |
|
Compiling error - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3) +--- Forum: Help (https://www.vdrift.net/Forum/forumdisplay.php?fid=5) +--- Thread: Compiling error (/showthread.php?tid=1145) Pages:
1
2
|
Ok... - drifter911 - 02-12-2010 I have the package and i have unpacked it to my desktop and installed SCons and everything else. What i need to know is what directory do i need to be in and how do i get there. After that what command do i run? And why won't SCons work? that wiki is CONFUSING yay - drifter911 - 02-12-2010 k i think i got it i used the cd command to get into the vdrift directory. Anyways thank you for your time oh man - drifter911 - 02-12-2010 oh man got error -@-PC:~$ cd Desktop -@-PC:~/Desktop$ cd vdrift-2009-06-15 -@-PC:~/Desktop/vdrift-2009-06-15$ scons scons: Reading SConscript files ... scons: warning: The Options class is deprecated; use the Variables class instead. File "/home/trevin2/Desktop/vdrift-2009-06-15/SConstruct", line 9, in <module> scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead. File "/home/trevin2/Desktop/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 include/httpget.h:8:26: error: boost/bind.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: ISO C++ forbids declaration of âasioâ with no type include/httpget.h:36: error: expected â,â or â...â before â::â token include/httpget.h:37: error: ISO C++ forbids declaration of âasioâ with no type include/httpget.h:37: error: expected â,â or â...â before â::â token include/httpget.h:38: error: ISO C++ forbids declaration of âasioâ with no type include/httpget.h:38: error: expected â,â or â...â before â::â token include/httpget.h:39: error: ISO C++ forbids declaration of âasioâ with no type include/httpget.h:39: error: expected â,â or â...â before â::â token include/httpget.h:40: error: ISO C++ forbids declaration of âasioâ with no type include/httpget.h:40: error: expected â,â or â...â before â::â token include/httpget.h:41: error: ISO C++ forbids declaration of âasioâ with no type include/httpget.h:41: error: expected â,â or â...â before â::â token include/httpget.h: In member function âstd: tring 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: tring&, const std: tring&, 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: ISO C++ forbids declaration of âasioâ with no type src/httpget.cpp:100: error: expected â,â or â...â before â::â token 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:109: error: âboostâ has not been declared 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: ISO C++ forbids declaration of âasioâ with no type src/httpget.cpp:119: error: expected â,â or â...â before â::â token 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:126: error: âboostâ has not been declared 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:135: error: âboostâ has not been declared 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: ISO C++ forbids declaration of âasioâ with no type src/httpget.cpp:145: error: expected â,â or â...â before â::â token 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:151: error: âboostâ has not been declared 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: ISO C++ forbids declaration of âasioâ with no type src/httpget.cpp:161: error: expected â,â or â...â before â::â token 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:189: error: âboostâ has not been declared 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: ISO C++ forbids declaration of âasioâ with no type src/httpget.cpp:199: error: expected â,â or â...â before â::â token 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:219: error: âboostâ has not been declared 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: ISO C++ forbids declaration of âasioâ with no type src/httpget.cpp:229: error: expected â,â or â...â before â::â token 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:239: error: âboostâ has not been declared 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: tring 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: tring&, const std: tring&)â: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:293: error: âboostâ has not been declared 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. -@-PC:~/Desktop/vdrift-2009-06-15$ once again my name replaced with dashes - ams76 - 02-13-2010 Quote: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 You need install the development packages for boost and asio. They should be available in your distro. On fedora they're just called boost-devel and asio-devel .. - drifter911 - 02-13-2010 how? - ams76 - 02-13-2010 see http://wiki.vdrift.net/Compiling the section on prerequisites has the commands. :D - drifter911 - 02-14-2010 Ok i got it installed and it is working but i have another problem. I am using a ViewSonic VA9036 and when i try opening Vdrift my monitor says "out of range" I turned the resolution down to 800x600 to speed the game up but then i restarted it gave me that message. Can you help? - joevenzon - 02-15-2010 If you delete your ~/.vdrift/VDrift.config file it will reset to default settings. - drifter911 - 02-15-2010 i moved my vdrift.conf file to trash and it still won't work. Btw the message comes from my screen and not from my pc - joevenzon - 02-15-2010 If you open your ~/.vdrift/VDrift.config file with a text editor, you can change the line "fullscreen = true" to "fullscreen = false" and that should make it start up in a window. |