Advertisement

Compiler Issues

Started by August 01, 2001 10:57 AM
3 comments, last by Squizz 23 years, 6 months ago
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
Squizz-Repaint the World
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
---I write code.DelphiGL (http://delphigl.cfxweb.net)
Advertisement
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
Squizz-Repaint the World
Are you linking opengl32.lib and glu32.lib to your project?

[Resist Windows XP''s Invasive Production Activation Technology!]
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
Squizz-Repaint the World

This topic is closed to new replies.

Advertisement