Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


newbie... please help....

This topic is 5831 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I was trying to use Glut in visual studio .net I downloaded the glut, and copy the header files, dll and lib files into everywhere(system,system32, vc7/include, vc7/lib...) and my first line of code was #pragma comment(lib, "glut.lib") #include <gl\glut.h> and I get "tutorial1 error LNK2019: unresolved external symbol _WinMain@16 referenced in function _WinMainCRTStartup" error. It worked fine in visual studio 6.0, but not in .net. I can''t find the link tab in .net. Did anybody have any problem using glut in .net ? Please let me know.. Thank you. choesh

Share this post

Link to post
Share on other sites
I have the same problem with SDL
I assume you have your code in the function void Main();
You can fix it like this:
Just add this code, after your Main()

int STDCALL WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmd, int nShow)
return 0;

[edited by - Raduprv on November 1, 2002 4:33:43 PM]

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!