It *finally* works in Windows!

Posted by (twitter: @supermaximo93)
August 24th, 2011 4:23 pm

Well, I finally got my entry, Fred the Astro-Miner, compiled for Windows! It was such a pain! I tried Visual Studio, but after spending hours modifying my (valid) C++ code so it was happy and finally compiled .o files, it refused to link. Hours later, it linked. And it didn’t work. I threw more hours of work into it and then I got a window to appear! Yay! But it always segfaulted at startup, no matter what I did -_-

Then I thought,”Why don’t I use Eclipse and G++, like I do in Linux?”. So many more hours later, after compiling GLEW from source and remembering to use Mingw libs instead of VS ones (!!!) I got it to work! Then much jumping around my room screaming with excitement ensued (I’m not joking. I was that happy). I didn’t need to modify my code at all by the way, except for replacing gl.h includes with glew.h. I’m pretty happy with that!

So you can check out my entry here, now in Windows!

3 Responses to “It *finally* works in Windows!”

  1. ExciteMike says:

    Congrats on getting it working, but… I’m just getting a black screen :( It spat out the following:

    It looks like my computer is too suck to compile your shaders?

Leave a Reply

You must be logged in to post a comment.

[cache: storing page]