Hspace Compiling

Posted by Abigor on Fri 05 Mar 2004 06:03 AM — 3 posts, 21,332 views.

#0
I already tried getting an answer on the hspace forum. But to no avail. Has anyone here ever compiled hspace with pennmush under win32 with MS VS .NET 2003? If so how do you get vs .net to read the hspace.dsp file since it says that it is corrupted when i try to add it to the pennmush project so it can be made a dependency?

-Abigor


Australia Forum Administrator #1
I don't have that compiler, as I have decided to stop handing Microsoft money every time they bring out a new operating system or compiler every couple of years, however I can guide you in the right direction, I think.

The .dsp files are not that confusing or magical, if you edit one in a text editor (eg. Notepad) you will see lines like this:


SOURCE=.\doc.cpp
# End Source File
# Begin Source File

SOURCE=.\doc_construct.cpp
# End Source File
# Begin Source File

SOURCE=.\documentation.cpp
# End Source File
# Begin Source File


This is from another project, but it is the general idea.

Now, what you can do is use this to get a list of files that are in the project, in this case:



doc.cpp
doc_construct.cpp
documentation.cpp


Then, start a new blank project and just add in the files you see in that list. This should give you a pretty good basis for getting a compile to work.


#2
Im struggling with compiling Hspace for Pennmush using Cygwin. I follow the instructions to the letter but they differ from what I see.

Well, the makefile terminates after a few steps of errors...


$ make
(cd hsnetwork;make)
make[1]:Entering directory `/pennmush/src/hspace/hsnetwork´
Makefile:34: obj/.depend: No such file or directory
touch obj/.depend
touch: creating òbj/.depend´: No such file or directory
make[1]: *** [obj/.depend] Error 1
make[1]: Leaving directory `/pennmush/src/hspace/hsnetwork´
make: *** [projhsnetwork] Error 2


Ill give it another shot after reading through the documentation one more time.