Quoting Tatsh <ddrtist@gmail.com>:
Mingw32 on Linux is impossible...
I hate it when people tell me things are impossible. cmake can't be fixed without changing the FindSDL.cmake. I'd probably have to fix the finding of expat, physfs, and png since I use them as well. Rather than go down that rabbit hole, I started with my existing make file. Hardcoded SDL_FLAGS to -I/usr/i686-pc-mingw32/sys-root/mingw/include/SDL/ instead of running sdl-config. Needed to add mingw32 and SDLmain to the link line. Since compiling SDL_image with mingw32 cross compiler doesn't work with the configure script, I stripped the png loading code and put that directly in my source. Viola everything compiles, runs with wine and runs on my wife's windows box. The project is Bt Builder. It is an open source implementation of the Bard's Tale Construction Set (or at least the beginnings of one). http://identicalsoftware.com/btbuilder/ Dennis Payne dulsi@identicalsoftware.com