Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 16 Jul 2004
Offline Last Active Aug 06 2011 11:34 AM

Posts I've Made

In Topic: Help with Platforming game?

09 June 2011 - 08:39 PM

I'd recommend this http://wiki.allegro.cc/index.php?title=Pixelate:Issue_13/jnrdev

In Topic: VBOs & glew undefined references

10 November 2010 - 08:44 PM

NetBeans via MinGW

In Topic: Source Code Control

21 October 2010 - 01:46 AM

GIT: http://git-scm.com/
Its distributed (so you don't have to worry about not having an internet connection to some server)

In Topic: How to statically link GLEW using MinGW?

01 October 2010 - 12:56 PM

The above works for NetBeans, using MinGW. Someone else with more experience on Code:Blocks will have to help you out.

In Topic: How to statically link GLEW using MinGW?

01 October 2010 - 02:33 AM

Something like this:

<span class="cpp-directive">#include</span> <stdlib.h>
<span class="cpp-directive">#define</span> GLEW_STATIC
<span class="cpp-directive">#include</span> <GL/glew.h>

<span class="cpp-keyword">int</span> main(<span class="cpp-keyword">int</span> argc, <span class="cpp-keyword">char</span>** argv) {
    <span class="cpp-keyword">if</span> (!glewIsSupported(<span class="cpp-literal">"GL_VERSION_2_0"</span>)) {
        fprintf(stderr, <span class="cpp-literal">"OpenGL 2.0 not available\n"</span>);
        <span class="cpp-keyword">return</span> <span class="cpp-number">1</span>;

    <span class="cpp-keyword">return</span> <span class="cpp-number">0</span>;

Link to glew32s.lib then libopengl32.a