Results 1 to 2 of 2

Thread: newbie question regarding error

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2001
    Location
    Islamabad,capital,Pakistan.
    Posts
    14

    newbie question regarding error

    I have just started following a book. I have downloaded the glut3.7.6-bin and added the files to the required dirs. I have made a win32 app project and typed the code and included the required files. it compiles the file correctly but at build time it gives two errors saying:
    Linking...
    LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
    Debug/firstgll.exe : fatal error LNK1120: 1 unresolved externals
    Error executing link.exe.

    firstgll.exe - 2 error(s), 0 warning(s)

    what is the reason for these errors.
    Only Human

  2. #2
    Junior Member Newbie
    Join Date
    Jul 2001
    Location
    Islamabad,capital,Pakistan.
    Posts
    14

    Re: newbie question regarding error

    I solved it myself. I compiled it as a console app and it worked.
    Only Human

Similar Threads

  1. newbie question:
    By newsb in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 12-01-2011, 07:20 PM
  2. Newbie question
    By Cbswe in forum OpenGL: GLSL
    Replies: 1
    Last Post: 01-23-2011, 06:55 AM
  3. Newbie Compiler Error Problem
    By PhilMag in forum OpenGL: Basic Coding
    Replies: 9
    Last Post: 09-04-2002, 06:52 AM
  4. some newbie question
    By satan in forum OpenGL: Linux
    Replies: 5
    Last Post: 02-14-2002, 05:59 AM
  5. newbie error (gluCylinder)
    By balaji in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 02-23-2000, 08:43 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