I was following this tutorial
http://www.psp-programming.com/tutorials/c/lesson04.htm
i finished it and the previous tutorials, but when i try to compile it i get this list error of errors, any help would be greatly apprecitiated.
Printable View
I was following this tutorial
http://www.psp-programming.com/tutorials/c/lesson04.htm
i finished it and the previous tutorials, but when i try to compile it i get this list error of errors, any help would be greatly apprecitiated.
The compiler doesnt found graphics.h. So it can´t compile your source code because you use some data structures from graphics library. Check your include paths .
Yes I know, but in the tutorial it said to type
#include "graphics.h" in quotations, indicationg that it is in the project folder not include.Thats what the tutotial said, and if you are right what do i have to do?
If you have graphics.h in the include directory of GCC change the command to "#include <graphics.h>" (whitout " ). If you dont... well... your GCC instalation doesn´t had the graphics library of PSP... even if you copy graphics.h to your include directory you will have linker errors.
Where is the GCC directory, and if i don't have what must i do next?(I am using PSPDev if you needed to know that)
Thank You for helping me this far.
Saracchini; If you're going to try to help him you should at least look at what he's doing and not just give arbitrary advice :/ Something like "graphics.h" would never be part of the standard GCC headers.
thehumanidiot; You missed the part on page 2 (near the top) where it told you to download and extract the supporting files.
Ok thank you very much for pointing that out, BUT now i get this error.
anyone??? plz help
Looks like you only copied the graphics.h, not the graphics.c (or graphics.cpp). Did you extract ALL the support files?
yes i extracted them all, but i don't know if i put them in the right place.I am using pspdev, but in the tutorial they are using cygwin, i put the files in C:\pspdev\psp\include