在 Visual Studio 2015 中使用 Cinder-OpenCV

Using Cinder-OpenCV with Visual Studio 2015

我最近将 Cinder-OpenCV 克隆到我的 Cinder 块目录中。我在开发分支上,因为它包含 Visual Studio 2013 而不是 2011 的示例。但是,我使用的是 Visual Studio 2015,当我 运行 基本示例时,我得到

opencv_core249d.lib(system.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1800' doesn't match value '1900' in ocvBasicApp.obj

我知道这是一个链接问题,但我是 Visual Studio 的新手,不确定如何修复设置。感谢您的帮助!

为了解决这个问题,我下载了 Visual Studio 2013,运行 Cinder 使用 2015 IDE 中的 2013 平台工具集设置,然后能够 运行 OpenCV 示例在 2015 中的 2013 Platform Toolset 设置 IDE.