Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

Build Failed Please HELP!!

Sharma__Vinayak
Beginner
1,203 Views
I am using VS2017 and have installed all the mentioned workloads on installation page

###############|| Generate VS solution for Inference Engine samples using cmake ||###############


Waiting for 2 seconds, press a key to continue ...
Creating Visual Studio 2015 (x64) files in C:\Intel\computer_vision_sdk_2018.3.343\deployment_tools\demo\\..\inference_engine\samples\build_2015...
"C:\Intel\computer_vision_sdk_2018.3.343\deployment_tools\demo\\..\inference_engine\samples\build_2015"
-- Selecting Windows SDK version 10.0.16299.0 to target Windows 10.0.15063.
CMake Error at CMakeLists.txt:17 (project):
  Failed to run MSBuild command:

    C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe

  to get the value of VCTargetsPath:

    Microsoft (R) Build Engine version 14.0.23107.0
    Copyright (C) Microsoft Corporation. All rights reserved.

    Build started 11/6/2018 4:00:13 PM.
    Project "C:\Intel\computer_vision_sdk_2018.3.343\deployment_tools\inference_engine\samples\build_2015\CMakeFiles\3.12.4\VCTargetsPath.vcxproj" on node 1 (default targets).
    C:\Intel\computer_vision_sdk_2018.3.343\deployment_tools\inference_engine\samples\build_2015\CMakeFiles\3.12.4\VCTargetsPath.vcxproj(15,2): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
    Done Building Project "C:\Intel\computer_vision_sdk_2018.3.343\deployment_tools\inference_engine\samples\build_2015\CMakeFiles\3.12.4\VCTargetsPath.vcxproj" (default targets) -- FAILED.

    Build FAILED.

    "C:\Intel\computer_vision_sdk_2018.3.343\deployment_tools\inference_engine\samples\build_2015\CMakeFiles\3.12.4\VCTargetsPath.vcxproj" (default target) (1) ->
      C:\Intel\computer_vision_sdk_2018.3.343\deployment_tools\inference_engine\samples\build_2015\CMakeFiles\3.12.4\VCTargetsPath.vcxproj(15,2): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

        0 Warning(s)
        1 Error(s)

    Time Elapsed 00:00:00.01


  Exit code: 1



-- Configuring incomplete, errors occurred!
See also "C:/Intel/computer_vision_sdk_2018.3.343/deployment_tools/inference_engine/samples/build_2015/CMakeFiles/CMakeOutput.log".
Error

 

0 Kudos
3 Replies
Shubha_R_Intel
Employee
1,203 Views

Hello Vinayak. First, did you

run computer_vision_sdk_2018.3.343\deployment_tools\inference_engine\samplescreate_msvc2017_solution.bat ?

You should get Creating Visual Studio 2017 (x64) files in C:\Intel\computer_vision_sdk_2018.3.343\deployment_tools\inference_engine\samples\\build_2017...

Are you sure that you didn't run create_msvc2015_solution.bat accidentally ?

0 Kudos
Sharma__Vinayak
Beginner
1,203 Views

I ran it too it is not able to find some cmake files

-- Selecting Windows SDK version 10.0.16299.0 to target Windows 10.0.15063.
-- Looking for inference engine configuration file at: C:/Intel/computer_vision_sdk_2018.3.343/deployment_tools/inference_engine/share
-- CMAKE_BUILD_TYPE not defined, 'Release' will be used
-- Host CPU features:
--   3DNOW not supported
--   3DNOWEXT not supported
--   ABM not supported
--   ADX supported
--   AES supported
--   AVX supported
--   AVX2 supported
--   AVX512CD not supported
--   AVX512F not supported
--   AVX512ER not supported
--   AVX512PF not supported
--   BMI1 supported
--   BMI2 supported
--   CLFSH supported
--   CMPXCHG16B supported
--   CX8 supported
--   ERMS supported
--   F16C supported
--   FMA supported
--   FSGSBASE supported
--   FXSR supported
--   HLE not supported
--   INVPCID supported
--   LAHF supported
--   LZCNT supported
--   MMX supported
--   MMXEXT not supported
--   MONITOR not supported
--   MOVBE supported
--   MSR supported
--   OSXSAVE supported
--   PCLMULQDQ supported
--   POPCNT supported
--   PREFETCHWT1 not supported
--   RDRAND supported
--   RDSEED supported
--   RDTSCP supported
--   RTM not supported
--   SEP supported
--   SHA not supported
--   SSE supported
--   SSE2 supported
--   SSE3 supported
--   SSE4.1 supported
--   SSE4.2 supported
--   SSE4a not supported
--   SSSE3 supported
--   SYSCALL supported
--   TBM not supported
--   XOP not supported
--   XSAVE supported
CMake Warning at cmake/feature_defs.cmake:22 (find_package):
  By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "OpenCV", but
  CMake did not find one.

  Could not find a package configuration file provided by "OpenCV" (requested
  version 3.3) with any of the following names:

    OpenCVConfig.cmake
    opencv-config.cmake

  Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set
  "OpenCV_DIR" to a directory containing one of the above files.  If "OpenCV"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  CMakeLists.txt:101 (include)


CMake Error at cmake/feature_defs.cmake:24 (find_package):
  By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "OpenCV", but
  CMake did not find one.

  Could not find a package configuration file provided by "OpenCV" (requested
  version 3.4) with any of the following names:

    OpenCVConfig.cmake
    opencv-config.cmake

  Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set
  "OpenCV_DIR" to a directory containing one of the above files.  If "OpenCV"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  CMakeLists.txt:101 (include)


-- Configuring incomplete, errors occurred!

 

0 Kudos
gaston-hillar
Valued Contributor I
1,203 Views

Vinayak,

It seems you are using Visual Studio 2017 but you are running the build for Visual Studio 2015. If you are working with Visual Studio 2017, you must use the build tools for Visual Studio 2017 and generate the MS Visual Studio 2017 solution.

0 Kudos
Reply