-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
errors compile #34
Comments
You have to pass darwin as operating system to make, I wanted to fix the
|
I can get around this now? |
make SYS=Darwin On Mon, Jul 28, 2014 at 7:25 PM, musicman_08 notifications@github.com
|
thank you! |
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) {
~~~~~~~~~~~~~~~~~~~ ^ ~
7 warnings and 2 errors generated.
make: ** [bmdcapture] Error 1
The text was updated successfully, but these errors were encountered: