-
Notifications
You must be signed in to change notification settings - Fork 212
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
Error around make #41
Comments
I got the same thing on Mac. Were you able to fix it? |
Sry buddy, still no.. I've looked through net but can't get the solution |
I solved it. See below first lines of Makefile until "all: p2pvc". Just add the other include dir with -I and a space between to the INCDIR and the same for the library with -L and a space on the LDFLAGS. It's strange it doesn't look in /usr/local/include by default, but at least this will compile it. Hope this helps for you. CC=gcc SRCS=$(wildcard $(SRCDIR)/*.c) CFLAGS+=-O2 -Wall |
Thanks a loooooot! |
$ make
gcc -Isrc/inc -O2 -Wall -DPA_USE_COREAUDIO
pkg-config --cflags opencv
src/audio.c -c -o objs/audio.osrc/audio.c:34:10: fatal error: 'portaudio.h' file not found
include <portaudio.h>
1 error generated.
make: *** [objs/audio.o] Error 1
Hi, I believe I have installed portaudio properly, why does this show every time? I can see portaudio.h in my usr/local/include/, what should I do? Many thanks.
The text was updated successfully, but these errors were encountered: