undefined reference to initGraphics(), loadImage(), blitAlphaImageToScreen, and flipScreen()
Thats basically the error its throwing. I'm wondering is this because of my lack of correctly installing something? I have the make file correctly pointed to graphics.h and framebuffer.h but it doesn't seem to want to work.
If you're using c++, you need to wrap those graphics headers in an 'extern "C" { }', although I don't see you linking the c++ library so that may not be your problem. ;)
are you sure the path is correct?
../ means one directory up, remember that. (I guess you already know)
did you add graphics.h to your includes?
#include <graphics.h>
Pirate's right... that path is funky. Who puts a c file in the INCLUDES directory? You're telling the compiler to compile the files "graphics.c" and "framebuffer.c" from the directory "../includes". While the h files may be there, I rather doubt the c files are.
Hey guys thanks for all the replies (and the laugh from Wally4000)
And yes I am running tests in one folder while I am actually compiling the final program in another. So the path ../ is correct (I know it seems silly but it keeps things organized for me). The C++ files and the Header files are both located in there.
I decided the best route was to restart the cygwin installation, so i've removed everything and started over. I'll reply here if it fixes. If anyone else has any other suggestions that would be great. Thanks!