byulparan / common-cv Goto Github PK
View Code? Open in Web Editor NEWThe OpenCV binding library for CommonLisp
The OpenCV binding library for CommonLisp
when i try to load the system with quicklisp i get the following:
Unable to load foreign library (LIBOPENCV_WRAP-742).
Error opening shared object "/home/amsha/quicklisp/local-projects/common-cv/C/libopencv_wrap":
/home/amsha/quicklisp/local-projects/common-cv/C/libopencv_wrap: undefined symbol: cvQueryHistValue_3D.
I tried manually running make
, i got the following:
cc `pkg-config --cflags opencv` -std=c99 -fPIC -c -o IplImage.o IplImage.c
cc `pkg-config --cflags opencv` -std=c99 -fPIC -c -o filter.o filter.c
filter.c: In function ‘cv_CvtPixToPlane’:
filter.c:47:3: warning: implicit declaration of function ‘cvCvtPixToPlane’ [-Wimplicit-function-declaration]
cvCvtPixToPlane(src, dst0,dst1,dst2,dst3);
^~~~~~~~~~~~~~~
cc `pkg-config --cflags opencv` -std=c99 -fPIC -c -o draw.o draw.c
cc `pkg-config --cflags opencv` -std=c99 -fPIC -c -o imageproc.o imageproc.c
cc `pkg-config --cflags opencv` -std=c99 -fPIC -c -o hist.o hist.c
hist.c: In function ‘cv_QueryHistValue_1D’:
hist.c:6:10: warning: implicit declaration of function ‘cvQueryHistValue_1D’ [-Wimplicit-function-declaration]
return cvQueryHistValue_1D(hist, idx0);
^~~~~~~~~~~~~~~~~~~
hist.c: In function ‘cv_QueryHistValue_2D’:
hist.c:10:10: warning: implicit declaration of function ‘cvQueryHistValue_2D’ [-Wimplicit-function-declaration]
return cvQueryHistValue_2D(hist, idx0, idx1);
^~~~~~~~~~~~~~~~~~~
hist.c: In function ‘cv_QueryHistValue_3D’:
hist.c:14:10: warning: implicit declaration of function ‘cvQueryHistValue_3D’ [-Wimplicit-function-declaration]
return cvQueryHistValue_3D(hist, idx0, idx1, idx2);
^~~~~~~~~~~~~~~~~~~
hist.c: In function ‘cv_QueryHistValue_nD’:
hist.c:18:10: warning: implicit declaration of function ‘cvQueryHistValue_nD’ [-Wimplicit-function-declaration]
return cvQueryHistValue_nD(hist, idx);
^~~~~~~~~~~~~~~~~~~
cc `pkg-config --cflags opencv` -std=c99 -fPIC -c -o contours.o contours.c
cc -shared -o libopencv_wrap IplImage.o filter.o draw.o imageproc.o hist.o contours.o `pkg-config --libs opencv`
If i am correct the functions cv_QueryHistValue_*D
is deprecated. Any workarounds?
Currently, this project is listed on https://github.com/CodyReichert/awesome-cl, but with "no license specified".
Please consider adding a file called LICENSE or COPYING containing the license text. I'd also suggest mentioning the license in the README, and maybe linking to the license file there.
Hi, I'm trying to compile C codes inside C directory, but I cannot...
Could you tell me which part to fix in makefile?
$ make
cc `pkg-config --cflags opencv` -std=c99 -fPIC -c -o IplImage.o IplImage.c
In file included from IplImage.c:2:
In file included from /usr/local/Cellar/opencv/3.3.1/include/opencv/highgui.h:45:
In file included from /usr/local/Cellar/opencv/3.3.1/include/opencv2/core/core_c.h:48:
/usr/local/Cellar/opencv/3.3.1/include/opencv2/core/types_c.h:929:13: warning:
implicit declaration of function 'cvRound' is invalid in C99
[-Wimplicit-function-declaration]
ipt.x = cvRound(point.x);
^
1 warning generated.
cc `pkg-config --cflags opencv` -std=c99 -fPIC -c -o filter.o filter.c
In file included from filter.c:2:
In file included from /usr/local/Cellar/opencv/3.3.1/include/opencv/cv.h:63:
In file included from /usr/local/Cellar/opencv/3.3.1/include/opencv2/core/core_c.h:48:
/usr/local/Cellar/opencv/3.3.1/include/opencv2/core/types_c.h:929:13: warning:
implicit declaration of function 'cvRound' is invalid in C99
[-Wimplicit-function-declaration]
ipt.x = cvRound(point.x);
^
filter.c:47:3: warning: implicit declaration of function
'cvCvtPixToPlane' is invalid in C99
[-Wimplicit-function-declaration]
cvCvtPixToPlane(src, dst0,dst1,dst2,dst3);
^
2 warnings generated.
cc `pkg-config --cflags opencv` -std=c99 -fPIC -c -o draw.o draw.c
In file included from draw.c:2:
In file included from /usr/local/Cellar/opencv/3.3.1/include/opencv/highgui.h:45:
In file included from /usr/local/Cellar/opencv/3.3.1/include/opencv2/core/core_c.h:48:
/usr/local/Cellar/opencv/3.3.1/include/opencv2/core/types_c.h:929:13: warning:
implicit declaration of function 'cvRound' is invalid in C99
[-Wimplicit-function-declaration]
ipt.x = cvRound(point.x);
^
1 warning generated.
cc `pkg-config --cflags opencv` -std=c99 -fPIC -c -o imageproc.o imageproc.c
In file included from imageproc.c:2:
In file included from /usr/local/Cellar/opencv/3.3.1/include/opencv/highgui.h:45:
In file included from /usr/local/Cellar/opencv/3.3.1/include/opencv2/core/core_c.h:48:
/usr/local/Cellar/opencv/3.3.1/include/opencv2/core/types_c.h:929:13: warning:
implicit declaration of function 'cvRound' is invalid in C99
[-Wimplicit-function-declaration]
ipt.x = cvRound(point.x);
^
1 warning generated.
cc `pkg-config --cflags opencv` -std=c99 -fPIC -c -o hist.o hist.c
In file included from hist.c:2:
In file included from /usr/local/Cellar/opencv/3.3.1/include/opencv/cv.h:63:
In file included from /usr/local/Cellar/opencv/3.3.1/include/opencv2/core/core_c.h:48:
/usr/local/Cellar/opencv/3.3.1/include/opencv2/core/types_c.h:929:13: warning:
implicit declaration of function 'cvRound' is invalid in C99
[-Wimplicit-function-declaration]
ipt.x = cvRound(point.x);
^
hist.c:6:10: warning: implicit declaration of function
'cvQueryHistValue_1D' is invalid in C99
[-Wimplicit-function-declaration]
return cvQueryHistValue_1D(hist, idx0);
^
hist.c:10:10: warning: implicit declaration of function
'cvQueryHistValue_2D' is invalid in C99
[-Wimplicit-function-declaration]
return cvQueryHistValue_2D(hist, idx0, idx1);
^
hist.c:14:10: warning: implicit declaration of function
'cvQueryHistValue_3D' is invalid in C99
[-Wimplicit-function-declaration]
return cvQueryHistValue_3D(hist, idx0, idx1, idx2);
^
hist.c:18:10: warning: implicit declaration of function
'cvQueryHistValue_nD' is invalid in C99
[-Wimplicit-function-declaration]
return cvQueryHistValue_nD(hist, idx);
^
5 warnings generated.
cc `pkg-config --cflags opencv` -std=c99 -fPIC -c -o contours.o contours.c
In file included from contours.c:2:
In file included from /usr/local/Cellar/opencv/3.3.1/include/opencv/cv.h:63:
In file included from /usr/local/Cellar/opencv/3.3.1/include/opencv2/core/core_c.h:48:
/usr/local/Cellar/opencv/3.3.1/include/opencv2/core/types_c.h:929:13: warning:
implicit declaration of function 'cvRound' is invalid in C99
[-Wimplicit-function-declaration]
ipt.x = cvRound(point.x);
^
1 warning generated.
cc -shared -o libopencv_wrap IplImage.o filter.o draw.o imageproc.o hist.o contours.o `pkg-config --libs opencv`
ld: library not found for -llibopencv_stitching.3.3.1.dylib
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [libopencv_wrap] Error 1
$
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.