MSVC 6.0 - celestia.dsw doesn't open any projects

The place to discuss creating, porting and modifying Celestia's source code.
Guest

MSVC 6.0 - celestia.dsw doesn't open any projects

Post #1by Guest » 19.07.2002, 05:04

There was an earlier thread discussing this problem, but I couldn't discern a resolution. Inspection of the .dsw indicates all the .dsp's in the subdirectories, but they just don't show up at all in VC.

Any help?

MB

MSDV

Post #2by MB » 19.07.2002, 08:06

I am one of the guys who got some help for MSDV.
Although I don't understand your problem, I can tell you what I got .
When you open the .dsw as a new workspace, you got in the left "sub-window" of the MSDEV "window" a visual description of the structure of the programm as:
"workspace 'Celestia' : 6 projects"
followed by the 6 projects as
+ cel3ds files
+ celengine files
+ celestia files (this line is in bold font since it should correspond to the "main project"?)
etc....

I also was surprised to see such programm structure that looked much more complex than those I used to develop :
one workspace == one project. ( I am not by far a professional in programming).
That work perfectly! You just compile and link ( beware to the library and include pathes !!)
I don't know if this answer your questions

MB

abiogenesis
Posts: 104
Joined: 07.06.2002
With us: 22 years 5 months
Location: Redmond, WA

Post #3by abiogenesis » 19.07.2002, 15:49

One Workspace, One Project is definitely inadequate when it comes to more complex or robust software like Celestia. My team's game last semester consisted of 16 projects and more than 30,000 lines of code.

As for the blank workspace, I'm having the same problem. I downloaded the source last month and it all worked, but I've upgraded my PC since then. I just downloaded the source again, and now the workspace is blank.

Maybe they've changed the source and broke something?

- a b i o g e n e s i s -

marc
Posts: 426
Joined: 13.03.2002
With us: 22 years 8 months
Location: Outback Australia

Post #4by marc » 20.07.2002, 02:56

I had the same problem, I always get a blank workspace from the cvs code. But I think that the source distribution works OK.
I rebuilt the project and mixed between the two to get it to work.
Mabey its something to do with the version of VC we have.
Im using VC++ 6.0 Enterprise

abiogenesis
Posts: 104
Joined: 07.06.2002
With us: 22 years 5 months
Location: Redmond, WA

Post #5by abiogenesis » 20.07.2002, 06:52

I'm using VC++ 6.0 Professional. I downloaded the source from shatters.net and I could have sworn that it worked before. However, I did download the CVS version afterwards so I could just be remembering wrong. I haven't installed WinCVS since I've upgraded my PC. I'll try getting the source, from CVS, again this weekend.

- a b i o g e n e s i s -

Guest

Post #6by Guest » 25.07.2002, 01:40

I believe it's a problem with Windows versus Linux character returns. If you open Celestia.dsw in notepad, you will see it's all on one or two lines, seperated by funny block characters. These funny block characters are line returns in Linux, something to do with this distro being created in Linux. Either manually delete this and insert a windows line return for each one (by simply pressing RETURN), or copy+paste my copy below into your file. There are a few other things you need to download to get it working, namely the jpeg, png and zlib libraries. Stupid me didn't note the urls :O(


C+P this:


Microsoft Developer Studio Workspace File, Format Version 6.00


# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!



###############################################################################



Project: "Celestia"=.\celestia\Celestia.dsp - Package Owner=<4>



Package=<5>

{{{

}}}



Package=<4>

{{{

Begin Project Dependency

Project_Dep_Name cel3ds

End Project Dependency

Begin Project Dependency

Project_Dep_Name celengine

End Project Dependency

Begin Project Dependency

Project_Dep_Name celmath

End Project Dependency

Begin Project Dependency

Project_Dep_Name celtxf

End Project Dependency

Begin Project Dependency

Project_Dep_Name celutil

End Project Dependency

}}}



###############################################################################



Project: "cel3ds"=.\cel3ds\cel3ds.dsp - Package Owner=<4>



Package=<5>

{{{

}}}



Package=<4>

{{{

}}}



###############################################################################



Project: "celengine"=.\celengine\celengine.dsp - Package Owner=<4>



Package=<5>

{{{

}}}



Package=<4>

{{{

}}}



###############################################################################



Project: "celmath"=.\celmath\celmath.dsp - Package Owner=<4>

Package=<5>

{{{

}}}



Package=<4>

{{{

}}}



###############################################################################



Project: "celtxf"=.\celtxf\celtxf.dsp - Package Owner=<4>



Package=<5>

{{{

}}}



Package=<4>

{{{

}}}



###############################################################################



Project: "celutil"=.\celutil\celutil.dsp - Package Owner=<4>

Package=<5>

{{{

}}}



Package=<4>

{{{

}}}



###############################################################################



Global:

Package=<5>

{{{

}}}



Package=<3>

{{{

}}}



###############################################################################


Return to “Development”