Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I have been trying to extend python with a OpenCV module written in C++. I am encountering 2 problems during this.

1) Setup.py - How does one include cv.h library here?

libraries = ['opencv'],
library_dirs = ['/usr/local/lib'],

2) Importing the cv.h in the C++ module file?

#include "cv.h"
using namespace cv;

Throws compile time error - t1.cpp:3:16: fatal error: cv.h: No such file or directory

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.