简体   繁体   English

在Visual Studio 2017上无法使用调试模式x64进行opencv3.2编译

[英]opencv3.2 compilation with debug mode x64 not possible on visual studio 2017

While working on opencv3.2 installation, as in these steps and the answer here , after generating opencv correctly with CMake, I couldn't execute the All build - debug x64 because the only option I found from Debug configuration manager are: Win32 or empty. 在按照以下步骤此处的答案进行opencv3.2安装时,使用CMake正确生成opencv之后,我无法执行All build-debug x64,因为我从Debug Configuration Manager中找到的唯一选项是:Win32或为空。 (I didn't find x86) That means Step 6.2 fails. (我没有找到x86)这意味着步骤6.2失败。

I don't know the reason because I followed the steps exactly as they are and my windows is 64 bits and I even tried creating a C++ and verified that is Debug mode x86 exists. 我不知道原因是因为我完全按照步骤进行操作,并且我的Windows是64位,我什至尝试创建C ++并验证是否存在调试模式x86。

What should I do? 我该怎么办? as the build in debug failed (with 1 success and 112 fails) 由于内置调试失败(成功1次,失败112次)

Thank you for your help. 谢谢您的帮助。

I re-configured with cmake and generated the project using Visual Studio 15 2017 Win64 , now I find x64 in debug and my problem is resolved. 我使用cmake重新配置并使用Visual Studio 15 2017 Win64生成了项目,现在在调试中找到x64,问题已解决。 Before, I selected Visual Studio 15 2017 without precision Win64. 之前,我选择了不带精密Win64的Visual Studio 15 2017。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用Visual Studio 2017编译openCV3.2时为什么会出错? - Why does it go wrong when compiling openCV3.2 with Visual Studio 2017? OpenCV3.2编译错误MAC OS X - OpenCV3.2 compilation error MAC OS X libtiff x64 Visual Studio 2017:链接器问题 - libtiff x64 visual studio 2017 : Linker Issue Visual Studio 2017 'C:\\OpenCV-3.3.0\\opencv\\build\\x64\\vc14\\bin\\opencv_world330d.dll'。 无法找到或打开 PDB 文件 - Visual Studio 2017 'C:\OpenCV-3.3.0\opencv\build\x64\vc14\bin\opencv_world330d.dll'. Cannot find or open the PDB file 在Windows 7 x64上使用Visual Studio 2008 SP1(msvc9)进行stlport编译不起作用 - stlport compilation with Visual Studio 2008 SP1 (msvc9) on Windows 7 x64 doesn't work 使用Visual Studio编译x64? - Compile for x64 with Visual Studio? 如何使用Visual Studio x64编译? - How to compile with Visual Studio x64? 为什么在Visual Studio 2012中无法在调试配置中将平台设置为x64 - Why I can not set the platform to x64 in debug configuration in visual studio 2012 在x64平台下,wglCreateContextAttribsARB在调试模式下崩溃 - wglCreateContextAttribsARB crashes in debug mode, under x64 platform 作为模板非类型参数的C字符串在gcc 6.3中有效,但在Visual Studio 2017中不起作用(对于x64为19.16.27027.1) - C string as template non-type parameter works in gcc 6.3 but does not work in Visual Studio 2017 (19.16.27027.1 for x64)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM