Author Topic: Server : Problems with compilation  (Read 1919 times)

loth

  • Traveller
  • *
  • Posts: 11
    • View Profile
Server : Problems with compilation
« on: May 19, 2002, 08:40:59 am »
I want to compile the win32 ps server, but not the client.
So i opened the server project ( apppserver.dsp ) under VC++ 6 and i tried to compile...
It asked me for some header files ( pl/entity.h ; pl/pl.h ; pl/persist.h ) but i don\'t know where to find them :-\\
VC++6 is bundled with DX5 SDK so i think i\'ve no problems from direct X...
I d\'ont have C Space installed, but i don\'t think it is really useful ( is it ?)  because i do not compile the client...

Can anyone help please ?

Vengeance

  • Veteran
  • *
  • Posts: 1452
    • View Profile
(No subject)
« Reply #1 on: May 19, 2002, 03:07:24 pm »
The server also uses Crystal Space and CEL.  YOu must download and compile them before building PS client OR server.

- Vengeance

loth

  • Traveller
  • *
  • Posts: 11
    • View Profile
(No subject)
« Reply #2 on: May 20, 2002, 07:27:07 am »
The filelist for CEL seems empty on sourceforge / CEL site  :rolleyes:
As I am very bad at coding, can you explain me how to make VC++ use Cspace libs ?  :rolleyes:
« Last Edit: May 20, 2002, 07:27:40 am by loth »

loth

  • Traveller
  • *
  • Posts: 11
    • View Profile
(No subject)
« Reply #3 on: May 20, 2002, 12:39:14 pm »
I\'ve downloaded both CS and CEL, but are there some plugins of CS i don\'t need ? ( eg: python,...)

Vengeance

  • Veteran
  • *
  • Posts: 1452
    • View Profile
(No subject)
« Reply #4 on: May 20, 2002, 10:00:49 pm »
Yes, anything that doesn\'t build (gives errors), just right click on the project file and select \"Unload Project\".  Then rebuild.

Btw, you should have \"grpall\" as your active project when you build CS.  It will build all the others with one button press.

- Vengeance

loth

  • Traveller
  • *
  • Posts: 11
    • View Profile
(No subject)
« Reply #5 on: May 24, 2002, 08:50:13 am »
I compiled CS succesfully, but how do I set up the libraries needed by CEL in VC++ ? I know i need to install them in some special way, but i d\'ont have any id?e on how to proceed  :rolleyes:

Vengeance

  • Veteran
  • *
  • Posts: 1452
    • View Profile
(No subject)
« Reply #6 on: May 24, 2002, 09:05:09 am »
You do not need any special libraries other than CS in CEL.  Be sure to unload the python project from CEL also.

- Vengeance

loth

  • Traveller
  • *
  • Posts: 11
    • View Profile
(No subject)
« Reply #7 on: May 24, 2002, 09:19:43 am »
Well, VC++ doesn\'t seem to know were the CS .libs files are located...
I put the folders were they were in \"options\" but it still tells me it couldn\'t find it :(

ElijahMcNeish

  • Traveller
  • *
  • Posts: 14
    • View Profile
(No subject)
« Reply #8 on: May 24, 2002, 11:15:12 am »
No offense, but you could try getting a real compiler.  Try http://www.bloodshed.net

loth

  • Traveller
  • *
  • Posts: 11
    • View Profile
(No subject)
« Reply #9 on: May 24, 2002, 12:25:04 pm »
Quote
Originally posted by ElijahMcNeish
No offense, but you could try getting a real compiler.  Try http://www.bloodshed.net


No offense taken :)
I only use vc++ because it\'s a quick and easy ( generally ) and also quite safe way to compile projects :)

Vengeance

  • Veteran
  • *
  • Posts: 1452
    • View Profile
(No subject)
« Reply #10 on: May 24, 2002, 04:55:41 pm »
Every compiler has makefile problems.  That is not the issue.

The existing CEL project files should have all the correct paths in them, if you have your directories in the normal places.  They should all be at the same level, all subdirs of the same dir, such as:

d:\\venge\\CS
d:\\venge\\cel
d:\\venge\\Planeshift

This way the relative paths in the makefiles will work.

- Vengeance

ElijahMcNeish

  • Traveller
  • *
  • Posts: 14
    • View Profile
(No subject)
« Reply #11 on: May 24, 2002, 09:47:17 pm »
LOL, I never thought of it as quick and easy...  Maybe I just gave up on it too quickly.  I always thought the interface was clunky..  Hmm...

GnuX

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
...
« Reply #12 on: May 25, 2002, 02:12:09 pm »
anybody have the server binary for WIn32?

loth

  • Traveller
  • *
  • Posts: 11
    • View Profile
(No subject)
« Reply #13 on: May 26, 2002, 05:53:31 am »
Ok, i\'ve got all folders ok and CS compiled...
my .libs files are in ps/mk/visualc/csdebug ...
the problem might come from here ? :rolleyes:  Where shall the .libs files be in ?  

loth

  • Traveller
  • *
  • Posts: 11
    • View Profile
(No subject)
« Reply #14 on: May 29, 2002, 11:19:00 am »
Can anyone help please ?