Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Location of the headers moved?

Hiho,

a few weeks ago, pulled opencv from git and compiled using cmake & vs2012. On my laptop, after compiling and running the INSTALL target, I get a structure like C:\opencv\install\include\opencv2\<modulename>\someHeader.hpp, e.g. C:\opencv\install\include\opencv2\core\core.hpp.

In my code, I could then just #include "opencv2/core/core.hpp" and it was working perfectly in windows, linux, with people who used the downloadable-precompiled opencv - so all the paths seem to be right.enter code here

When pulling opencv from git today on another computer, also with cmake and vs2012, after compiling and INSTALL'ing, I get one folder C:\opencv\install\include and all the headers are just in there. There is still a opencv2 subfolder there but it contains only 2 files. Of course, now my project fails compiling, as it can't find the includes under

What could possible be gone wrong on this computer?

Thanks!

Location of the headers moved?

Hiho,

a few weeks ago, pulled opencv from git and compiled using cmake & vs2012. On my laptop, after compiling and running the INSTALL target, I get a structure like C:\opencv\install\include\opencv2\<modulename>\someHeader.hpp, C:\opencv\install\include\opencv2\<moduleName>\someHeader.hpp, e.g. C:\opencv\install\include\opencv2\core\core.hpp.C:\opencv\install\include\opencv2\core\core.hpp.

In my code, I could then just #include "opencv2/core/core.hpp" "opencv2/core/core.hpp" and it was working perfectly in windows, linux, with people who used the downloadable-precompiled opencv - so all the paths seem to be right.enter code here

When pulling opencv from git today on another computer, also with cmake and vs2012, after compiling and INSTALL'ing, I get one folder C:\opencv\install\include C:\opencv\install\include and all the headers are just in there. There is still a opencv2 subfolder there but it contains only 2 files. Of course, now my project fails compiling, as it can't find the includes under

#include "opencv2/core/core.hpp".

I compiled opencv so many times, always used the same steps and never had this problem. What could possible be gone wrong on this computer?

Thanks!

Location of the headers moved?

Hiho,

a few weeks ago, I pulled opencv from git and compiled using cmake & vs2012. On my laptop, after compiling and running the INSTALL target, I get a structure like C:\opencv\install\include\opencv2\<moduleName>\someHeader.hpp, e.g. C:\opencv\install\include\opencv2\core\core.hpp.

In my code, I could then just #include "opencv2/core/core.hpp" and it was working perfectly in windows, linux, with people who used the downloadable-precompiled opencv - so all the paths seem to be right.

When pulling opencv from git today on another computer, also with cmake and vs2012, after compiling and INSTALL'ing, I get one folder C:\opencv\install\include and all the headers are just in there. There is still a opencv2 subfolder there but it contains only 2 files. Of course, now my project fails compiling, as it can't find the includes under #include "opencv2/core/core.hpp".

I compiled opencv so many times, always used the same steps and never had this problem. What could possible be gone wrong on this computer?

Thanks!

Location of the headers moved?

Hiho,

a few weeks ago, I pulled opencv from git and compiled using cmake & vs2012. On my laptop, after compiling and running the INSTALL target, I get a structure like C:\opencv\install\include\opencv2\<moduleName>\someHeader.hpp, e.g. C:\opencv\install\include\opencv2\core\core.hpp.

In my code, I could then just #include "opencv2/core/core.hpp" and it was working perfectly in windows, linux, with people who used the downloadable-precompiled opencv - so all the paths seem to be right.

When pulling opencv from git today on another computer, also with cmake and vs2012, after compiling and INSTALL'ing, I get one folder C:\opencv\install\include and all the headers are just in there. There are no module subfolders. All headers are just in the "root". There is still a opencv2 subfolder there but it contains only 2 files. Of course, now my project fails compiling, as it can't find the includes under #include "opencv2/core/core.hpp".

I compiled opencv so many times, always used the same steps and never had this problem. What could possible be gone wrong on this computer?

Thanks!

Location of the headers moved?

Hiho,

a few weeks ago, I pulled opencv from git and compiled using cmake & vs2012. On my laptop, after compiling and running the INSTALL target, I get a structure like C:\opencv\install\include\opencv2\<moduleName>\someHeader.hpp, like

`C:\opencv\install\include\opencv2\<moduleName>\someHeader.hpp`, e.g.
C:\opencv\install\include\opencv2\core\core.hpp.

`C:\opencv\install\include\opencv2\core\core.hpp`.

In my code, I could then just #include "opencv2/core/core.hpp" and it was working perfectly in windows, linux, with people who used the downloadable-precompiled opencv - so all the paths seem to be right.

When pulling opencv from git today on another computer, also with cmake and vs2012, after compiling and INSTALL'ing, I get one folder C:\opencv\install\include folder

`C:\opencv\install\include`

and all the headers are just in there. There are no module subfolders. All headers are just in the "root". There is still a opencv2 subfolder there but it contains only 2 files. Of course, now my project fails compiling, as it can't find the includes under #include "opencv2/core/core.hpp".

I compiled opencv so many times, always used the same steps and never had this problem. What could possible be gone wrong on this computer?

Thanks!