Should be as simple as building it on those target platforms.
SDL rarely needs system specific code. If it does, it’s usually for endian-correction (so as long as you stay on x86 you’re good), and even then that isn’t necessary for your program.------------------------
EM3 Nathaniel Fries, U.S. Navy
http://natefries.net/
Eupator wrote:
Thanks for the response!
http://gpwiki.org/index.php/C:How_to_set_up_your_SDL_Build_Environment
has been very helpful with getting a mingw setup working with SDL and SDL_image on windows.
However, though the program does compile, it doesn’t run as it does on Linux. Instead of displaying the image, it displays a black screen (and prints no errors). I’m going to keep searching the documentation, but I’d still be interested in any hints.
I can’t see why. You sure test.png is in the proper folder?------------------------
EM3 Nathaniel Fries, U.S. Navy
http://natefries.net/
Perhaps something happens that loses your rendering context? I’m not an
expert on this subject, but I do know from experience and from this list
that when I use SDL + opengl in windows, and I do something that changes the
rendering context (any call to SDL_SetVideoMode, basically), then the
context is lost. The resulting problems include that loaded textures are no
longer accessible, and must be reloaded.
Do you make calls to SDL_SetVideoMode after loading images? If so, you may
have to reload images.
Thanks,
ChristianOn Sun, Aug 8, 2010 at 4:07 PM, Nathaniel J Fries wrote:
Eupator wrote:
Thanks for the response!
http://gpwiki.org/index.php/C:How_to_set_up_your_SDL_Build_Environment
has been very helpful with getting a mingw setup working with SDL and
SDL_image on windows.
However, though the program does compile, it doesn’t run as it does on
Linux. Instead of displaying the image, it displays a black screen (and
prints no errors). I’m going to keep searching the documentation, but I’d
still be interested in any hints.
I can’t see why. You sure test.png is in the proper folder?
EM3 Nathaniel Fries, U.S. Navy
http://natefries.net/
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org