ranger2204 / asmlib-opencv

Automatically exported from code.google.com/p/asmlib-opencv
0 stars 0 forks source link

Headers in */include/opencv2/ are not found at compilation time #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. An old opencv is installed on the system (on which I don't have admin rules)
2. A recent opencv 2.3.1 is installed locally in $HOME/.local
3. Headers are in $HOME/.local/include/opencv and $HOME/.local/include/opencv2
4. 

What is the expected output? What do you see instead?

The compilator complains: "error: opencv2/core/core_c.h: No such file or 
directory" for many such files since they are included in "cv.h"

What version of the product are you using? On what operating system?
I'm using the svn version on a ubuntu box on which im not admin

Please provide any additional information below.

I can't find a way to add a "-I $HOME/.local/include" instruction since I do 
not know how to use cmake besides basic end-user commands.

Original issue reported on code.google.com by alexis.mignon on 2 Dec 2011 at 2:06

GoogleCodeExporter commented 9 years ago
In CMake GUI, try to toggle advance mode. (In ccmake, the shortcut is "t").

Also, please SVN update before compiling, I've just made the demo clearer:)

Original comment by cxcxcxcx@gmail.com on 16 Jan 2012 at 7:14