How can I create an exe file from my C++ code that uses GLUT?

Started by
2 comments, last by Omelas0469 15 years, 4 months ago
I'm using VS 2005. I coded a pacman clone using C++ and GLUT. When I go to the debug folder created by VS 2005 the program crashes. When I compile and run my program from VS it runs perfectly... Is the reason the exe file won't work because of the links to GLUT dlls or something? Anyone know how I can create a working exe file of my program so that I can share it with other people who aren't familiar with compiling code?
Advertisement
Try putting the made program with the folder that contains your textures and sound under the same folder.
I love that adrenaline feeling when I pwn you.....
Also, don't forget to run the Release build instead of the Debug build.
Many thanks to you both.

This topic is closed to new replies.

Advertisement