Building w/o Blackmagic SDK?

94 views
Skip to first unread message

Kit Peters

unread,
Dec 12, 2011, 2:56:28 PM12/12/11
to openr...@googlegroups.com
I've switched the output class in core/playoutd.cpp from "DecklinkOutput" to "StdoutOutput", but when I try to build openreplay, I get the error:

make: *** No rule to make target `/home/armena/opt/bmd_sdk/Linux/include/DeckLinkAPIDispatch.cpp', needed by `playoutd'.  Stop.

I'd just download the Blackmagic SDK, but their download site is down ATM.


--
Kit Peters, W0KEH
GPG public key fingerpint: 1A12 04B6 0C80 306A B292  14FD 2C7A 1037 F666 46A7

Andrew Armenia

unread,
Dec 12, 2011, 3:12:41 PM12/12/11
to openr...@googlegroups.com
I'd suggest editing the Makefile to remove references to DeckLinkAPIDispatch.cpp. Should clean that up.

-Andrew

Kit Peters

unread,
Dec 12, 2011, 3:20:54 PM12/12/11
to openr...@googlegroups.com
I tried that, and also changed the line "out = new DecklinkOutput(&evtq, 0);" to "out = new StdoutOutput(&evtq);".  Now I get the error:

playoutd.cpp:288: error: "floorf" was not declared in this scope

KP

Andrew Armenia

unread,
Dec 12, 2011, 3:22:46 PM12/12/11
to openr...@googlegroups.com
Hmmm... stick a #include <math.h> somewhere near the top of playoutd.cpp. Should fix it.

-Andrew

Kit Peters

unread,
Dec 12, 2011, 3:40:42 PM12/12/11
to openr...@googlegroups.com
And now:

ffoutput.cpp: In function âint main(int, char**)â:
ffoutput.cpp:245: error: expected type-specifier before âDecklinkOutputâ
ffoutput.cpp:245: error: cannot convert âint*â to âOutputAdapter*â in assignment
ffoutput.cpp:245: error: expected `;' before âDecklinkOutputâ

KP

Andrew Armenia

unread,
Dec 12, 2011, 3:51:08 PM12/12/11
to openr...@googlegroups.com
If you don't need the 'ffoutput' program, try just 'make sdl_gui playoutd v4l2_ingest'... looks like it's trying to build the 'ffoutput' program with the DeckLink driver.

-Andrew

Kit Peters

unread,
Dec 12, 2011, 4:03:37 PM12/12/11
to openr...@googlegroups.com
That worked!  Now to mess around!

KP
Reply all
Reply to author
Forward
0 new messages