Sign in to follow this  
ade-the-heat

glut32.dll etc running on windows

Recommended Posts

Well, my game is working fine. I took it to work to show my friends and of course it wouldn't startup ! It kept complaining it couldn't find the glut32.dll and then the open32.dll (for sound). I thought when you created an exe under VC++ that it linked all this stuff in anyhow. So my question (proably very simple) is this: How can I make the dlls are already in the exe - I can't expect a user to crawl through the web hunting down dlls and loading them into the precise corect place on windows ? cheers

Share this post


Link to post
Share on other sites
Just have your users download them at a DLL site. They are easy enough to find if you google for them. Put them either in the same folder as your .exe in or in the winsdow's system folder.

http://www.dll-files.com/dllindex/dll-files.shtml?opengl32
http://www.ezgoal.com/dll_files/glut32.zip

Share this post


Link to post
Share on other sites
Well.. what can I say? It doesn't work that way. DLLs are Dynamically Linked Libraries. That's why they are external. Your program gets what it requires from them at runtime. To statically link them would defeat the whole point.

Maybe you can distribute them with your game? Check the liscenses of th .dlls to see if they allow for it. I think maybe there is a static library version of glut somewhere. I don't know what Open32.dll is from. OpenAL?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this