Hey Richard- I just tried to set up a Tortoise SVN checkout but am getting not allowed errors. Can you set that up to be a read only check out so I can keep up with the changes?
AWD2 status?Software: Away3D 4.x |
||
|
||
|
||
|
||
Choons, Sr. Member
Posted: 11 August 2011 11:28 PM Total Posts: 281 [ # 19 ] I managed to get Python to build by removing bz2, _tkinter, _ssl, and _sqlite3 I moved on to compiling the AWD SDK with sdk.sln. It built the libawd with 20 warnings about things like warning C4267: ‘=’ : conversion from ‘size_t’ to ‘int’, possible loss of data but no errors. The pyawd compile failed with these errors python-pyawd\src\cio.cc(70) : error C3861: ‘Py_InitModule’: identifier not found python-pyawd\src\prepattr.cc(31) : error C3861: ‘PyString_Check’: identifier not found python-pyawd\src\prepmaterial.cc(40) : error C3861: ‘PyInt_Check’: identifier not found python-pyawd\src\prepmaterial.cc(41) : error C3861: ‘PyInt_AsLong’: identifier not found python-pyawd\src\util.cc(18) : error C3861: ‘PyNumber_Int’: identifier not found python-pyawd\src\util.cc(37) : error C3861: ‘PyString_AsString’: identifier not found python-pyawd\src\util.cc(38) : error C3861: ‘PyString_Size’: identifier not found |
||
Ringo Blanken, Administrator
Posted: 12 August 2011 07:20 AM Total Posts: 120 [ # 20 ] Just gave it a try in VC++2010 and getting errors like: What Python version are you using Richard ? |
||
Choons, Sr. Member
Posted: 13 August 2011 12:59 AM Total Posts: 281 [ # 21 ] I think it’s just the paths on the import calls? I’m working on getting everything into a single monolithic .py script for a Blender exporter the same way that the FBX and 3DS exporter scripts are designed. Crash course in Python underway since it’s not my strong suit in scripting languages. |
||
Choons, Sr. Member
Posted: 13 August 2011 03:53 AM Total Posts: 281 [ # 22 ] well I think I’m almost there. I took all the classes and combined them into a single file here http://code.google.com/r/chadkimrey-awdblender/source/browse/exporters/blender1.py I loaded in the script to Blender 2.58 and it almost ran, but the file output threw a Permission Denied exception. I had to comment out the mc.warning on line 892 since mc wasn’t defined and changing it just warning didn’t help either. No biggie there as for feedback only. The script fails though right at the end when it tries to write to the file. Here’s the error Traceback IOError: [Errno 13] Permission denied: ‘blendout.awd’ So it just looks like there’s a basic file io setting that needs adjusting for Python 3.2.1 and Blender 2.58 to use the script. Really close to working in pure Python form using Blender’s bundled Python build |
||
|
||
|
||
|
||
John Brookes, Moderator
Posted: 02 September 2011 07:34 PM Total Posts: 732 [ # 26 ] Just got a new pc, so now on 64 bit win 7. Also how do you know what failed when you get something like |