Game Development Community

Problem when opening Project Workspace

by Christoph Niederberger · in Torque Game Engine · 06/14/2002 (1:16 am) · 1 replies

Hi,

I just downloaded the Release_1_1_1 via CVS and tried to open it in Visual Studio. When I open the Workspace (*.dsw) I just get an empty Workspace with 0 projects. When I try to open a project, Visual Studio tells me that this is not a VS project and tries to convert (?) it into one.

I have Visual C++ 6.0 Enterprise Edition, installed SP5 and applied the registry updates in torque/vc6.

I already had an earlier version of TGE and there it worked without any problems.

Can anybody help?

Thnx,
Chris

#1
06/15/2002 (11:02 pm)
Yeah, I've had this problem.

You need to add a ctrl-M to the end of each line in each of the .dsp files (and maybe the .dsw file too, not sure if that's required). Without the ctrl-M, VC++ doesn't understand the file.

I don't know what your particular situation is, but in my case I suspect that since I used cygwin cvs to checkout the files, cvs "helpfully" converted the DOS-style linefeeds into UNIX-style linefeeds. (Actually this is still an annoyance, and I haven't found a way to make it stop doing this... I could mark all the files -kb but I think that would annoy our Mac developers who do want their cvs clients to do linefeed conversion. Anyway...)

You obviously don't want to have to make this change manually, as that would be pretty darn tedious. I used vi to do a global replace of line endings; alternately you could probably use EditPad Lite (choose Convert->To Windows), and I'm sure many other good text editors have similar options.