(I'm desperate!) Readblend library

Deanus
Posts: 6
Joined: Tue Jul 20, 2010 1:44 pm

(I'm desperate!) Readblend library

Post by Deanus »

Hi, I'd like to import some blender models into a C++ program and I read that the ReadBlend library can do this.
Could anyone out there tell me step by step the actions I need to take before I can use this library?

Tnks,
Dean
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: (I'm desperate!) Readblend library

Post by Erwin Coumans »

1) Make sure to use the latest cmake from http://cmake.org, and MSVC Visual Studio 2008 or later.
2) Download and unzip the new source code drop from Dynamica at http://code.google.com/p/dynamica/downl ... ca-src.zip
3) Start cmake-gui and enter the location of 'where is the source code' and 'where to build the binaries', generate MSVC project files (see screenshot below)
4) Open the project solution, compile
5) Select the AppBlendParse and run it, check the source code how things work in dynamica\Demos\BlendParse

Good luck,
Erwin
dynamica-cmake-msvc.png
You do not have the required permissions to view the files attached to this post.
Deanus
Posts: 6
Joined: Tue Jul 20, 2010 1:44 pm

Re: (I'm desperate!) Readblend library

Post by Deanus »

Hi, tnks for the reply...

I still have a problem. When I press configure in CMake, it tells me that Maya was not found (scr shot below). Does this mean I have to install Maya on my pc in order to be able to configure properly?

Tnks,
Dean
You do not have the required permissions to view the files attached to this post.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: (I'm desperate!) Readblend library

Post by Erwin Coumans »

That is just a warning, just ignore it.

Press 'configure' again and then 'generate'.
Thanks,
Erwin