Game Development Community

Building the MIT Code

by Robert Rice · in Torque 3D Beginner · 08/13/2013 (9:52 am) · 5 replies

So, maybe I'm missing something obvious, but after pulling all the MIT code down from GIT, and running the batch file to generate the solution files for Visual Studio, the only solution files I could find were for the "supporting files". I built and and it only resulted in libraries being created for all of the supporting components, and no executeable to run T3D. Should it be producing one?

#1
08/13/2013 (9:54 am)
Use a hammer.

If you've pulled down the source and genenrated a project you now have to open the generated Visual Studio solution (the version of your choice) and build the executable.

If you'd rather not fiddle with it, pull down the precomiled package instead, along with the Project Manager packages.
#2
08/13/2013 (11:34 am)
Ah, by "generated a project" do you mean one generated through the "Project Manager"? Because I have only downloaded so far the T3D code base. So I'm assuming the code base alone does not generate an executable; I need the project manager to generate an executable.
#3
08/13/2013 (11:42 am)
You need to grab the Project Manager, create a new project. Inside that project is where you will find the Visual Studio build files that you need.
#4
08/14/2013 (11:19 am)
The Project Manager is technically optional, but it does make it easier to create new projects.

For the generateProjects.bat batch file to work correctly your project needs to be located within the Torque install directory (Templates or My Projects for example). If the new project is located outside of the Torque Directory when you try to use the batch file then the generation of the project/solution will fail.

You still need to use VS to compile the code in order to generate the executable. Binaries are not distributed with the stock code unless you use the precompiled package.

#5
08/14/2013 (1:27 pm)
You need a compiler to generate an executable. Visual Studio is the most solidly supported flavor at the moment....