Ask Your Question

'opencv2/opencv.hpp' file not found

asked 2012-12-19 08:34:18 -0500

h4cky gravatar image

I successfully installed OpenCV on Mac OS X 10.8.2.

After that I configured Xcode 4.5.2 by following this guide by SSteve even that this guide was for Xcode 3.5.1 - everything was are it's suppose to be.

My openCV dylib's are in: /usr/lib

  1. Always Search User Paths: YES
  2. Framework Search Path: /usr/lib* (* stands for recursive search)
  3. Header Search Path: /usr/lib* (* stands for recursive search)

Full error message:

Lexical or Preprocessor Issue
'opencv2/opencv.hpp' file not found
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2012-12-19 09:43:05 -0500

unxnut gravatar image

Don't know much about Mac but shouldn't the header files be in /usr/include ?

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2012-12-19 08:34:18 -0500

Seen: 4,213 times

Last updated: Dec 19 '12