Advertisement

Visual Studio.net

Started by July 23, 2003 11:04 AM
37 comments, last by CoMpFreaK 21 years, 7 months ago
If you are using Visual Studio you can include the .libs right in your source code using

#pragma comment (lib,"library name here");

I usually find that easier.
Well it worked, only one thing i dont get, i have put glut32.lib
in the dependices, but i still get this:
c:\Nathan\Projects\opengl1\opengl1.cpp(3): fatal error C1083: Cannot open include file: ''gl/glut.h'': No such file or directory

Advertisement
Glut doesn''t come with VS.net, you''ll have to download it.
Well, did you put glut.h in one of your (%PATH%)/gl directories? Because that IS what it seems to be missing. Alternately, you could change the include to include "glut.h" and put the glut.h in your project directory.

Later,
ZE.

[twitter]warrenm[/twitter]

dont know what you mean by (%PATH%)
I figured it out i put the .h file in include, not include/gl.
but now i got this problem:
c:\Nathan\Projects\opengl2\opengl.cpp(35): error C3861: ''glutInitWindoPosition'': identifier not found, even with argument-dependent lookup
c:\Nathan\Projects\opengl2\opengl.cpp(10): error C2065: ''GL_COLOR_BUFFEER_BIT'' : undeclared identifier
Advertisement
lol, dude check your spelling.

you've missed the 'w' in window and put two E's in BUFFER

EDIT: Spelling, I missed the 'w' in two. Yes I see the irony.

Hyperdev

"To err is human, to really mess up requires a computer"


[edited by - Lukerd on July 23, 2003 8:13:51 PM]
"To err is human, to really mess up requires a computer"
Guys, I gotta go back to my spelling classes

i had one other rpoblem it couldnt find the glut32.dll or something when i ran it but i put it in my debug folder and it worked!!!! Thanks your the best!!!

sincerly CoMpFreak
Is there any advantage for a ogl programmer to update from vc++ 6 to vissual c++ .net?

Compiler optimization most likely improved to take advantage of all arch changes and additions since 6.0 was release as well, most likely, improved usage of underlying windows code to enhance and speed up the operations of your program. Hopefully that is.

This topic is closed to new replies.

Advertisement