AWD2 exporter build error

Software: Away3D 4.x

Tom.de, Newbie
Posted: 27 April 2012 12:59 PM   Total Posts: 30

Hi,

I have recently started looking into integrating animations into my project.
I started investigating the new AWD format, the examples worked like a charm, therefore I decided to go with AWD.

Next step would have been to get an exporter for our Artist to use with Maya2011.
I went to http://code.google.com/p/awd/ and followed the build instructions too the letter…

Unfortunately I can not build the sdk.
libawd builds fine, but pyawd fails every time with the following main errors:

Error 1 error C2065: ‘AWDMeshData’ : undeclared identifier C:gitSoftwareAWDawdsdkspython-pyawdsrcutilsbuild_geom.cc 16 1 pyawd

Error 3 error C2065: ‘AWDSubMesh’ : undeclared identifier C:gitSoftwareAWDawdsdkspython-pyawdsrcutilsbuild_geom.cc 18 1 pyawd

Now I can see these being declared in geom.py which lies in sdkspython-pyawdsrcpyawd but they are not linked in any way to the project?

I am not sure what I am doing wrong. Any suggestions? Does anyone have the necessary files in an already compiled form?

My fall-back plan would be to start investigating the MD5 file format, but if possible I’d like to stick to AWD.

   

jamieowen, Newbie
Posted: 01 May 2012 10:35 AM   Total Posts: 2   [ # 1 ]

Hello Away3d.

I get a similar problem compiling awd for mac osx
(10.7.3) as well.

libawd compiles fine.

But python-pyawd ( compiled with maya python )
I get this error :

jamie-macbook:python-pyawd jamieowen$ /Applications/Autodesk/maya2011/Maya.app/Contents/bin/mayapy setup.py install
running install
running build
running build_py
running build_ext
building 
'pyawd.cpyawd' extension
gcc 
-arch i386 -arch x86_64 -isysroot / -fno-strict-aliasing -fno-common -dynamic -DNDEBUG --fwrapv -O3 -Wall -Wstrict-prototypes -DPYTHON_VERSION=-Iinclude -I/usr/local/include -I/Applications/Autodesk/maya2011/Maya.app/Contents/Frameworks/Python.framework/Versions/Current/include/python2.6 -c src/prepgeom.cc -o build/temp.macosx-10.5-intel-2.6/src/prepgeom.o
cc1plus
warningcommand line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
src/prepgeom.ccIn function ‘void __prepare_mesh_data(PyObject*, AWD*, pyawd_bcache*):
src/prepgeom.cc:19error‘AWDMeshData’ was not declared in this scope
src
/prepgeom.cc:19error‘lawd_md’ was not declared in this scope
src
/prepgeom.cc:26errorexpected type-specifier before ‘AWDMeshData’
src
/prepgeom.cc:26errorexpected `;' before ‘AWDMeshData’
src/prepgeom.cc:32: error: ‘AWDSubMesh’ was not declared in this scope
src/prepgeom.cc:32: error: ‘lawd_sub’ was not declared in this scope
src/prepgeom.cc:38: error: expected type-specifier before ‘AWDSubMesh’
src/prepgeom.cc:38: error: expected 
`;' before ‘AWDSubMesh’
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
src/prepgeom.cc: In function ‘void __prepare_mesh_data(PyObject*, AWD*, pyawd_bcache*)’:
src/prepgeom.cc:19: error: ‘AWDMeshData’ was not declared in this scope
src/prepgeom.cc:19: error: ‘lawd_md’ was not declared in this scope
src/prepgeom.cc:26: error: expected type-specifier before ‘AWDMeshData’
src/prepgeom.cc:26: error: expected `;' 
before ‘AWDMeshData’
src
/prepgeom.cc:32error‘AWDSubMesh’ was not declared in this scope
src
/prepgeom.cc:32error‘lawd_sub’ was not declared in this scope
src
/prepgeom.cc:38errorexpected type-specifier before ‘AWDSubMesh’
src
/prepgeom.cc:38errorexpected `;' before ‘AWDSubMesh’
lipo: can't figure out the architecture type of: /var/folders/89/y3wyx90n643g3dr_4r_x8qtw0000gn/T//ccBWMWkq.out
error: command 'gcc' failed with exit status 1 

I will investigate other formats for now.
Thanks for all the work on away3d..

Jamie

 

 

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X