Move installed headers to "opencv3/" folder (Bug #3700)


Added by Pablo Speciale almost 11 years ago. Updated almost 10 years ago.


Status:Done Start date:2014-05-18
Priority:Normal Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:core
Target version:3.0
Affected version:branch 'master' (3.0-dev) Operating System:Any
Difficulty: HW Platform:Any
Pull request:

Description

In version 3, shouldn't the includes be: #include "opencv3/..."?


Associated revisions

Revision 68202922
Added by Vadim Pisarevsky about 10 years ago

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

Also available in: Atom PDF