Crystal Space
Welcome, Guest. Please login or register.
July 25, 2014, 03:05:15 pm

Login with username, password and session length
Search:     Advanced search
9005 Posts in 2043 Topics by 8231 Members
Latest Member: Loiselelias
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  General Crystal Space Discussion
| | |-+  Tips for newbies like me. My experiences with crystal space.
« previous next »
Pages: [1] Print
Author Topic: Tips for newbies like me. My experiences with crystal space.  (Read 2845 times)
Winter Knight
Newbie
*
Posts: 21


View Profile
« on: October 13, 2006, 01:22:19 pm »

I have compiled different versions of crystal space about a dozen times in the past few days. Here are a few things I've noticed.

1) compiling with gcc-3.3 does not appear to be supported, or tested at all. The instructions recommend 3.4 or higher, but no mention is made of any unsupported gcc versions. I recommend against this version, and using a newer one if possible.

2) Actually installing crystal space breaks it every time. This is only what I personally have noticed, mind you. Other people may have gotten it to install to directories, but I haven't. I've heard from a/the site administrator that installing often breaks crystal space. Unfortunately, I could not find any information about this in the docs.

By installing, I am referring to the "make install" step. Don't do that. cd into the directory you compiled crystal space, and export CRYSTAL=`pwd`. Contine using this as crystal space's root. Do not make clean.

3) Use a Makefile, don't use gcc on the command line. I had issues with this, which turned out to not be the fault of crysal space, but the fault of my own ignorance. Still, due to the complexities of any project involving crystal space, I would recommend using a Makefile, or resorting to it if you have any difficulties, especially linking related.

The default crystal space programs, like walktest, simple1, and simple2, often segfault. They often have unexplainable errors. I've compiled several times, using pseudo-stable and latest svns over a few days, using gcc-3.3 and 3.4, and sometimes they run, sometimes they don't. Sometimes they run with errors, sometimes they run clean. That's just how it is.

Remember, no matter what version of crystal space you use, it is beta. There is no stable version, even the stable version. From what I've seen, it is a very nice program. But if you can't stand hiccups, it might not be right for you.
Logged
jorrit
Administrator
Hero Member
*****
Posts: 1706


View Profile
« Reply #1 on: October 13, 2006, 01:26:30 pm »

I have compiled different versions of crystal space about a dozen times in the past few days. Here are a few things I've noticed.

1) compiling with gcc-3.3 does not appear to be supported, or tested at all. The instructions recommend 3.4 or higher, but no mention is made of any unsupported gcc versions. I recommend against this version, and using a newer one if possible.

We are not aware of problems with gcc-3.3. Can you tell me what goes wrong?

Quote
2) Actually installing crystal space breaks it every time. This is only what I personally have noticed, mind you. Other people may have gotten it to install to directories, but I haven't. I've heard from a/the site administrator that installing often breaks crystal space. Unfortunately, I could not find any information about this in the docs.

By installing, I am referring to the "make install" step. Don't do that. cd into the directory you compiled crystal space, and export CRYSTAL=`pwd`. Contine using this as crystal space's root. Do not make clean.

Yes this is a well known problem.

Greetings,
Logged
Winter Knight
Newbie
*
Posts: 21


View Profile
« Reply #2 on: October 13, 2006, 04:04:34 pm »

We are not aware of problems with gcc-3.3. Can you tell me what goes wrong?

Remember all those problems I was having getting walktest to run with the latest svn crystalspace? Where I would jam it, then couldn't get walktest to run. Well, I compiled again this morning with gcc-3.4. It works much, much better. I can run walktest. It's a castle! I get errors about objects not being closed, an occasional X error, but it runs. I have to admit that I also updated svn this morning, and several files had been updated, but I do that everytime. The only thing I did differently, when it started working, was using gcc-3.4 instead of 3.3.

Could be a coincidence, since I did update svn, but I'm leaning towards not.
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 4.34 seconds with 15 queries.