Toxin Games Community Forum
Welcome, Guest. Please login or register.
September 07, 2010, 09:02:02 AM

Login with username, password and session length
Search:     Advanced search
183 Posts in 149 Topics by 25 Members
Latest Member: BENSON71
* Home Help Search Login Register
+  Toxin Games Community Forum
|-+  Toxin Games - Development Boards
| |-+  Programming Chat
| | |-+  (C/C++) Leadwerks Engine 2.0 - Building a Distributable EXE
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: (C/C++) Leadwerks Engine 2.0 - Building a Distributable EXE  (Read 1147 times)
Kevin S.
The One and Only
Administrator
Rank: Toxin Old'e
*

Toxin Points: 459
Offline Offline

Gender: Male
Posts: 164


CEO/Founder of Toxin Games


WWW
« on: March 16, 2009, 05:09:02 PM »

Building a distributable EXE that can run on any computer without having the Microsoft Visual C++ 2008 Express Edition installed on their computer can be quite tricky.  While searching around for a solution for our project, details in our newscast, I found a topic that had steps on how to do this.  Here are the following steps:

1.) Change so that the project builds as a 'Static' application by going to:
PROJECT -> PROPERTIES -> C/C++ -> CODE GENERATION
Then change the RUNTIME LIBRARY to be MULTI-THREADED.

2.) Then on the developing computer (the computer you have C++ installed on), go to the C:\windows\winsxs\ directory and copy the following files:
  • Microsoft.VC90.CRT.manifest
  • msvcm90.dll
  • msvcp90.dll
  • msvcr90.dll

3.) Create a directory on the root directory of your project (the directory that you have your EXE for your application in) and name it Microsoft.VC90.CRT then paste the manifest file and the 3 DLL files into that folder.

I hope this puts you in the correct direction for distributing your projects to be executable on anyone's computer without having to make them install the development package for C++.

Source: http://forum.leadwerks.com/viewtopic.php?f=37&t=2583&p=22536&hilit=Change+the+project+to+be+a+static+#p22536
Logged

Pages: [1] Go Up Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP
Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC
Valid XHTML 1.0! Valid CSS!