Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

v3.2.0 and xfeatures2d #458

Closed
SanZamoyski opened this issue Mar 17, 2020 · 1 comment
Closed

v3.2.0 and xfeatures2d #458

SanZamoyski opened this issue Mar 17, 2020 · 1 comment

Comments

@SanZamoyski
Copy link

SanZamoyski commented Mar 17, 2020

Long story short:

/media/Data/Src/cv/mexopencv-3.2.0$ make WITH_OCTAVE=true WITH_CONTRIB=true all contrib
make: Nie ma nic do zrobienia w 'all'.
/usr/bin/mkoctfile --mex -O2 -s -fpermissive -Iinclude -Iopencv_contrib/include -I/usr/include/opencv  -o opencv_contrib/+cv/private/LATCH_ opencv_contrib/src/+cv/private/LATCH_.cpp -Llib -lMxArray -lopencv_shape -lopencv_stitching -lopencv_superres -lopencv_videostab -lopencv_aruco -lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib -lopencv_datasets -lopencv_dpm -lopencv_face -lopencv_freetype -lopencv_fuzzy -lopencv_hdf -lopencv_line_descriptor -lopencv_optflow -lopencv_video -lopencv_plot -lopencv_reg -lopencv_saliency -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_rgbd -lopencv_viz -lopencv_surface_matching -lopencv_text -lopencv_ximgproc -lopencv_calib3d -lopencv_features2d -lopencv_flann -lopencv_xobjdetect -lopencv_objdetect -lopencv_ml -lopencv_xphoto -lopencv_highgui -lopencv_videoio -lopencv_imgcodecs -lopencv_photo -lopencv_imgproc -lopencv_core    && \
        rm -f ./LATCH_.o
opencv_contrib/src/+cv/private/LATCH_.cpp:10:10: fatal error: opencv2/xfeatures2d.hpp: Nie ma takiego pliku ani katalogu
 #include "opencv2/xfeatures2d.hpp"
          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:168: opencv_contrib/+cv/private/LATCH_.mex] Błąd 1

I am compiling with Ubuntu packages (v3.2), thats why old version.
Also while trying to workaround I have installed sudo apt install libopencv*.
So I have no idea what can I do next...

(also tried to compile OpenCV 3.4 and mexopencv for it, but failed somewhere so decided to make it easy way. No luck also...

edit There is bug simmilar, but is there ny way to avoid compiling? (exclude or something)
#183

@SanZamoyski
Copy link
Author

Compiled OpenCV.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant