From: Vincent K. <vk...@cl...> - 2007-10-31 17:46:20
|
> Thanks Pablo. > I typed the export command at a cygwin bash prompt. > Do now have to recompile CS and CEL? > > Thanks, Rob Yes, you must relaunch ./configure for CS (preferably after "jam distclean"). Then pay attention to configure output, you should see something like: checking for python... python checking for python SDK... yes checking if python SDK is usable... yes If those tests don't succeed, no need to rebuild CS or CEL, you won't have python support. Note that you may need to use Cygwin-type path in your export command, like: (assuming Python is installed in C:\Python25) export PYTHON=/cygdrive/c/Python25/python.exe If it doesn't work, try with export PYTHON="C:\Python25\python.exe" You may also try to add C:\Python25 to your PATH environment variable. Once the tests cited above succeed, you'll have to jam/rebuild CS, then reconfigure and rebuild CEL too. Good luck ;-) > ----- Original Message ----- > From: "Pablo Martin" <ca...@si...> > To: <cel...@li...> > Sent: Wednesday, October 31, 2007 12:44 PM > Subject: Re: [Cel-main] Need help with python Bindings > > >> Hi! >> >> Maybe: >> >> export PYTHON=PATH_TO_PYTHON.EXE >> >> (including python.exe itself) >> helps ./configure to find python... >> >> Greetings >> >> Pablo >> >> Rachel and Rob wrote: >>> Thanks to those who've tried to help so far. >>> >>> I've installed CS 1.2 and CEL 1.2, but the python stuff isn't showing >>> up (no blpython.dll in the cel >>> directory and no Python stuff in the jamconfig file; nor can I run the >>> test >>> programs that are supposed to verify that the python bindings are working >>> properly) >>> >>> I can run walktest and walktut without problems, but when I try to use >>> Celexport on Blender2crystal I get the error message: >>> Fatal Error: crystalspace.application.celstart: can't load behavior >>> layer "blpython" with id "cel.behavior.layer.python" >>> >>> I've described my installation process below in hopes someone can tell me >>> where I went wrong and what I should try from here: >>> >>> I started with the following already installed: Blender 2.45; Python >>> 2.51; >>> PIL -1.1.6win32-Py2.5; pywin32; and PyXML; Blender2crystal, and SWIG >>> >>> From there, I deleted my old f:\cs and f:\cel folders and created new >>> ones >>> at the same locations, where I placed cs1.2 and cel 1.2. >>> Next, at the cygwin bash prompt, I did export CRYSTAL=/cygdrive/f/cs and >>> export CEL=/cygdrive/f/cel. >>> Then cd f:/cs >> ./configure >> jam all >>> Followed by cd f:/cel >> ./configure >> jam all >>> I then installed the latest version of cs-win32libs which automatically >>> removes prior versions >>> >>> System specs are: Windows Professional XP, Service pack 2 on a Dell >>> Dimension 8300, Pentium IV; 2.6 GHz, with 1GB RAM and an nVidia GeoForce >>> 5200 video card. >>> >>> Thanks for any help with >>> 1) Getting the Python bindings to work so I can use celexport on >>> Blender2crystal >>> 2) Getting walktut to work (?Plugins problem) >>> >>> Rob >>> >>> >>> >>> >>> >>> ----- Original Message ----- >>> From: "Vincent Knecht" <vk...@cl... >>> <mailto:vk...@cl...>> >>> To: <cel...@li... >>> <mailto:cel...@li...>> >>> Sent: Friday, October 26, 2007 6:57 PM >>> Subject: Re: [Cel-main] Need help with Blender2crystal >>> >>> >>> >> Thanks for the follow up. >>> >> >>> >> When I downloaded SWIG initially, I don't think I ever ran through the >>> >> process of actually setting it up (with ./configure; make; and make >>> >> install), and it looks like that may be needed to get python set up >>> >> properly >>> >> with crystal space. >>> >> >>> >> I've now installed SWIG, and I'm recompiling CS. >>> >> >>> >> >>> >> If that doesn't work, how do I check the configure output? >>> >> >>> >> Thanks >>> > >>> > Hello, >>> > >>> > please first try with 1.2.0 (final, not rc2, for both CS & CEL). >>> > Maybe at that time there were problems with python 2.5 when swig was >>> > not >>> > installed, don't remember exactly. >>> > As for checking if python was properly detected by either CS and CEL, >>> > either >>> > carefuly check output of configure scripts for them, or look for >>> PYTHON in >>> > Jamconfig files; you should see something like: >>> > >>> > PYTHON ?= "python" ; >>> > PYTHON.MODULE_EXT ?= ".so" ; >>> > PYTHON.AVAILABLE ?= "yes" ; >>> > PYTHON.CFLAGS ?= "-I/usr/include/python2.4" ; >>> > PYTHON.LFLAGS ?= >>> > "-L/usr/lib/python2.4 -lpython2.4 -lpthread -ldl -lutil -lm >>> > -lpthread" ; >>> > >>> > Note that if python was not properly detected at CS' configure step >>> (ie. >>> > you >>> > miss python-dev[el] package), you won't get python support for CEL >>> > neither... >>> > >>> >> ----- Original Message ----- >>> >> From: "Amir Taaki" <ami...@gm... >>> >> <mailto:ami...@gm...>> >>> >> To: <cel...@li... >>> <mailto:cel...@li...>> >>> >> Sent: Friday, October 26, 2007 1:31 PM >>> >> Subject: Re: [Cel-main] Need help with Blender2crystal >>> >> >>> >> >>> >>> (I was on way out so I just made a quick question) >>> >>> >>> >>> Just in the root directory of cel, there should be blpython.dll. If >>> >>> it >>> >>> isn't >>> >>> there, it means that python support in cel did not get built. Did you >>> >>> check >>> >>> the configure output? >>> >>> >>> >>> Good luck :) >>> >>> >>> >>> On Friday 26 Oct 2007, Rachel and Rob wrote: >>> >>>> No. I just looked in my cel directory and don't see it there. >>> >>>> Is there a specific folder I should look in? >>> >>>> Or can you tell me how to get the proper dll file? >>> >>>> >>> >>>> Thanks, Rob >>> >>>> ----- Original Message ----- >>> >>>> From: "Amir Taaki" <ami...@gm... >>> <mailto:ami...@gm...>> >>> >>>> To: <cel...@li... >>> <mailto:cel...@li...>> >>> >>>> Sent: Friday, October 26, 2007 10:08 AM >>> >>>> Subject: Re: [Cel-main] Need help with Blender2crystal >>> >>>> >>> >>>> > Hi! Do you have blpython.dll inside cel? >>> >>>> > >>> >>>> > On Friday 26 Oct 2007, Rachel and Rob wrote: >>> >>>> >> Hi. >>> >>>> >> >>> >>>> >> I'm able to use Blender2Crystal to export my map so i can walk >>> >>>> >> around >>> >>>> >> the geometry, but when I highlight the celexport tab and hit >>> Run I >>> >>>> >> get >>> >>>> >> the following message: >>> >>>> >> >>> >>>> >> Fatal Error: crystalspace.application.celstart: can't load >>> behavior >>> >>>> >> layer "blpython" with id "cel.behavior.layer.python" >>> >>>> >> >>> >>>> >> I have selected 1 mesh as Player and set its ?behavior? to Actor >>> >>>> >> >>> >>>> >> Any help would be appreciated. >>> >>>> >> >>> >>>> >> My specs are below: >>> >>>> >> Crystal Space 1.2rc2 installed and running properly at f:\cs >>> >>>> >> CEL 1.2rc2 in f:\CEL. >>> >>>> >> crystal space and CEL environmental variables set to CRYSTAL = >>> f:\cs >>> >>>> >> and >>> >>>> >> CEL = f:\cel Windows Professional XP, Service pack 2 on a Dell >>> >>>> >> Dimension >>> >>>> >> 8300, Pentium IV; 2.6 GHz, with 1GB RAM and an nVidia GeoForce >>> 5200 >>> >>>> >> video card. Python 2.5.1 and Blender 2.45. >>> >>>> >> I've also installed latest Cygwin, cs-win32libs; PIL - >>> >>>> >> 1.1.6win32-Py2.5; >>> >>>> >> pywin32; and PyXML in the Python2.5 Folder >>> >>>> >> >>> >>>> >> >>> >>>> >> Thanks for any help, >>> >>>> >> Rob >>> ------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Splunk Inc. >>> Still grepping through log files to find problems? Stop. >>> Now Search log events and configuration files using AJAX and a browser. >>> Download your FREE copy of Splunk now >> http://get.splunk.com/ >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Cel-main mailing list >>> Cel...@li... >>> https://lists.sourceforge.net/lists/listinfo/cel-main >>> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Cel-main mailing list >> Cel...@li... >> https://lists.sourceforge.net/lists/listinfo/cel-main >> >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.503 / Virus Database: 269.15.15/1101 - Release Date: >> 10/31/2007 10:06 AM >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Cel-main mailing list > Cel...@li... > https://lists.sourceforge.net/lists/listinfo/cel-main > � > > |