Jump to content
  • Advertisement

Archived

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

MaradakMalek

get the right libs

This topic is 5350 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
Advertisement
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
quote:
Original post by MaradakMalek
But I include already them when I link the code!( -lopenGL32 -lglu, etc), what libs are used in the tutorials of this site?


The AP just said it.

Look in the Dev-C++ doc''s on using the #pragma comment.

my poetry

my programs

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

  • 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!