Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

deprecated opencv function #2

Open
ahmed-shariff opened this issue Feb 23, 2017 · 0 comments
Open

deprecated opencv function #2

ahmed-shariff opened this issue Feb 23, 2017 · 0 comments

Comments

@ahmed-shariff
Copy link

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?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant