Move installed headers to "opencv3/" folder (Bug #3700)
Description
In version 3, shouldn't the includes be: #include "opencv3/..."?
Associated revisions
Merge pull request #3700 from MSOpenTech:winrt-cmake-contrib
History
Updated by Dmitry Retinskiy almost 11 years ago
Hi Vadim,
what is your opinion?
- Status changed from New to Open
Updated by Nicu Stiurca about 10 years ago
I would also like to see this change, for a number of reasons. Primarily, it would be great if OpenCV 2 and OpenCV 3 could co-exist on the same system. I think to make that happen, it would require changing a few other paths/filenames besides include folder such as change:
/install/path/share/OpenCV -> /install/path/share/OpenCV3,
/install/path/lib/pkgconfig/opencv.pc -> /install/path/lib/pkgconfig/opencv3.pc
and maybe a few other things I might have missed. All-in-all, it shouldn't be a difficult change.
Updated by Vadim Pisarevsky almost 10 years ago
on Linux opencv headers are installed by default to /usr/local/include/opencv-3.0/opencv2/..., which should preserve backward compatibility and allow co-existence of different opencv versions
- Status changed from Open to Done