BRAW SDK 1.3 windows missing files

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

dekekincaid

  • Posts: 1
  • Joined: Wed Feb 13, 2019 4:10 am
  • Real Name: Deke Kincaid

BRAW SDK 1.3 windows missing files

PostWed Jun 05, 2019 1:34 am

It appears that the BRAW SDK 1.3 for windows is missing files:

BlackmagicRawAPIDispatch.h has this line:

#include "BlackmagicRawAPI.h"

but that file is missing from the download under windows(included in linux/macos).
Offline

CaptainHook

Blackmagic Design

  • Posts: 2056
  • Joined: Wed Aug 22, 2012 4:50 am
  • Location: Melbourne, Australia
  • Real Name: Hook

Re: BRAW SDK 1.3 windows missing files

PostWed Jun 05, 2019 11:12 pm

BlackmagicRawAPI.h is generated at compile time from BlackmagicRawAPI.idl.
If you load and compile one of the samples you will see this happen.
**Any post by me prior to Aug 2014 was before i started working for Blackmagic**
Offline

ssontech

  • Posts: 2
  • Joined: Fri May 01, 2020 6:57 pm
  • Real Name: Russ Andersson

Re: BRAW SDK 1.3 windows missing files

PostFri May 01, 2020 7:17 pm

Can I just use the .h from macOS or Linux?

There are at least 2 problems with having to compile the .h file for me:
1) BMD installs itself into /Program Files (x86), so Windows has protection issues with anyone being able to change it... MSVC wants to use a temporary directory so it won't actually create the .h in the right spot, or I have to mess with the permissions, either of which are inconvenient at least.

2) The project is set up to use VS2017, but I run VS2015 due to all the different things being tied together. The build fails, even after messing around a bit with the project file to switch it down to v140 instead of v141.

So my vote is that it would be a lot simpler just to put the .h file in there in the first place instead of making everyone repeat the same work....

For now, it's all engines full stop while I try to find a workaround for this missing file.
Offline
User avatar

antoine

  • Posts: 498
  • Joined: Sat Nov 24, 2018 2:20 am
  • Real Name: Antoine Dornstetter

Re: BRAW SDK 1.3 windows missing files

PostSat May 02, 2020 7:06 am

I'm not sure you can use the .h from Linux or OSX...

For 1) it would be easier if you copied locally (as a local library) the BRAW SDK

2) I could downgrade to v140 and it has nothing to do with the .h
BRAW Studio FREE and Premium for Adobe Premiere Pro and After Effects, with a brand new Desktop .BRAW Player and Color Grader, as well as an automatic White Balance Color Picker tool
Offline

Hendrik Proosa

  • Posts: 3029
  • Joined: Wed Aug 22, 2012 6:53 am
  • Location: Estonia

Re: BRAW SDK 1.3 windows missing files

PostSun May 03, 2020 4:58 pm

In win, generate header and c interface file like this:
Use the MIDL utility in VS for this (using the VS command prompt), with command:

midl /env x64 /header path-to-header\blackmagicrawapi.h /iid path-to-interfacedefinition\blackmagicrawapi_i.c path-to-idl\blackmagicrawapi.idl.

With .h and .c extracted, everything should be there to compile with braw sdk. I have used it for both my braw player and braw reader plugin for Nuke.
I do stuff.

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 7 guests