Author Topic: Compilation Issues  (Read 607 times)

Klandestyne

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Compilation Issues
« on: December 18, 2003, 01:22:48 pm »
Two quick questions if people could please spare a moment:

1. I\'m compiling with MSVC and getting linking problems. Could someone please point me to a good list of all the external dependancies you need when building the client from scratch.

2. The file psbehave.cpp is not what I\'d expect. Can a user really just tweak this and get superman like characteristics, or will the server do these calculations itself and correct positional information?

Thanks.

Commando

  • Hydlaa Citizen
  • *
  • Posts: 221
    • View Profile
(No subject)
« Reply #1 on: December 18, 2003, 01:53:51 pm »
1. You will need Crystal Space and CEL

2. Yes, the server will do (or does) all calculations, this is for anti-cheat
Commando R-I-P

Klandestyne

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #2 on: December 18, 2003, 01:59:22 pm »
Thanks for the reply.

1. I\'ve got the CEL, but one of the files it was complaining about was zlib.lib. A download from zlib.net didn\'t provide any files which I could easily identify as the right ones.
Have I missed something here?

2. Oh Well - There goes my career as a super-hero 8-).

Commando

  • Hydlaa Citizen
  • *
  • Posts: 221
    • View Profile
(No subject)
« Reply #3 on: December 18, 2003, 02:15:41 pm »
zlib.lib is a linking libary. Maybe your Visual Studio has a pre-built one? If not, just download Zlib and compile the zlib.lib file...
Commando R-I-P

acraig

  • Administrator
  • Veteran
  • *
  • Posts: 1562
    • View Profile
(No subject)
« Reply #4 on: December 18, 2003, 04:02:09 pm »
Crystal Space has a \"library package\" that you need to download that has a bunch of .libs .dlls that you will need.   Read up on that on the Crystal Space website.
----------
Andrew
"For all I know, she's lying, everyone's lying; welcome to the Internet"

Klandestyne

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #5 on: December 19, 2003, 02:57:40 pm »
I\'ve got those external libraries, and I\'m now passed the zlib stuff.

I\'ve downloaded the PS Code:
- planeshift-0.2.010FullSourceAndArt.tar.gz

And external stuff:
- Python-2.3.2-1.exe
- cel-2003-12-16[1].113701.zip
- cs96_004.zip
- msvc_libs_0.97dev006_py230.zip

The CS project seems to be consistently crashing my MSVC, and compiling PS is complaining about a lack of libcstool_d. It appears to be something of an impass!

Can you please let me know if I have the right files and if I\'m on the right path to getting the PS client compiling.

Cheers.

acraig

  • Administrator
  • Veteran
  • *
  • Posts: 1562
    • View Profile
(No subject)
« Reply #6 on: December 19, 2003, 03:26:00 pm »
Make sure you build CS in debug mode because it is looking for the _d ( the debug version ) of Crystal Space libraries.  Or if you want you can edit the project files and just remove the _d on the library names if you have built CS in optimized mode and want to use that.   I am not sure if the \'optimized\' settings in MSVC are set to use the optimized CS libs.  It has been a while since I have built in windows since I use linux most of the time.


You are on the correct path but it is a not a straight line path and there are often many forks in the road :).
----------
Andrew
"For all I know, she's lying, everyone's lying; welcome to the Internet"

Klandestyne

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #7 on: December 20, 2003, 12:38:59 am »
Yahooooo!

Did it all on my home PC and it worked pretty quickly.

Even managed to get an interesting pick:
- http://www.steadman.info/temp/ps_hack.jpg