-
Notifications
You must be signed in to change notification settings - Fork 210
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
OS X Runtime Issue #3
Comments
I'm getting the same issue on 10.9.4, also on Homebrew. It seems that the first message is because OSX doesn't have the |
I get the following errors on 10.10.2: |
+1 |
Also running from Homebrew I don't know if this is helpful or not but when I run the command ./p2pvc 127.0.0.1 -v I get the same issue as above and my terminal window freezes, however, if I enter the command ./p2pvc 127.0.0.1 without the W: [] caps.c: Normally all extra capabilities would be dropped now, but that's impossible because PulseAudio was built without capabilities support.
Connection failure: Connection refused
<my-prompt>$ |
OS X Yosemite 10.10.2 When I run as admin user i get: W: [] caps.c: Normally all extra capabilities would be dropped now, but that's impossible because PulseAudio was built without capabilities support. when i run as root i get: |
did some investigating:
|
The same problem on 10.9.5. |
It seems that pulse audio may not be the way to go with OSX. I going to try to switch the audio system to Port Audio. |
if anyone is willing, could you try pulling and testing the portaudio branch? regardless of OS. |
Yeah, I’m gonna try it. |
Well, it compiles fine (but with warnings), microphone works, camera turns on, but it doesn’t show any picture. |
did you test ./p2pvc 127.0.0.1 -v? |
Yeah, of course. |
hmmm. good the mic works but it is surprising that the video doesn't... |
I get the same thing. Here is my bash history if these warnings/errors mean anything to you (1 was me not installing portaudio before trying to make).
|
try pulling the latest from portaudio, it should work now |
The build now fails complaining about CLOCK_MONOTONIC not existing (it's not available on OSX): ☁ p2pvc [portaudio] make
uname: illegal option -- o
usage: uname [-amnprsv]
gcc -Isrc/inc -O2 -Wall -DPA_USE_COREAUDIO `pkg-config --cflags opencv` src/audio.c -c -o objs/audio.o
gcc -Isrc/inc -O2 -Wall -DPA_USE_COREAUDIO `pkg-config --cflags opencv` src/display.c -c -o objs/display.o
gcc -Isrc/inc -O2 -Wall -DPA_USE_COREAUDIO `pkg-config --cflags opencv` src/p2plib.c -c -o objs/p2plib.o
src/p2plib.c:276:7: warning: implicit declaration of function 'clock_gettime' is invalid in C99
[-Wimplicit-function-declaration]
clock_gettime(CLOCK_MONOTONIC, &prevPacket);
^
src/p2plib.c:276:21: error: use of undeclared identifier 'CLOCK_MONOTONIC'
clock_gettime(CLOCK_MONOTONIC, &prevPacket);
^
src/p2plib.c:279:21: error: use of undeclared identifier 'CLOCK_MONOTONIC'
clock_gettime(CLOCK_MONOTONIC, &currPacket);
^
src/p2plib.c:281:21: error: use of undeclared identifier 'CLOCK_MONOTONIC'
clock_gettime(CLOCK_MONOTONIC, &prevPacket);
^
1 warning and 3 errors generated.
make: *** [objs/p2plib.o] Error 1 |
that may be fixed as of now, I #ifdef'd it away. |
Resolved. New bugs should open a new issue. |
Running on OS X (10.10.1) results in the following error when built with homebrew pulseaudio and openvc:
The text was updated successfully, but these errors were encountered: