Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/cmake/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
CMake错误:构建TBB选项仅支持ARM上的Windows 我试图用CMake构建一个库,用于Visual Studio 2012的C++编译器构建OpenCV的视觉检测系统。在大量修复配置、安装Qt 5和Openni之后,我仍然从CMake配置步骤中得到以下错误: Checking for Windows (Phone) Platform SDK 8.0/8.1 Checking for Visual Studio 2012/2013 WARNING, OpenNI library directory (set by OPENNI_LIB_DIR variable) is not found or does not have OpenNI libraries. WARNING, OpenNI include directory (set by OPENNI_INCLUDE_DIR variable) is not found or does not have OpenNI include files. WARNING, PrimeSensor Module binaries directory (set by OPENNI_PRIME_SENSOR_MODULE_BIN_DIR variable) is not found or does not have PrimeSensor Module binaries. Looking for Mfapi.h Looking for Mfapi.h - found Warning at cmake/OpenCVFindIntelPerCSDK.cmake:17 (message): Intel Perceptual Computing SDK library directory (set by INTELPERC_LIB_DIR variable) is not found or does not have Intel Perceptual Computing SDK libraries. Call Stack (most recent call first): cmake/OpenCVFindLibsVideo.cmake:291 (include) CMakeLists.txt:482 (include) CMake Error at 3rdparty/tbb/CMakeLists.txt:5 (message): BUILD_TBB option supports Windows on ARM only! Use regular official TBB build instead of the BUILD_TBB option! Configuring incomplete, errors occurred! See also "C:/OpenCV/opencv/lib/CMakeFiles/CMakeOutput.log"._Opencv_Cmake_Tbb - Fatal编程技术网

CMake错误:构建TBB选项仅支持ARM上的Windows 我试图用CMake构建一个库,用于Visual Studio 2012的C++编译器构建OpenCV的视觉检测系统。在大量修复配置、安装Qt 5和Openni之后,我仍然从CMake配置步骤中得到以下错误: Checking for Windows (Phone) Platform SDK 8.0/8.1 Checking for Visual Studio 2012/2013 WARNING, OpenNI library directory (set by OPENNI_LIB_DIR variable) is not found or does not have OpenNI libraries. WARNING, OpenNI include directory (set by OPENNI_INCLUDE_DIR variable) is not found or does not have OpenNI include files. WARNING, PrimeSensor Module binaries directory (set by OPENNI_PRIME_SENSOR_MODULE_BIN_DIR variable) is not found or does not have PrimeSensor Module binaries. Looking for Mfapi.h Looking for Mfapi.h - found Warning at cmake/OpenCVFindIntelPerCSDK.cmake:17 (message): Intel Perceptual Computing SDK library directory (set by INTELPERC_LIB_DIR variable) is not found or does not have Intel Perceptual Computing SDK libraries. Call Stack (most recent call first): cmake/OpenCVFindLibsVideo.cmake:291 (include) CMakeLists.txt:482 (include) CMake Error at 3rdparty/tbb/CMakeLists.txt:5 (message): BUILD_TBB option supports Windows on ARM only! Use regular official TBB build instead of the BUILD_TBB option! Configuring incomplete, errors occurred! See also "C:/OpenCV/opencv/lib/CMakeFiles/CMakeOutput.log".

CMake错误:构建TBB选项仅支持ARM上的Windows 我试图用CMake构建一个库,用于Visual Studio 2012的C++编译器构建OpenCV的视觉检测系统。在大量修复配置、安装Qt 5和Openni之后,我仍然从CMake配置步骤中得到以下错误: Checking for Windows (Phone) Platform SDK 8.0/8.1 Checking for Visual Studio 2012/2013 WARNING, OpenNI library directory (set by OPENNI_LIB_DIR variable) is not found or does not have OpenNI libraries. WARNING, OpenNI include directory (set by OPENNI_INCLUDE_DIR variable) is not found or does not have OpenNI include files. WARNING, PrimeSensor Module binaries directory (set by OPENNI_PRIME_SENSOR_MODULE_BIN_DIR variable) is not found or does not have PrimeSensor Module binaries. Looking for Mfapi.h Looking for Mfapi.h - found Warning at cmake/OpenCVFindIntelPerCSDK.cmake:17 (message): Intel Perceptual Computing SDK library directory (set by INTELPERC_LIB_DIR variable) is not found or does not have Intel Perceptual Computing SDK libraries. Call Stack (most recent call first): cmake/OpenCVFindLibsVideo.cmake:291 (include) CMakeLists.txt:482 (include) CMake Error at 3rdparty/tbb/CMakeLists.txt:5 (message): BUILD_TBB option supports Windows on ARM only! Use regular official TBB build instead of the BUILD_TBB option! Configuring incomplete, errors occurred! See also "C:/OpenCV/opencv/lib/CMakeFiles/CMakeOutput.log".,opencv,cmake,tbb,Opencv,Cmake,Tbb,从cmake\u gui中,可以快速禁用BUILD\u TBB变量。如果需要,您必须自己单独构建它,然后可以使用在OpenCV中激活它。如何称呼CMake?它找不到OpenNI,它抱怨说您传递了一些危险信号来构建TBB。您的TBB安装来自哪里?我使用cmake gui。我已经有Visual Studio 2012作为编译器,它很好地处理了它。我不知道什么是TBB,很抱歉,我对TBB完全是个新手。有趣的是,我在笔记本电脑上安装了openNI,那么为什么cmake找不到它呢?我应该像其他应用程序一样

cmake\u gui中,可以快速禁用BUILD\u TBB变量。如果需要,您必须自己单独构建它,然后可以使用在OpenCV中激活它。

如何称呼CMake?它找不到OpenNI,它抱怨说您传递了一些危险信号来构建TBB。您的TBB安装来自哪里?我使用cmake gui。我已经有Visual Studio 2012作为编译器,它很好地处理了它。我不知道什么是TBB,很抱歉,我对TBB完全是个新手。有趣的是,我在笔记本电脑上安装了openNI,那么为什么cmake找不到它呢?我应该像其他应用程序一样告诉它要查看哪个目录吗?如果是这样,我如何向openni目录发出警报?TBB代表什么?为什么我需要它?如何禁用它?抱歉,如果你不介意的话,你必须像对待婴儿一样一步一步地对待我。@SolimanSamirSoliman:TBB代表线程构建块,Antonio甚至链接到了他们的主页。@SolimanSamirSoliman在我的回答中,我为你提供了TBB的链接。你有没有运行cmake_gui?从这里可以直接设置CMake变量。我不认为我需要TBB,因为我不认为我在做并行处理。我需要cmake做的就是为我构建opencv库,这样我就可以在VisualStudio的视觉检测项目中使用它们。因此,下一个问题是如何禁用Build_TBB变量?说它是直截了当的并不能真正回答这个问题。假设我是一个婴儿或5岁的孩子,并向我解释如何禁用TBB。谢谢安东尼奥。@SolimanSamirSoliman那么你应该更改你的个人资料描述:)在你的问题下的评论中,你说你已经打开了cmake_gui,请为你的问题添加一个屏幕截图。