PlaneShift

Support => Technical Help: Problems BEFORE entering the game => Topic started by: loth on May 19, 2002, 03:40:59 pm

Title: Server : Problems with compilation
Post by: loth on May 19, 2002, 03:40:59 pm
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 ?
Title:
Post by: Vengeance on May 19, 2002, 10:07:24 pm
The server also uses Crystal Space and CEL.  YOu must download and compile them before building PS client OR server.

- Vengeance
Title:
Post by: loth on May 20, 2002, 02:27:07 pm
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:
Title:
Post by: loth on May 20, 2002, 07:39:14 pm
I\'ve downloaded both CS and CEL, but are there some plugins of CS i don\'t need ? ( eg: python,...)
Title:
Post by: Vengeance on May 21, 2002, 05:00:49 am
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
Title:
Post by: loth on May 24, 2002, 03:50:13 pm
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:
Title:
Post by: Vengeance on May 24, 2002, 04:05:09 pm
You do not need any special libraries other than CS in CEL.  Be sure to unload the python project from CEL also.

- Vengeance
Title:
Post by: loth on May 24, 2002, 04:19:43 pm
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 :(
Title:
Post by: ElijahMcNeish on May 24, 2002, 06:15:12 pm
No offense, but you could try getting a real compiler.  Try http://www.bloodshed.net
Title:
Post by: loth on May 24, 2002, 07: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 :)
Title:
Post by: Vengeance on May 24, 2002, 11: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
Title:
Post by: ElijahMcNeish on May 25, 2002, 04:47:17 am
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...
Title: ...
Post by: GnuX on May 25, 2002, 09:12:09 pm
anybody have the server binary for WIn32?
Title:
Post by: loth on May 26, 2002, 12:53:31 pm
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 ?  
Title:
Post by: loth on May 29, 2002, 06:19:00 pm
Can anyone help please ?
Title:
Post by: Vengeance on May 30, 2002, 06:08:15 am
I don\'t understand the question.  What you\'re saying sounds ok to me.
Title:
Post by: MatzeB on May 31, 2002, 10:37:21 am
This whole thread has 1 simple answer:
         docs/Compiling.txt

We wrote a whole text about that stuff...  If you want to have it easy do it on linux ;-), the win32 versions are usually a bit more work because you need to install several external libs, that are normally already in linux by default.