Crystal Space
Welcome, Guest. Please login or register.
May 27, 2016, 01:19:17 am

Login with username, password and session length
Search:     Advanced search
9074 Posts in 2093 Topics by 19894 Members
Latest Member: Katiemwq
* Home Help Search Login Register
  Show Posts
Pages: [1]
1  Associate Projects / CEL Discussion / Re: CelStart on: September 20, 2007, 06:51:05 pm
That's true you need python 2.4 (and full map path in pythonpath) for celstart v7. This "import site failed" is the same problem  hidden because of python being embedded. For pycelstart7.8 you need both pythons, and those extensions from b2cs site for 2.5.1. No need to set pythonpath if running with, however.

Make sure you install python 2.4 before 2.5 (uninstall 2.5 if you already have it).
2  Crystal Space Development / Support / Re: Trying to get up and running on: September 19, 2007, 04:24:35 pm
Skip only the last one:
cd c:/cs
or c:\cs
or cd /c/cs
or cd /cygdrive/c/cs Smiley

ls (like list) should be available, maybe there's something wrong with your cygwin installation?

I believe setting environment variables is only needed before compiling CEL (the CRYSTAL variable set) and when using blender2crystal (CRYSTAL and CEL set).
3  Crystal Space Development / Support / Re: Trying to get up and running on: September 18, 2007, 04:54:02 pm
Ah, i see now, sorry my bad. You can't use "\" at the end of a command it means you'd like to type another line. Just omit it.
4  Crystal Space Development / Support / Re: Trying to get up and running on: September 18, 2007, 02:49:25 pm
Cygwin should recognize both slashes and backslashes, as well as windows drives (c: e: etc.). But i'm not sure if it's still true -- haven't used it for quite a while.

You're  still in the wrong directory. After cd the prompt shouldn't change. Try using "cd /cygdrive/f/cs/crystalspace-src.1.2rc2"
Maybe your f drive doesn't get mounted? You can check this with typing "mount " and looking for some line with "f:".
Maybe the long directory confuses cygwin? Try moving everything from crystalspace-src.1.2rc2 to just cs.
You can type "ls" to list the contents of the current directory -- you should see all the cs files

Here you can find some introduction on using cygwin:

Also you may try with MinGW/MSYS. Theoretically it's supposed to be harder but I've compiled CS with it a couple of days ago without any trouble.
5  Crystal Space Project Development / Development Discussion / libcaca on: September 17, 2007, 02:21:16 am
I've noticed it's not detected even if installed. This is due to api change. Adding
#include <caca0.h>
#include <caca.h>
in and cscaca.h lets it compile but i don't really know how to test it Smiley

Migration info:
6  Associate Projects / CrystalBlend Discussion / Re: Celstart problem on: September 16, 2007, 08:44:35 pm
Huh, i believe i've found a simple solution. Install Python 2.4.4 before! 2.5.1. Leave just CRYSTAL and CEL variables defined.

Seems to work that way, at least lookat.blend celexports (drop textures to the dir set at Export->CrystalSpace->Main; but anyway without that you should already see some grey boxes Smiley.

PS: For this celstart you also need Python 2.4, as well as adding full path of your map file to the PYTHONPATH. This worked for me too (outside blender), but shouldn't be necessary anymore.
7  Crystal Space Development / Support / Re: Trying to get up and running on: September 16, 2007, 07:00:37 pm
You'll probably need swig under cygwin not a windows install. It will be automatically used by jam (make). But skip it for now as it's not necessary for a basic compilation.

You're compiling under cygwin, so msvc is a completely different story.

1. Unpack sources to some simple directory, let's say c:/cs/ (make sure there are some files there, most importantly:
configure, Makefile and some jam files).

2. Open cygwin/bash window and type at prompt:
cd c:/cs/

3. Try typing ./walktest to see if it's working.
8  Crystal Space Project Development / Development Discussion / python apport on: September 16, 2007, 06:40:33 pm
There's a (possible) bug in python apport, which sometimes causes "import site failed".

Ubuntu description is here:

This doesn't hurt if everything else works but makes debugging harder.
9  Crystal Space Development / Support / Re: Trying to get up and running on: September 16, 2007, 03:57:33 am
Install should be a text file containing installation instructions Smiley

There's a little tutorial on compiling with CygWin, it's here:

Basically you should navigate to source directory under cygwin (use "cd" to change directories) and type: "./configure" and then: "make" or "make -k all" to ignore errors.

Before that you may want to install some more packages for cygwin, e.g. swig if you want python bindings.
Just look what configure tells you (even more is written to config.log).
10  Crystal Space Development / Support / Mesa 6.5.2 OpenGL fonts on: September 15, 2007, 03:49:58 am
Ubuntu, r200 mesa driver, 1.2rc2 and 14-IX trunk. Fonts are corrupted with OpenGL renderer. Software mode works ok, windows version also. Switching off multitexturing or using different options in r3dopengl.cfg doesn't help. Probably a driver issue.

Workaround: install mesa 7.0.1.
11  Associate Projects / CrystalBlend Discussion / Re: Celstart problem on: September 15, 2007, 02:12:15 am
Ah, i don't think it's really possible. celstart in this pycelstart7.8 seems to be linked against python24 and that's what's causing most troubles. I've almost managed to run it with both pythons installed, but then some other bad things happen. Anyway this were some dirty hacks. On my side it's second separate setup it does not work on, so i guess we can say it's buggy. Wink

Some solutions i can think of, are getting older blender2crystal (and maybe even blender itself) and using it with e.g. celstart from crystal space main page together with python 2.4. Or compiling (unfortunately under windows for python bindings you'll need to also compile SWIG under MinGW/MSYS, and that's even more enviroment variables to set Smiley.
12  Associate Projects / CrystalBlend Discussion / Re: Celstart problem on: September 14, 2007, 05:24:55 am
I guess blpython.cpp/.h is compiled into blpython.dll, you shouldn't need the source.
Behaviours are in cs/data/library/blpython, but i don't think it's something to worry about.

C:\Python25\ in PATH
PYTHON set to C:\Python25\python.exe
PYTHONPATH set to C:\Python25\Lib;%CRYSTAL%;%CEL%

Set pythonpath after crystal and cel, these %% things should change into real paths.
Use celstart.exe (copy maps, maybe something more, into cel) -- resets pythonpath.
Try also adding map file to the pythonpath (e.g. add  C:\crystal\maps\, after  ';').

I've been compiling 1.2rc2 in parallel, so maybe i've actually borrowed something? Wink Now under ubuntu  so i can't verify all of this, sorry for that.

It should be easier to first get this working standalone and then try with blender.

As a last resort change behaviour layer to xml based (within blender blxml under celexport), never had any problems with that. Smiley

13  Associate Projects / CrystalBlend Discussion / Re: Celstart problem on: September 13, 2007, 11:15:39 pm
Was fighting with the same error for two days Smiley

Seems some basic python modules can't load (new & site). Written about a possible solution at blender2crystal wiki ( If this doesn't work you may want to try to play a bit with PYTHONPATH.

Pages: [1]
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.26 seconds with 17 queries.