luni, 10 ianuarie 2011

Under the hood preview for everyone :)

Due to some external factors, I've decided to share the code seen in these videos:







Some people tried to download the code before and it didn't compile. Here's a step by step guide to get the code going using Visual C++ 2008 EE.
1) Download and install Tortoise SVN
2) Create a new folder anywhere you want
3) Right click that folder and select "SVN Checkout ..."
4) Complete the fields just like in the following image:


5) Press OK, wait for the download to finish and click OK again.
After this step, you have a working copy of the source code. You can now browse the code and check it out but it won't compile. You still need a few libraries/SDK's

Get these compiled in a package from [here] Or: boost 1.45, PhysX SDK and ASSIMP. Compile and link.

6) Right Click "Computer" and go to "Properties->Advanced system settings->Environment Variables" and under "User variables for XXX" where XXX is your username, click "New ...". Add a new variable named "EngineLibraries" and add the directory where you downloaded the libraries; like in the following image:


7) Go to: << "OutputFolder"\Cod Sursa >> where OutputFolder is the folder where you downloaded the source code to and open "Divide VS2008.sln"

8) That's it. It should compile now. Have Fun!

Niciun comentariu:

Trimiteți un comentariu