New FX API...

TheHappyFriar wrote on 10/29/2010, 4:55 AM
anyone manage to set up a MS C++ project for it? I'm having a heck of a time getting to do go with 2008 express. I see there's an OGL interface which I could have some fun with but I can't get it to compile, or really a link that says "this is the code". I found examples & include files, but when I use those I still get errors.

I'm finding C easier to compile in Linux vs this so far... :)

Comments

Marvin_Herbold wrote on 10/29/2010, 8:20 AM
I got it to compile in VS C++ 2010 express (why not update to 2010 - its way better than 2008)...

I only got as far as compiling one of the basic samples. First thing - forget trying to load their VS2005 projects. They won't be converted properly. Just start a new Windows DLL project.

What I did was I added sample basic.cpp into my new project. I added the OFX include paths to the project. There are a few bugs in the OFX headers. I had to add a header file to basic.cpp that fixed some missing structs. Then I had to fix that header file to remove a duplicate struct definition. After that, it compiled and produced a dll. I haven't actually tried the dll with Vegas yet. I think you just need to rename the extension to something like ofx and put it in the OpenFX folder... but I haven't done that yet.

Let me know how far you get!
TheHappyFriar wrote on 10/29/2010, 11:37 AM
Ah... so it's not really setup for immediate use, it's setup where you write your own plugins that access the headers. Makes more sense now, thanks. :)

I'll take a look @ 2010. I just put 08 on this year. :) I have it installed next to my .Net 2003 edition.
TheHappyFriar wrote on 10/29/2010, 6:56 PM
I can get the dll/.ofx to work in Vegas, but each time I run the one based off the basic.cpp file I'm told "scaleComponents" is corrupted.

But it works like it should, I just get a bunch of error windows I need to ignore.