Archived

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

Compiler Issues

This topic is 5982 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''m using VC++ 6 prof... Whenever I download sample code it compiles fine I can mess around with it fine ect... BUT when I try make a new project, empty blank... I trype the code exactly but always there is the linking error LNK2001.. Please help. P.S. anyone know a where I can get a tut on making a timer function in my OpenGL programmers A Thankful Newbie Squizz-Repaint the World

Share this post


Link to post
Share on other sites
Please post the entire linking error message, makes it a bit easier to see what the problem is.

Jason A.
---
I write code.
DelphiGL (http://delphigl.cfxweb.net)

Edited by - Jallen on August 1, 2001 12:25:27 PM

Share this post


Link to post
Share on other sites
The Error is something about external dependencies....
I get 15 error messages...
almost exactly the same
LNK2001 is the number but that didn't help me.

Thnkz Loadz

P.S. Sorry about incorrect post earlier in this space

Edited by - Squizz on August 1, 2001 12:32:46 PM

Share this post


Link to post
Share on other sites
Thnkz to Jallen prob is fixed all I need was these lines after my include

#pragma comment( lib, "opengl32.lib" )
#pragma comment( lib, "glu32.lib" )
#pragma comment (linker, "/ENTRY:WinMainCRTStartup")
#pragma comment (linker, "/SUBSYSTEM:WINDOWS")

Hope this helps people with the same problem =)

Edited by - Squizz on August 1, 2001 12:54:22 PM

Share this post


Link to post
Share on other sites