OT ish COLLADA for Maya and Visual C++

Date : Wed, 19 Jul 2006 11:21:35 -0700
To : xsi(at)Softimage.COM
From : Adam Sale <adamsale(at)shaw.ca>
Subject : OT ish COLLADA for Maya and Visual C++
I downloaded and installed Collada 2.02 for Maya, but can't get it to successfully import or export anything from XSI.. 

The install instructions require Microsoft. NET 2003 to compile, which I do not have. 
I downloaded the free Visual C++ express edition and was able to read and build the files, but I get an error on the build..

It looks like this:

'snip

------ Build started: Project: FMath, Configuration: Debug DLL Win32 ------
Compiling...
StdAfx.cpp
d:\mayastuff\colladamaya202\fcollada\futils\platforms.h(47) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Build log was saved at "file://d:\MAYASTUFF\colladaMaya202\FCollada\Output\Debug DLL\FMath\Intermediate\BuildLog.htm"
FMath - 1 error(s), 0 warning(s)
------ Build started: Project: FUtils, Configuration: Debug DLL Win32 ------
Compiling...
StdAfx.cpp
d:\mayastuff\colladamaya202\fcollada\futils\platforms.h(47) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Build log was saved at "file://d:\MAYASTUFF\colladaMaya202\FCollada\Output\Debug DLL\FUtils\Intermediate\BuildLog.htm"
FUtils - 1 error(s), 0 warning(s)
------ Build started: Project: LibXML, Configuration: Debug DLL Win32 ------
Compiling...
nanoftp.c
d:\mayastuff\colladamaya202\fcollada\libxml\include\wsockcompat.h(12) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
nanohttp.c
d:\mayastuff\colladamaya202\fcollada\libxml\include\wsockcompat.h(12) : fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory
Generating Code...
Build log was saved at "file://d:\MAYASTUFF\colladaMaya202\FCollada\Output\Debug DLL\LibXML\Intermediate\BuildLog.htm"
LibXML - 2 error(s), 0 warning(s)
------ Build started: Project: FCollada, Configuration: Debug DLL Win32 ------
Compiling...
StdAfx.cpp
d:\mayastuff\colladamaya202\fcollada\fcollada.h(26) : fatal error C1189: #error :  DO NOT USE THE DLL VERSION: IT IS STILL IN PROGRESS.
Build log was saved at "file://d:\MAYASTUFF\colladaMaya202\FCollada\Output\Debug DLL\FCollada\Intermediate\BuildLog.htm"
FCollada - 1 error(s), 0 warning(s)
------ Build started: Project: ColladaMaya, Configuration: Maya7.0Debug Win32 ------
Compiling...
StdAfx.cpp
C:\Program Files\Alias\Maya7.0\include\maya/MTypes.h(128) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Project : warning PRJ0018 : The following environment variables were not found:
$(MAYA_PATH70)
Build log was saved at "file://d:\MAYASTUFF\colladaMaya202\ColladaMaya\Maya7.0Debug\BuildLog.htm"
ColladaMaya - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 5 failed, 0 up-to-date, 0 skipped ==========

'snip

The errors I am getting seem to be due to the compilers inability to find a few .h files, which when looking through the Collada zip file, do not seem to be present. 

Am I going about this right, do I need the 2003 edition to compile correctly? 

The documentation for installing this on the Maya side is somewhat dodgy. 

I know a few of you must have already come up on this problem, I would really appreciate any thoughts or pointers on this..

Thanks 

Adam





---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.