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
errors.
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 to
ostream::operator<<(char const *)’
/home/jaren/blox/src/shape.cpp:6: undefined reference to `endl(ostream
&)’
/usr/local/cross-tools/i386-mingw32msvc/lib/libSDLmain.a(SDL_main.o.bSDL_main.o.
b): In function console_main': /home/jaren/downloads/SDL-1.2.0/src/main/SDL_main.c:172: undefined reference to
SDL_main’
thanks a ton!
Jaren Peterson