我正在尝试在预装了 Microsoft Visual Studio 2008 的 Windows 7(64 位)上运行 Matlab 代码。Matlab 代码具有需要使用 opencv 编译的 .cpp 文件。
我在用着:
system('"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64\cl.exe" /I"C:\OpenCV2.1\include\opencv" camshift_wrapper.c');
我收到错误消息:
Microsoft (R) C/C++ Optimizing Compiler Version 15.00.21022.08 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
camshift_wrapper.c
c:\opencv2.1\include\opencv\cxtypes.h(52) : fatal error C1083: Cannot open include file: 'assert.h': No such file or directory