GLUT - Error :(

Started by
12 comments, last by Kheteris 20 years, 7 months ago
Ahhh, nevermind, I got it... I had to download the larger file >.<
Advertisement
Well, after installing the header files I''m getting this error...

--------------------Configuration: Begining - Win32 Release--------------------
Compiling...
Begining.cpp
Linking...
LIBC.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Release/Begining.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

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

Anyone understand what I''m doing wrong?
I think your project is set to a windows project as opposed to a console project. It''s looking for a function called WinMain but you supplying it with just main. You can change some parameters in the project settings to get to to build for console or you can just remake your project and select "console application" instead of "Windows application"
Yeah it worked! thanks

This topic is closed to new replies.

Advertisement