Skip to main content
gamedev.net
🔒 Locked

visual c++ question

Started by hello_there 1 reply 150+ views
Original Post
hello_there
hello_there
i just want to know something about visual c++ 6. How do you build a final? in the build menu there is a one called set active configuration. in that you can select debug or release. when i select debug it compiles but when i do release i get lots of linking errors. i think there all open gl ones. how do you make it work and what does it do?
____________How could hell be worse?
MadKeithV
MadKeithV
Make sure your project settings for debug and release are the same (things such as linked libraries and the like).

Go to project->settings, and in the top-left corner you will see "settings for:" (debug/release/all).

Just check to see if there are any debug settings that you forgot to replicate to release.
It's only funny 'till someone gets hurt.And then it's just hilarious.Unless it's you.
Rickmeister
Rickmeister
Try these lines in your source-code if you don''t want to mess abround with the project settings:

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


think that should do it...

god speed

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.