Skip to main content
GameDev.net gamedev.net
🔒 Locked

lesson 4

Started by ashwini_rt Apr 28, 2010 at 8:48 AM 1 replies 2.9k views
Original Post
ashwini_rt
ashwini_rt
hii.. can any1 plz help me i cudn run that rotaion program that vc++ version which does use glut...LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main..this is the error i'm getting..what are all the external resources i need f or that rendering context..s der any1 to help me..
MrScience101
MrScience101
Unresolved external means that the function is not in any of your cpp files, or libraries that are included in the project.

You do not have a main function.

glut requires a main function.

You are probably compiling it as a windows 32 application.

Compile it as a console application.

Those are the ideas I have anyways.

Good luck.
ashwini_rt
ashwini_rt
hii.. thanku now i tried as win32 application i got the output....

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.