I\'m trying to use the new OpenCV 2.0 API in MS Visual C++ 2008 and wrote this simple program:
cv::Mat img1 = cv::imread(\"image.jpg\",1); cv::namedWindow(\"
I believe this might be related to unicode.
Try the macro _TEXT()
_TEXT()
For example:
cv::Mat img1 = cv::imread(_TEXT("image.jpg"),1);
Unicode in Visual C++ 2