Advertisement

error messge while compiling opengl tut #01

Started by August 13, 2002 11:12 AM
0 comments, last by Iteration 22 years, 6 months ago
Hi, I''ve got the following errors while compiling Tut #1. Build Log --------------------Configuration: OpenGL - Win32 Debug-------------------- Command Lines Creating temporary file "C:\Temp\RSP2A.tmp" with contents [ OpenGL32.lib GLu32.lib GLaux.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:yes /pdb:"Debug/OpenGL.pdb" /debug /machine:I386 /out:"Debug/OpenGL.exe" /pdbtype:sept ".\Debug\OpenGL.obj" ".\Debug\StdAfx.obj" ] Creating command line "link.exe @C:\Temp\RSP2A.tmp" Output Window Linking... LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/OpenGL.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. Results OpenGL.exe - 2 error(s), 0 warning(s) If someone knows a solution, write me please. Thanks, iter
Win32 Console app uses a main function

Win32 app uses a WinMain function

you have created a Console app and used a win main function, change to a win32 application

This topic is closed to new replies.

Advertisement