Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: installing glut

Hybrid View

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2002
    Posts
    5

    installing glut

    I'm useng visual studio.net and am tring to write an open gl program using glut. I have glut.h in my include file, glut.lib in the library file and glut.dll in system32 file. The C code compiles fine, but when I try to run the program I get unresulved external errors :Open GL Window error LNK2019: unresolved external symbol _WinMain@16 referenced in function _WinMainCRTStartup
    ,and :Open GL Window fatal error LNK1120: 1 unresolved externals. Any ideas how to fix this?

  2. #2

    Re: installing glut

    i use visual c++ 6.0 and i dont know the differences between it and visual studio.net but... it sounds like you are using a win32 app and not a win32 console app. when creating your project, make it a win32 condsole app. im assuming you are calling the glut window creating functions from the main function? that requires dos thus a win32 console. or at least thats how i learned.

  3. #3
    Junior Member Newbie
    Join Date
    Sep 2002
    Posts
    5

    Re: installing glut

    That did it, thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •