Collada CLI on linux

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Collada CLI on linux

Postby perkins » Sat Apr 19, 2014 1:14 am

So what are the odds of getting the collada converter working on linux, ideally as either a shared library or a simple executable? It happens to be the one format all the tools I'm using support, so it'd be great to get it working with Newton too. It currently resides as a plugin for the newton model editor, which doesn't just compile on linux, and doesn't seem to build dCollada by default anyway. dllmain.cpp for dCollada depends on windows.h, which isn't available on linux...
perkins
 
Posts: 22
Joined: Sat Dec 24, 2011 9:41 pm

Re: Collada CLI on linux

Postby Julio Jerez » Sun Apr 20, 2014 10:42 am

that module is a plugin ing, has you tried removing the windows.h file.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Collada CLI on linux

Postby perkins » Sun Apr 20, 2014 3:24 pm

Yeah, it complains about other missing headers, which I can track down, but eventually fails with wxgtk related stuff. I'm trying to compile just the import and export code and cut out all the graphics stuff, I'll update with how it goes once I'm done.
perkins
 
Posts: 22
Joined: Sat Dec 24, 2011 9:41 pm

Re: Collada CLI on linux

Postby perkins » Sun Apr 20, 2014 4:28 pm

Okay, I managed to get a stripped version of ColladaImport to compile, I don't think I removed anything critical to its operation. I notice that large sections are commented out, for example ColladaImport::Import does nothing, since it is the only function that takes a filename as an argument, I'm not certain how to go about using this library. Should I maybe go hunting through svn for an older version of it?
perkins
 
Posts: 22
Joined: Sat Dec 24, 2011 9:41 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron