Cross-compiling SDL/GL with Code::Blocks & MingW32

Hey everyone, not sure if I’ll have time for tomorrow’s compo, but I thought I’d at least up this default project. Here’s what I was trying to make:

Windows executable

OpenGL drawing code

SDL window handling code

Code::Blocks project with SDL library installed

I wanted to do this in Ubuntu, and I wanted the cbp to be openable in Windows as well. So here’s what I came up with, just unzip it somewhere, rename a few things, and you’re set to cross-compile and release your game to the masses! Oh yeah, you’ll need Wine to run the exe if you’re doing this in Ubuntu.

Download default SDL/GL project here – Download

Tags: cbp, code::blocks, default

Comments

08. Aug 2008 · 00:50 UTC
That’s awesome! Thanks for posting it!
COM
20. Jun 2009 · 22:04 UTC
Many thanks.