Archived

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

get the right libs

This topic is 5131 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 download the openGL libs from openGL.org, and GLUT from somewhere in the web. I compile a program under bloodshed(aka dev-c++) in a win98, but when I try tu run it on a W2k or WXP, say that cant find openGL.dll. So, I put "openGL.dll" and "GLUT32.dll" in the same zip. I know that openGL comes with WinNT, Win2000, WinXP and no extra installations required. What libs I must to use in order to distribute my programs without .dll''s? thanks.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
opengl32.lib, glu32.lib, glaux.lib

You can use them like this at the top of your code:

#pragma comment(lib,"opengl32.lib"
#pragma comment(lib,"glu32.lib"
#pragma comment(lib,"glaux.lib"

Share this post


Link to post
Share on other sites
ok, this is my problem, I build a program usin openGL and GLUT, in my machine works great, but in everybody else the program say''s "error couldn''t fint openGL.dll". I want to build a program like the tutotials in NEHE site, wich run in every machine. Please help me with this, I''m going crazy!, I''m using dev-c++(AKA bloodshed).

Share this post


Link to post
Share on other sites