Jump to content

  • Log In with Google      Sign In   
  • Create Account

release code


Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
4 replies to this topic

#1   Members   -  Reputation: 166

Like
0Likes
Like

Posted 16 September 2013 - 09:34 PM

I am using vs2010 express, I want to post my game. how do I compile the release version of my code?



#2   Members   -  Reputation: 1020

Like
5Likes
Like

Posted 16 September 2013 - 11:56 PM

*
POPULAR

Also, don't forget to make sure that the release mode configuration properties of your project are set correctly (e.g., include all of the necessary libraries you also used for debug mode).



#3   Members   -  Reputation: 351

Like
0Likes
Like

Posted 17 September 2013 - 12:35 PM

Why I can't just go with debug result? I get .exe file and program works...



#4   Crossbones+   -  Reputation: 8229

Like
3Likes
Like

Posted 17 September 2013 - 12:49 PM

It works on your system. A debug build (usually) binds to debug libraries which not only will be slower due to run-time checks but rarely be available on a user system (Edit: for late binding). Have a look at what DLLs your exe loads with e.g. Process Explorer. Debug DLLs usually end with a 'd'. (Sure you could provide an installer, but that's not something you wanna do normally).


Edited by unbird, 17 September 2013 - 12:53 PM.


#5   Members   -  Reputation: 1020

Like
1Likes
Like

Posted 17 September 2013 - 12:49 PM


Why I can't just go with debug result? I get .exe file and program works...

 

The debug build contains a lot of extra code used for debug purposes (such as bounds checking and other possible errors). The release build is highly optimized and does not contain this extra code, making it run significantly faster than a debug build.






Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.




PARTNERS