Crystal Space
Welcome, Guest. Please login or register.
December 20, 2014, 08:37:17 pm

Login with username, password and session length
Search:     Advanced search
9032 Posts in 2046 Topics by 9295 Members
Latest Member: Marioibuch
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Support
| | |-+  New CS/Cel application in Kdevelop 3.2
« previous next »
Pages: [1] Print
Author Topic: New CS/Cel application in Kdevelop 3.2  (Read 1239 times)
Serrix
Newbie
*
Posts: 1


View Profile Email
« on: March 05, 2006, 04:47:20 am »

Hi there,
I've been trying to make a new CS/cel application in Kdevelop 3.2, however trying is the key word, i've been peicing together the two tutorials:
http://community.crystalspace3d.org/tiki-read_article.php?articleId=24 (New)
http://www.crystalspace3d.org/docs/online/manual/cs_4.20.3.php (Old)

It looks like i'm doing something incorrectly, after a few hours of playing around with it i got the "/home/serrix/programming/CS/ascention/configure: is a directory" did you buid CS and set the variable right? and still havnt been able to solve it.
Please take a read through and tell me what i've missed/done wrong?

Downloaded:
cs-pseudo-stable-2006-01-27.tar.bz2
cel-pseudo-stable-2006-01-27.tar.bz2

Untarred them and put them in the directorys
/home/serrix/programming/CS
/home/serrix/programming/CS/cel

Followed the commands from the new "how to use CS with kdevelop" manual:
"
cd CS
./configure --enable-debug --prefix=/opt/CrystalSpace/debug
./jam
export CRYSTAL=/opt/CrystalSpace/debug
su (optional)
./jam install

Installing CEL (You may have to copy the 'jam' executable from the CS directory into the CEL directory in order to run it.)

cd CEL
./configure --enable-debug --prefix=/opt/CrystalSpace/debug
./jam
su (optional)
./jam install"

Went into Kdevelop -> New project
Used "Simple Hello world program" and set the path for my project as: /home/serrrix/programming/ascention

Project->Project Options:
General Tab:
- Configure arguments:
--host=i686-linux --build=i686-linux --target=i686-linux

- Linker flags:
`cs-config --libs` `cel-config --lflags`

CRYSTAL = /home/serrix/programming/CS
CEL = /home/serrix/programming/CS/cel
PATH = $PATH:$CRYSTAL:$CEL

C Tab:
- Compiler flags:
`cs-config --cflags` `cel-config --cflags`

C++ Tab:
- Compiler flags:
`cs-config --cxxflags` `cel-config --cflags`

Hit "ok" to reconfigure and get the "/home/serrix/programming/CS/ascention/configure: is a directory" message.
I can run various tests like walktest etc, looks like some of the plugins didn't get built and worst of all it looks like my variables are incorrect?
Thanks in advance Smiley


Also tried:
CRYSTAL = /opt/CrystalSpace/debug
CEL = /opt/CrystalSpace/debug
PATH = $PATH:$CRYSTAL:$CEL
Logged
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 5.127 seconds with 16 queries.