-
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
Issue in installing in Ubuntu 12.04 #14
Comments
what do you get when you run |
@siddharthgoel88 can you try again? |
It still does not worked for me. |
Can you check your opencv installation. It seems like the header for the library isn't where the compiler is looking for it. |
First point is that I do not have opencv installed but opencv2 got installed when I tried to install opencv through command line. Second that also does not have cv.h file. Look at the directory structure below - opencv2/ 12 directories, 71 files |
on my machine there is a file |
Same error here on ubuntu 14.04. I guess its something with opencv gcc -Isrc/inc -O2 -Wall -DPA_USE_ALSA |
i have the same problem : what's wrong? My system is ubuntu14.04 |
what version of portaudio are you running? |
root@zphj1987-virtual-machine:~/p2p/p2pvc-master# dpkg --list|grep portaudio |
could you try installing 19? |
I just tried apt-get install, and from the installation message, I guess its 18.1-7.1 |
i install portaudio19-dev it to be well but have new problem root@zphj1987-virtual-machine:~/p2p/p2pvc-master# make |
what is the output of |
root@zphj1987-virtual-machine:~/p2p/p2pvc-master# pkg-config --libs opencv i do the |
cool, thanks. I'll add it to the makefile |
Post installation of the ibncurses-dev libopencv-dev libpulse-dev I was compiling the source code and I got the following error -
mkdir -p objs
gcc -Isrc/inc -O2 -Wall
pkg-config --cflags opencv
src/audio.c -c -o objs/audio.osrc/audio.c: In function ‘stream_write_callback’:
src/audio.c:75:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ [-Wformat]
src/audio.c:77:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ [-Wformat]
src/audio.c:77:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ [-Wformat]
src/audio.c:77:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ [-Wformat]
src/audio.c:85:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ [-Wformat]
src/audio.c:85:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ [-Wformat]
src/audio.c:85:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ [-Wformat]
src/audio.c: In function ‘stream_read_callback’:
src/audio.c:109:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ [-Wformat]
src/audio.c: In function ‘callback’:
src/audio.c:241:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ [-Wformat]
src/audio.c:241:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ [-Wformat]
src/audio.c:247:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ [-Wformat]
src/audio.c:251:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ [-Wformat]
src/audio.c:261:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ [-Wformat]
gcc -Isrc/inc -O2 -Wall
pkg-config --cflags opencv
src/display.c -c -o objs/display.ogcc -Isrc/inc -O2 -Wall
pkg-config --cflags opencv
src/p2plib.c -c -o objs/p2plib.ogcc -Isrc/inc -O2 -Wall
pkg-config --cflags opencv
src/p2pvc.c -c -o objs/p2pvc.ogcc -Isrc/inc -O2 -Wall
pkg-config --cflags opencv
src/video.c -c -o objs/video.osrc/video.c:1:16: fatal error: cv.h: No such file or directory
compilation terminated.
make: *** [objs/video.o] Error 1
The text was updated successfully, but these errors were encountered: