Results 1 to 3 of 3

Thread: I NEED help with glut and MSVC++ 4.0

  1. #1
    Guest

    I NEED help with glut and MSVC++ 4.0

    I use MSVC++ 4.0 and always when I try to build a GLUT program I get this message:

    LIBC.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16

    I get this even when I try to build a sample from a tutorial or from C++ HELP so it's not the source code which causes the problem.PLS,help me!

  2. #2
    Senior Member Regular Contributor
    Join Date
    Feb 2000
    Posts
    154

    Re: I NEED help with glut and MSVC++ 4.0

    Try make a console application instead of a win32 application.

  3. #3
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,068

    Re: I NEED help with glut and MSVC++ 4.0

    Try this:
    Open a new project directory with nothing in it. Open the project as a windows application.
    Then add your source files. Note make sure the project has the same name as the program.

    I have MSVC++ 4.0, some of the example files all you need to do is make sure you have all the gl lib files listed in the link menu.

Similar Threads

  1. MSVC project setup for GLUT?
    By jdsimpson in forum OpenGL: Windows
    Replies: 4
    Last Post: 12-09-2009, 07:17 AM
  2. BC++ vs MSVC++
    By in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 02-13-2002, 07:22 AM
  3. MSVC debugger & OGL
    By outRider in forum OpenGL: Advanced Coding
    Replies: 8
    Last Post: 01-12-2002, 09:39 AM
  4. Compatibility : glut 3.7.6 under MSVC++ 5.0
    By thomas giusepe in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 12-19-2001, 12:20 AM
  5. MSVC++ MDI-Problems - I need HELP
    By Giotto in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 05-04-2001, 12:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean