GCC Compiler Question?
Hi, I downloaded a C++ code from the NET, and I would like to know which compiler I need to use, to compile the Code, I tried with GCC and doesnt works me. Thanks A lot.
LINK TO DOWNLOAD THE CODE: http://easynews.dl.sourceforge.net/s...oy/sopa_pt.zip |
You should ask the author of the code. If there isn't enough documentation to get you started, then he/she should be made aware of that: pedro__santos@iol.pt
|
Thanks for your reply, I sent to the author of the code the last week an email, he said me that all code was tested in the VC++. But I tried to compile in VC++ and appears me:
Compiling... main.cpp c:\documents and settings\root\my documents\c code\sopa\main.cpp(22) : fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory Error executing cl.exe. main.obj - 1 error(s), 0 warning(s) What could be the Problem, and is there a way to compile in Linux with GCC? Thanks |
You dont have the SDL headers or libs installed. The code is looking for the SDL.h header, which is not on your system. This code is c++, which needs to be compiled using g++ on linux.
|
All times are GMT -5. The time now is 05:58 PM. |