Game Development Community

Missing sln file for VC++

by Dennis Trevillyan · in Torque 3D Professional · 01/29/2011 (12:40 pm) · 9 replies

The vc++ sln files are present in the examples, such as the FPS example, but they are not present in the projects that I create. When I try to open visual studio from the toolbox it asks if a sln should be created but nothing happens. Is this a bug or am I just missing something?

thanks

#1
01/29/2011 (1:02 pm)
Are you using vs2010? the solution files arent exposed to the toolbox for 2010 right now, you have to go to the folder to access them
#2
01/29/2011 (1:14 pm)
No, VS2008. I was able to copy the sln from the template folder and open it in visual studio. It just seems odd. Is this normal behavior?
#3
01/29/2011 (1:49 pm)
i dont think so, i mean in the past when ive created projects from templates the toolbox accesses the solutions fine, is it a customised template at all?

I stopped using the toolbox because i have multiple versions of t3d installed and i think that confuses the toolbox a little.
#4
01/29/2011 (3:36 pm)
i think thats what the generate projects file in the root game folder of your project is for
#5
01/29/2011 (8:17 pm)
I have this problem too. When I run generateProjects.bat, it just gives me a message that PHP (CLI.exe) crashed. It creates the projects folder and puts projects in it, but they're named "Empty" or "Full" (depending on project type) instead of the name I entered, and no .sln is ever created. It does this for all of the folders (VisualStudio 2005/2008/2010). I'm using T3D 1.1 Beta 3.
#6
01/29/2011 (8:44 pm)
@Aloshi, I think you're right. I've been seeing the same error and until now had not noticed any effects. I guess I'll have to dig into that one after all. However, as I mentioned above I was able to manually copy the sln from the templates directory and that worked fine.

@Andy Wright, I think that running the generate projects file will create a completely new project. Also, I tried that hoping to get a copy of the sln that I could copy but there was no sln file there. But, I did run that through the editor.

thanks to all for the input.
#7
01/29/2011 (10:46 pm)

Quote:When I run generateProjects.bat, it just gives me a message that PHP (CLI.exe) crashed.

That explains the missing files. generateProjects.bat runs projectGenerator which is T3D's tool to generate IDE-specific project files from config files. It is written in PHP and apparently what happens here is that the php.exe that ships with the T3D SDK (located in Engine/bin/php) is crashing. Never seen that happening.

What version of Windows are you on? Do you have an existing PHP installation on your system?

What you could do is install a current PHP distribution from php.net and either have its php.exe in the path and delete the one from T3D or replace the contents of Engine/bin/php with the respective files from the distro. That should work (though I haven't tested it).
#8
01/30/2011 (8:21 am)
I'm using Windows 7, and yes, I do have PHP already installed. I've already tried copying over the current php.exe to replace T3D's, but it doesn't help - I get the same crash. If I replace php5ts.dll (the only other file in T3D's php folder) with the one that comes with PHP, I get an even worse error: "The procedure entry point php_getopt could not be located in the dynamic link library php5ts.dll" (probably related to the fact that T3D's dll is 700kb or so bigger than the normal PHP one).
#9
01/30/2011 (10:03 am)
I'm using XP Pro and do not have PHP installed. I did try downloading the latest PHP and copying over the .exe and .dll. Still got an error though. Nothing about dll entry points, just garbage about no just in time debugger. Also noticed that IIS wasn't running so I started that but it didn't help. I do not have PHP installed and tried to do that but for some reason I couldn't get it installed.