Crystal Space
Welcome, Guest. Please login or register.
April 25, 2017, 05:59:54 am

Login with username, password and session length
Search:     Advanced search
8994 Posts in 2045 Topics by 43527 Members
Latest Member: Xiaozhfethee463
* Home Help Search Login Register
  Show Posts
Pages: [1]
1  Associate Projects / CrystalBlend Discussion / Re: blender2crystal export on mac on: November 03, 2008, 11:57:53 pm
Thanks for your response, Vincent. I'll look for PyXML and see what that does. I do have 4Suite installed, but for some reason, it isn't being recognized. I haven't been able to figure out why that is.
2  Crystal Space Development / Support / Re: Tutorial Zero with Xcode 3 on: November 02, 2008, 08:56:36 pm
So far, I have been able to compile without errors using Xcode on 10.4 ppc, but have not managed to get the link to work.
3  Crystal Space Development / Support / Re: Tutorial Zero with Xcode 3 on: October 30, 2008, 08:19:01 pm
Did you set the header path for CS in the project get info window?
4  Associate Projects / CrystalBlend Discussion / blender2crystal export on mac on: October 27, 2008, 09:15:02 pm
Hi, I'm sure this is answered somewhere else, but I can't seem to find it. I'm running on an intel iMac running osx 10.5. I've downloaded and installed CS1.2.1. My Blender is at 2.48a with python 2.5 and I installed the latest blender2crystal python scripts. Just as a proof of concept, I am trying to export the default (cube, light, camera) blender setup. When I try to run the export script, here is what shows up on the console:
Compiled with Python version 2.5.2.
 Checking for installed Python... got it!
 W:ATTENTION: 4Suite not Found!! Using xml.dom.minidom.
 W:ATTENTION: Perfomance will be degraded, please install python-4suite.
 W:ATTENTION: You can download it from
 W:ATTENTION: or install for your favourite linux distribution.
 Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File "/Library/Blender/scripts/", line 46, in <module>
     import b2cs
   File "/Library/Blender/scripts/bpymodules/b2cs/", line 49, in <module>
     import defaults
   File "/Library/Blender/scripts/bpymodules/b2cs/", line 5, in <module>
     import b2cs.metadata
   File "/Library/Blender/scripts/bpymodules/b2cs/", line 475, in <module>
     b2cs.prop.wid_keys = UiProperties()
   File "/Library/Blender/scripts/bpymodules/b2cs/", line 444, in __init__
   File "/Library/Blender/scripts/bpymodules/b2cs/", line 447, in Refresh
   File "/Library/Blender/scripts/bpymodules/b2cs/", line 450, in loadFromMetadata
     for wid in world_metadata.getNodes():
   File "/Library/Blender/scripts/bpymodules/b2cs/", line 234, in getNodes
     sect = self.getSection()
   File "/Library/Blender/scripts/bpymodules/b2cs/", line 228, in getSection
     root = self.getRoot()
   File "/Library/Blender/scripts/bpymodules/b2cs/", line 206, in getRoot
     propval = xpath(self.internalroot,"//prop[@name='metadata_file']/@value")
   File "/Library/Blender/scripts/bpymodules/b2cs/", line 56, in xml_xpath
 nodes = node.xpath(xpath)
 AttributeError: Element instance has no attribute 'xpath'

What am I doing wrong, please?
5  Crystal Space Development / Support / Re: walktest hangs, screen goes white on: October 27, 2008, 06:03:45 pm
I have the same problem on macosx 10.4, ppc when I tried to use the 1.9 version. It seems to work fine in the 1.2.1 version, though.
6  Crystal Space Development / Support / Re: Mac CS Install? on: October 26, 2008, 09:25:15 pm
The plot thickens...

I was able to get the proper (I guess) link flags using the cel-config script. But I get link errors indicating that I am trying to use i386 architecture (arch type 18) with ppc processor (arch type 7). The problem seems to be in the last two lines of:

When I remove the last two lines, I no longer have the architecture conflict, but it seems that most of the cs symbols can't be found (no such errors before adding the references to the CEL libraries). Argh! Is this a bug, or am I still missing something?

edit: upon further research, I think the problem is related to bringing in the two frameworks, AppKit and Foundation, which are universal binaries, meaning that they include both ppc and i686 variants, but the CS SDK only built ppc binaries. Ultimately, I'd want to produce universal binaries in the final product, so any ideas how to get the CS install to make both versions of the libraries?
7  Crystal Space Development / Support / Re: Mac CS Install? on: October 26, 2008, 05:21:13 pm
Here is what I got:
[Powerbook:~/cel-src-1.2.1] annelies% ./cel-config-1.2 --libs

Unfortunately, noob that I am, I don't know how to add this into the link flags to make it work. I'll switch to the 1.4 as soon as I can figure out how to make the svn work... reading the subversion guide is giving me a migraine. It doesn't seem that there are a lot of mac users working in this environment yet. When I feel more competent in this, I'll be working on some additional startup guides Smiley
8  Crystal Space Development / Support / Re: Mac CS Install? on: October 26, 2008, 04:42:56 pm
First, thank you, thank you, thank you for the quick reply.

Adding '-framework Python' fixed that issue.

I am using CEL 1.2.1.

I could not find cel-config, but cel-config-1.2 --lib was there and yielded no results.

Do you suggest I skip the 1.2 branch and begin working with 1.4 now?
9  Crystal Space Development / Support / Re: Mac CS Install? on: October 26, 2008, 04:04:15 pm
I am having a similar problem. I used 'cs-config --libs' to get the library designations for CS. I got the following:

-L././out/macosxppc/optimize/libs -lcrystalspace_python-1.2 -lcrystalspace_opengl-1.2
-lcrystalspace_macosx-1.2 -lcrystalspace-1.2  -lz -framework OpenGL -lm
-L/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3 Python -ldl  -lm -lmx -ldl

Putting the paths in the library search paths didn't seem to help, but adding the above to 'Other linker flags' did... with the exception of the word 'Python' which gives me a 'not found' error. Removing that line (every space delimited phrase becomes a new line in the get info editor window) and things seem to start working. However, adding to the mix is that I am trying to link with the CEL library as well, and I can't seem to determine the proper reference for it. Any clues?

And yes, I'm a noob to all of this so I apologize in advance if this is explained elsewhere.
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 5.806 seconds with 17 queries.