Crystal Space
Welcome, Guest. Please login or register.
October 25, 2014, 06:54:32 am

Login with username, password and session length
Search:     Advanced search
9011 Posts in 2044 Topics by 8821 Members
Latest Member: Mstopcarl03
* Home Help Search Login Register
+  Crystal Space
|-+  Associate Projects
| |-+  CEL Discussion
| | |-+  CEL 'Building and Installing' documentation incomplete?
« previous next »
Pages: [1] Print
Author Topic: CEL 'Building and Installing' documentation incomplete?  (Read 6727 times)
Radlo87
Newbie
*
Posts: 3


View Profile Email
« on: October 25, 2008, 03:44:51 pm »

Hi,

either i am blind or there are no instructions on how to build CEL in the documentation

where can i find these instructions?
Logged
Vincent
Full Member
***
Posts: 191


View Profile WWW
« Reply #1 on: October 26, 2008, 04:38:31 pm »

True, the obvious part is missing.
Here would be the steps:
  • Make sure CS was built and works correctly
  • set CRYSTAL environment variable to its source/build directory
  • Change to CEL directory (cs $CEL)
  • ./configure [--enable-debug]
  • jam (or $CRYSTAL/jam if jam is not installed on your system)
Logged
Radlo87
Newbie
*
Posts: 3


View Profile Email
« Reply #2 on: October 26, 2008, 09:11:06 pm »

and if i want it compiled with python which should i download binaries or sources of python?
after donloading where should i put it?
any additional steps?

Logged
Vincent
Full Member
***
Posts: 191


View Profile WWW
« Reply #3 on: November 03, 2008, 11:21:58 pm »

For building CS' python support, you need Python binaries, and development files/headers.
The place shouldn't matter too much, however you can set PYTHON environment variable to point to Python's binary,
so it's found more easily.
To get more details, it would help if you told us which OS and compiler you're using...
Logged
Radlo87
Newbie
*
Posts: 3


View Profile Email
« Reply #4 on: November 04, 2008, 08:04:26 pm »

i'm using mingw with msys on win xp
Logged
Vincent
Full Member
***
Posts: 191


View Profile WWW
« Reply #5 on: November 04, 2008, 08:48:41 pm »

The you'd need to install Python (I'd recommend latest 2.5 release, newer versions like 2.6 or 3000 were not tested with CS yet afaik)
from http://www.python.org, then re-run CS configure and pay attention to the output, check if it's correctly found.
Once CS is rebuilt with Python support, you should do the same for CEL (configure && jam again).
Logged
Neoberserker
Newbie
*
Posts: 7



View Profile WWW Email
« Reply #6 on: January 29, 2009, 10:11:01 am »

For building on linux i have wrote a shellscript doing all needed steps to get CEL, CrystalSpace and ODE compiled and running together.

I also make a HowTo (in german) what is to do. You can find the howto and the script here: (newest script is linked at the bottom of the thread, named compile_cel_with_ode.sh)
>> CEL mit ODE Physik Layer (neoberserker.de) <<

The useage of the script is descripted in the howto (in german). Here a quickstart:
Code:
mkdir /opt/crystalSpace
cd /opt/crystalSpace
[ put the script there and make it runable ]
./compile_cel_with_ode.sh all
[ if all needed tools (automake, svn, jam) are found on the system the script starts to download all sources, unpack them, configure them and compile them. If system tools are missed a messaged is displayed on the console. If compiling is done it creates a startPhysicDemo.sh script and downloads the physicsdemo.celzip. Run it and see if it runs.]

Hope that helps someone, my study group liked it.

And please tell me when there are problems with the script! Notice that configure and compile logs are created in the folder the script is in!
« Last Edit: January 29, 2009, 10:17:05 am by Neoberserker » Logged

---------------------------------------
Linux, CG and photographie
http://www.neoBerserker.de
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 6.196 seconds with 15 queries.