Game Development Community

T3D Compile Issue no sln file in projects

by Zeph · in Torque 3D Beginner · 12/28/2012 (6:05 pm) · 9 replies

In the past I used the tutorial to open the FPS in:
(( D:TorqueExamplesFPS ExamplebuildFilesVisualStudio 2010 )) Where there was a sln file.

For the first time in ages, I actually took the time to try it with one in the My projects folder:
(( D:TorqueMy ProjectsSandBox Games ServerbuildFilesVisualStudio 2010))

However, there is no sln file there or in any project I have ever made. There is a folder in the Visualstudio 2010 named: projects, and in that folder there are other files for example

Torque.Cpp.x64.user
Torque.Cpp.Win32.user
Torque.rc

Basically, Im missing the sln file. In all project folders except the FPS Example.........
So following the Tutorial. What am I doing wrong? Has something changed over the years that I am not aware of? If it has been changed where do I compile from when changing the Source code?






#1
12/29/2012 (7:08 am)
Try running generateProjects.bat and see if that doesn't fix it. It should drop the .sln in the <project>/buildFiles/VisualStudio 20x folder and the projects in the ./projects folder below the .sln. This should have happened when the project was created (not familiar with the MIT release but I imagine that they do this too) but it might have failed.
#2
12/29/2012 (12:18 pm)
If you cloned the repo or used the download as zip button on GitHub then you will have to generate the template projects first before creating a project, you will also need to get the new project manager and build it to create projects. These steps are listed in the read me. There is also a packaged version of the latest stable MIT release available which has the template projects generated and the project manager built and included already. The download link for this should be in the read me, but if it isn't its in Dave's T3D MIT v2.0 blog.
#3
12/30/2012 (10:41 pm)
Generate Project.bat did nothing. I tried that before posting. All I got was a windows Icon swirly, and nothing after.. I reinstalled T3D, and the problem was still there. Dont know if it had anything to do with installing on D: drive, or after installing Microsoft C++ compiler.

So.. After spending hours on this issue, I went to GitHUb to get the source as Scott has mentioned. I figured if Im this far, and all the hours of My life wasted. I went ahead, got the source, and upgraded to T3D 2.0. Then spend time transferring over the Old Project Manager to work with the new version properly since I still retain the right of use with my original purchase.

Thanks for the suggestions :)
#4
01/02/2013 (10:10 am)
Oh, you were running from an installer build. Sounds like you didn't have the right installer originally. You may have used the FPS Tutorial one or one of the demo installers by mistake.

I highly recommend against using the old Toolbox with the MIT code. While it may be ok for now, you may run into problems later. The old Toolbox makes use of the registry to find things in certain directories and those registry values are set by the installer. I strongly suggest dumping the old Toolbox and using the new Project Manager as it only needs to be in the root directory and uses relative pathing.
#5
01/02/2013 (10:45 pm)
Yes I was using an installer build from T3D 1.2. but its not a demo, its the paid version installer. But to be clear not no more.. Im using the new T3D 2.0 build with open MIT, and everything is ok now.

I really liked the Old Toolbox because I got in the habit of running the game from the right menu instead of having to open folders or click icons lol. Think I removed all the registry values after the uninstall of the 1.2 version both by hand.

Other then using the cleanup or play in web menu buttons, I really dont see where problems can happen.. Everything else is just pretty straight forward... Until the new tool gets the feature of of Play game and open folder buttons I think Ill be ok till then...

I was thinking about adding the Buttons myself in the new tool box, but right now I dont want to get too deep into too many different projects.
#6
03/02/2014 (12:55 pm)
when i try to run generateAllprojects.bat windows 7 pops up "CLI stopped working". what does that mean? when i run it as system admin it says "can not find allprojects.txt" which is makes no sense cuz they are in the same folder.
#7
07/22/2015 (4:03 pm)
did anyone sort this .sln issue?

I've look through a few other topics on this and none state it's fixed.

I know that T3D v1.1 has sln's in the empty and full templates, but after that no other version seems to have it, even the latest 3.7 has sln's missing.

Anyone know anything more on this?
#8
07/22/2015 (6:19 pm)
The generateAllProjects.bat file works fine for me out of the box, still....
#9
07/23/2015 (9:22 am)
@Pierre

Weird... I use the Project Manager to create a project and I have no problems as well. the file is under the build folder as usual.... O_o weird stuff...

Are you sure you use the right Project Manager?