Giter Site home page Giter Site logo

errors compile about bmdtools HOT 4 CLOSED

lu-zero avatar lu-zero commented on July 21, 2024
errors compile

from bmdtools.

Comments (4)

lu-zero avatar lu-zero commented on July 21, 2024

You have to pass darwin as operating system to make, I wanted to fix the
autoprobing later but hadn't time.
On Jul 28, 2014 5:27 PM, "musicman_08" [email protected] wrote:

not be compiled on macintosh 10.8
bmdcapture.cpp:539:39: error: cannot initialize a parameter of type
'CFStringRef ' (aka 'const __CFString *') with an rvalue of type
'BMDProbeString ' (aka 'const char *')
result = displayMode->GetName(&str);
^~~~
../../include/DeckLinkAPIModes.h:166:53: note: passing argument to
parameter
'name' here
virtual HRESULT GetName (/* out

/ CFStringRef *name) = 0; ^ bmdcapture.cpp:605:41: error: cannot
initialize a parameter of type 'CFStringRef *' (aka 'const __CFString *
')
with an rvalue of type
'BMDProbeString ' (aka 'const char *')
result = deckLink->GetModelName(&str);
^~~~
../../include/DeckLinkAPIDiscovery.h:56:58: note: passing argument to
parameter
'modelName' here
virtual HRESULT GetModelName (/* out

_/ CFStringRef modelName) = 0; ^ bmdcapture.cpp:691:29: warning: '&&'
within '||' [-Wlogical-op-parentheses] if (g_maxFrames > 0 && frameCount >=
g_maxFrames || ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
bmdcapture.cpp:691:29: note: place parentheses around the '&&' expression
to silence this warning if (g_maxFrames > 0 && frameCount >= g_maxFrames ||
^ ( ) bmdcapture.cpp:932:29: warning: comparison of unsigned expression < 0
is always false [-Wtautological-compare] if (selectedDisplayMode < 0) {

[bmdcapture] Error 1

—
Reply to this email directly or view it on GitHub
https://github.com/lu-zero/bmdtools/issues/34.

from bmdtools.

msslava avatar msslava commented on July 21, 2024

I can get around this now?

from bmdtools.

lu-zero avatar lu-zero commented on July 21, 2024

make SYS=Darwin

On Mon, Jul 28, 2014 at 7:25 PM, musicman_08 [email protected]
wrote:

I can get around this now?


Reply to this email directly or view it on GitHub
#34 (comment).

from bmdtools.

msslava avatar msslava commented on July 21, 2024

thank you!

from bmdtools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.