Installing OpenCV2.4.1 on windows 7 x64 – Mingw & codeblocks-Collection of common programming errors

Installing OpenCV2.4.1 on windows 7 x64 – Mingw & codeblocks

Hi, I followed this tutorial

Getting started with OpenCV 2.4 and MinGW on Windows 7

I configured the same except instead of x86, i put x64.

This is the example

#include "opencv2/highgui/highgui.hpp"
#include 

using namespace cv;
using namespace std;

int main(int argc, char** argv)
{
Mat im = imread(argc == 2 ? argv[1] : "lena.jpg", 1);
if (im.empty())
{
cout

Originally posted 2013-11-06 03:31:13.