Compiling...
current.cpp
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/cs180prj.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
I know it is hard to answer linker error problems over the internet, but i searched the net and found several people having similar problems only I did not find any solutions that worked. Any ideas? I setup my opengl on my windows machine following these instructions:
http://www.cis.udel.edu/~haase/640/opengl/openglsetup01.html just as an example to teach myself how to do 3d text, I am trying to compile the code from this site:
http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=14I downloaded the 'DOWNLOAD Visual C++ Code For This Lesson. ' code and got it to work yesterday, but somehow something happened and it doesn't work now due to the above linker error. I even tried reinstalling my entire c++ and that did not help. Any advice either on how to fix this error with this code or annother tutorial that can teach me an easy way to do 3d text will be greatly appreciated. Thank you very much.
Start Free Trial