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 .
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.
http://gpsp-dev.blogspot.com/
I haven't quit gpSP, just put it on hiatus for a while.
Games like Super Mario Advance 3, Riviera and Sword of Mana actually DO work in gpSP, believe it or not. If they don't work for you then you're using the faulty BIOS. Don't argue with me, it's true; the sooner you accept this the sooner you can move on.
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
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks