Link error unresolved symbol ___chkstk_ms

Using GLFW
2014-02-08
2014-02-08
  • I'm attempting to upgrade from GLFW 2.6 to 3.0.4. I am using MingW, I downloaded the windows 32 bit precompiled distro. I can compile but when I link I get the error below. HELP!

    gcc glfwExample.o -Lglfw/lib -lglfw3 -mwindows -lopengl32 -lglu32 -lm -o glfwExample.exe
    glfw/lib/libglfw3.a(init.c.obj):init.c:(.text+0x6): undefined reference to `__chkstk_ms'