Reputation: 2606
When I try to compile this code
// Project0.cpp : main project file.
#include "stdafx.h"
using namespace System;
#include <opencv2/core/core.hpp>
int main(array<System::String ^> ^args)
{
return 0;
}
I get 38 errors and 4 warnings
I've specified all 3 folders with include files path:
As well as debug .lib files:
The selected platform is Win32 and*.lib's are x86, so I think the problem differs from this, where x64 ones were used.
I can create a platform for solution and call it "x64", but cannot switch my project to it:
Upvotes: 2
Views: 830
Reputation: 2606
As berak
said, it's easier to get a Visual C++ 2010. To use opencv 2.4.9 with MVC++ 2008 one should recompile the library from sources
Upvotes: 2