I have been trying to get my program to cross compile for way too
many hours now. I finally got it to compile, but now it has a few linker
If anyone knows how to eliminate them please let me know.
SDL ver 1.2.0
I am on a i386 RH7.0 Linux machine
trying to cross compile to win32 with mingw32
Note: This program compiles fine natively for linux.
Here are the linker errors:==================================
/home/jaren/blox/src/shape.cpp:5: undefined reference to
cerr' /home/jaren/blox/src/shape.cpp:5: undefined reerence toostream::operator<<(char const *)’
/home/jaren/blox/src/shape.cpp:6: undefined reference to `endl(ostream
b): In function
console_main': /home/jaren/downloads/SDL-1.2.0/src/main/SDL_main.c:172: undefined reference toSDL_main’
thanks a ton!