Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Xiaoying__Y
Beginner
292 Views

OpenVino(VX) demo error

Hi there, I am following the OpenVX* Samples Setup README to run demo inside OpenVino,on windows 10. after the following script, mkdir build cd build cmake -G "Visual Studio 15 2017 Win64" -D CMAKE_INSTALL_PREFIX="C:\Users\exxxxx\Documents\build " "C:\Intel\computer_vision_sdk_2018.3.343\openvx\samples" some strange log come out.↓ Anyway the visual studio sln file was created, but when I build the solution, error comes as #include #include E1686 can not fine the source file.VX/vx.h and it seems the setting for OpenVX path was not correct. Does I need to set the environment before building? I have done everything discript in the following link: https://software.intel.com/en-us/articles/OpenVINO-Install-Windows Thank you very much in advance. -------------------------------------------------------------------------------Log----------------------------------------------------------------------------------------------------------------- -- The C compiler identification is MSVC 19.15.26726.0 -- The CXX compiler identification is MSVC 19.15.26726.0 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x64/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x64/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x64/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x64/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Changed from default to Release build type -- INTEL_CVSDK_DIR: IntelOpenVX_ROOT_DIR-NOTFOUND -- Intel CVSDK OpenVX runtime is used -- Could NOT find IntelOpenVX (missing: IntelOpenVX_INCLUDE_DIR IntelOpenVX_IAP_LIB IntelOpenVX_IAP_OPENVX_LIB IntelOpenVX_IAP_RUNTIME_DIR IntelOpenVX_IAP_OPENVX_RUNTIME_DIR) -- [ INFO ] Intel CVSDK OpenVX implementation: not found -- common library -- INTEL_CVSDK_DIR: IntelOpenVX_ROOT_DIR-NOTFOUND -- Intel CVSDK OpenVX runtime is used -- Could NOT find IntelOpenVX (missing: IntelOpenVX_INCLUDE_DIR IntelOpenVX_IAP_LIB IntelOpenVX_IAP_OPENVX_LIB IntelOpenVX_IAP_RUNTIME_DIR IntelOpenVX_IAP_OPENVX_RUNTIME_DIR) -- [ INFO ] Intel CVSDK OpenVX implementation: not found -- OpenCV_DIR is not set -- OPENCV is disabled or not found -- INTEL_VTUNE_DIR is not defined -- Could NOT find INTEL_ITT (missing: Located_ITT_INCLUDE_DIRS Located_ITT_LIBS) -- INTEL_ITT is disabled -- Using file 'C:/Intel/computer_vision_sdk_2018.3.343/openvx/samples/samples/cv_samples.config' with the list of samples -- Sample 'auto_contrast' condition is '1 EQUAL 1' -- Adding sample 'auto_contrast' -- INTEL_CVSDK_DIR: IntelOpenVX_ROOT_DIR-NOTFOUND -- Intel CVSDK OpenVX runtime is used -- Could NOT find IntelOpenVX (missing: IntelOpenVX_INCLUDE_DIR IntelOpenVX_IAP_LIB IntelOpenVX_IAP_OPENVX_LIB IntelOpenVX_IAP_RUNTIME_DIR IntelOpenVX_IAP_OPENVX_RUNTIME_DIR) -- [ INFO ] Intel CVSDK OpenVX implementation: not found -- OpenCV_DIR is not set -- OPENCV is disabled or not found -- INTEL_VTUNE_DIR is not defined -- Could NOT find INTEL_ITT (missing: Located_ITT_INCLUDE_DIRS Located_ITT_LIBS) -- INTEL_ITT is disabled -- Sample 'video_stabilization' condition is '1 EQUAL 1' -- Adding sample 'video_stabilization' -- INTEL_CVSDK_DIR: IntelOpenVX_ROOT_DIR-NOTFOUND -- Intel CVSDK OpenVX runtime is used -- Could NOT find IntelOpenVX (missing: IntelOpenVX_INCLUDE_DIR IntelOpenVX_IAP_LIB IntelOpenVX_IAP_OPENVX_LIB IntelOpenVX_IAP_RUNTIME_DIR IntelOpenVX_IAP_OPENVX_RUNTIME_DIR) -- [ INFO ] Intel CVSDK OpenVX implementation: not found -- OpenCV_DIR is not set -- OPENCV is disabled or not found CMake Warning at samples/video_stabilization/CMakeLists.txt:15 (message): video_stabilization sample will not be built due to OpenCV absence -- Sample 'motion_detection' condition is 'NOT USE_KHRONOS_SAMPLE_IMPL' -- Adding sample 'motion_detection' -- OpenCV_DIR is not set -- OPENCV is disabled or not found CMake Warning at samples/motion_detection/CMakeLists.txt:12 (message): motion_detection sample will not be built due to OpenCV absence -- Sample 'gstovx_plugin' condition is 'NOT USE_KHRONOS_SAMPLE_IMPL AND NOT WIN32' -- Skipping sample 'gstovx_plugin' -- Sample 'lane_detection' condition is 'NOT USE_KHRONOS_SAMPLE_IMPL' -- Adding sample 'lane_detection' -- INTEL_CVSDK_DIR: IntelOpenVX_ROOT_DIR-NOTFOUND -- Intel CVSDK OpenVX runtime is used -- Could NOT find IntelOpenVX (missing: IntelOpenVX_INCLUDE_DIR IntelOpenVX_IAP_LIB IntelOpenVX_IAP_OPENVX_LIB IntelOpenVX_IAP_RUNTIME_DIR IntelOpenVX_IAP_OPENVX_RUNTIME_DIR) -- [ INFO ] Intel CVSDK OpenVX implementation: not found -- OpenCV_DIR is not set -- OPENCV is disabled or not found CMake Warning at samples/lane_detection/CMakeLists.txt:30 (message): lane_detection sample will not be built due to OpenCV absence -- Sample 'census_transform' condition is 'NOT USE_KHRONOS_SAMPLE_IMPL' -- Adding sample 'census_transform' -- INTEL_CVSDK_DIR: IntelOpenVX_ROOT_DIR-NOTFOUND -- Intel CVSDK OpenVX runtime is used -- Could NOT find IntelOpenVX (missing: IntelOpenVX_INCLUDE_DIR IntelOpenVX_IAP_LIB IntelOpenVX_IAP_OPENVX_LIB IntelOpenVX_IAP_RUNTIME_DIR IntelOpenVX_IAP_OPENVX_RUNTIME_DIR) -- [ INFO ] Intel CVSDK OpenVX implementation: not found -- OpenCV_DIR is not set -- OPENCV is disabled or not found CMake Warning at samples/census_transform/CMakeLists.txt:22 (message): census_transform is not built because OpenCV is not detected -- Sample 'hetero_basic' condition is 'NOT USE_KHRONOS_SAMPLE_IMPL' -- Adding sample 'hetero_basic' -- INTEL_CVSDK_DIR: IntelOpenVX_ROOT_DIR-NOTFOUND -- Intel CVSDK OpenVX runtime is used -- Could NOT find IntelOpenVX (missing: IntelOpenVX_INCLUDE_DIR IntelOpenVX_IAP_LIB IntelOpenVX_IAP_OPENVX_LIB IntelOpenVX_IAP_RUNTIME_DIR IntelOpenVX_IAP_OPENVX_RUNTIME_DIR) -- [ INFO ] Intel CVSDK OpenVX implementation: not found -- OpenCV_DIR is not set -- OPENCV is disabled or not found CMake Warning at samples/hetero_basic/CMakeLists.txt:17 (message): hetero_basic sample will not be built due to OpenCV absence -- Sample 'kernel_enumerator' condition is 'NOT USE_KHRONOS_SAMPLE_IMPL' -- Adding sample 'kernel_enumerator' -- INTEL_CVSDK_DIR: IntelOpenVX_ROOT_DIR-NOTFOUND -- Intel CVSDK OpenVX runtime is used -- Could NOT find IntelOpenVX (missing: IntelOpenVX_INCLUDE_DIR IntelOpenVX_IAP_LIB IntelOpenVX_IAP_OPENVX_LIB IntelOpenVX_IAP_RUNTIME_DIR IntelOpenVX_IAP_OPENVX_RUNTIME_DIR) -- [ INFO ] Intel CVSDK OpenVX implementation: not found -- INTEL_VTUNE_DIR is not defined -- Could NOT find INTEL_ITT (missing: Located_ITT_INCLUDE_DIRS Located_ITT_LIBS) -- INTEL_ITT is disabled -- Sample 'ocl_custom_kernel' condition is 'NOT USE_KHRONOS_SAMPLE_IMPL' -- Adding sample 'ocl_custom_kernel' -- INTEL_CVSDK_DIR: IntelOpenVX_ROOT_DIR-NOTFOUND -- Intel CVSDK OpenVX runtime is used -- Could NOT find IntelOpenVX (missing: IntelOpenVX_INCLUDE_DIR IntelOpenVX_IAP_LIB IntelOpenVX_IAP_OPENVX_LIB IntelOpenVX_IAP_RUNTIME_DIR IntelOpenVX_IAP_OPENVX_RUNTIME_DIR) -- [ INFO ] Intel CVSDK OpenVX implementation: not found -- OpenCV_DIR is not set -- OPENCV is disabled or not found CMake Warning at samples/ocl_custom_kernel/CMakeLists.txt:28 (message): ocl_custom_kernel sample will not be built due to OpenCV absence -- Sample 'color_copy_pipeline' condition is 'NOT USE_KHRONOS_SAMPLE_IMPL AND NOT WIN32' -- Skipping sample 'color_copy_pipeline' -- Sample 'camera_tampering' condition is 'NOT USE_KHRONOS_SAMPLE_IMPL AND NOT WIN32' -- Skipping sample 'camera_tampering' -- Configuring done -- Generating done
0 Kudos
7 Replies
Mark_L_Intel1
Moderator
292 Views

Hi Xiaoying,

I did the same process based on 2018 R2 and VS2015 in windows 10, it works without issue. Did you tried script "create_mscv2015_solution.bat"? I believe the content of this script should be the same as you posted.

Mark

Xiaoying__Y
Beginner
292 Views

Liu, Mark (Intel) wrote:

Hi Xiaoying,

I did the same process based on 2018 R2 and VS2015 in windows 10, it works without issue. Did you tried script "create_mscv2015_solution.bat"? I believe the content of this script should be the same as you posted.

Mark

Hi Mark Thank you for you post. I found 2 bat file create_msvc2015_solution.bat create_msvc2017_solution.bat in C:\Intel\computer_vision_sdk_2018.3.343\deployment_tools\inference_engine\samples I guess I should use the 2017 one in my case. And still, the problem stays the same. I think what the bat file does is to set InferenceEngine directory and Visual studio directory. as script is written like: --- @echo off @setlocal set "ROOT_DIR=%~dp0" set "SOLUTION_DIR64=%ROOT_DIR%\build_2017" set "InferenceEngine_DIR=%ROOT_DIR%\..\share" if exist "%ROOT_DIR%\..\..\bin\setupvars.bat" call "%ROOT_DIR%\..\..\bin\setupvars.bat" echo Creating Visual Studio 2017 (x64) files in %SOLUTION_DIR64%... && ^ cd "%ROOT_DIR%" && cmake -E make_directory "%SOLUTION_DIR64%" && cd "%SOLUTION_DIR64%" && cmake -G "Visual Studio 15 2017 Win64" "%ROOT_DIR%" echo Done. pause --- The problem in my previous post was like the dir for IntelOpenVX cannot be find. Do you have any idea if there is "OpenVX" version for create_msvc2015_solution.bat? Thank you in advance. Regards, Xiaoying.
Xiaoying__Y
Beginner
292 Views

Liu, Mark (Intel) wrote:

Hi Xiaoying,

I did the same process based on 2018 R2 and VS2015 in windows 10, it works without issue. Did you tried script "create_mscv2015_solution.bat"? I believe the content of this script should be the same as you posted.

Mark

Hi mark. I found the page below, https://software.intel.com/zh-cn/node/779799 and used the window os corresponding version of setupvars.bat @C:\Intel\computer_vision_sdk_2018.3.343\bin and make the sample code again. Log changed→Most of the sample code worked cmake -G "Visual Studio 15 2017 Win64" -D CMAKE_INSTALL_PREFIX="C:\Users\e12821\Documents\build " "C:\Intel\computer_vision_sdk_2018.3.343\openvx\samples" -- Changed from default to Release build type -- INTEL_CVSDK_DIR: C:\Intel\computer_vision_sdk_2018.3.343 -- Intel CVSDK OpenVX runtime is used -- OpenVX_INCLUDE= C:/Intel/computer_vision_sdk_2018.3.343/openvx/include -- OpenVX_LIBS= C:/Intel/computer_vision_sdk_2018.3.343/openvx/lib/iap_openvx.lib -- common library -- INTEL_CVSDK_DIR: C:\Intel\computer_vision_sdk_2018.3.343 -- Intel CVSDK OpenVX runtime is used -- OpenVX_INCLUDE= C:/Intel/computer_vision_sdk_2018.3.343/openvx/include -- OpenVX_LIBS= C:/Intel/computer_vision_sdk_2018.3.343/openvx/lib/iap_openvx.lib -- OpenCV_DIR: C:/Intel/computer_vision_sdk_2018.3.343/opencv/x64/vc14/lib -- OPENCV is enabled -- OpenCV_INCLUDE_DIRS=C:/Intel/computer_vision_sdk_2018.3.343/opencv/include;C:/Intel/computer_vision_sdk_2018.3.343/opencv/include/opencv -- OpenCV_LIBS=opencv_core;opencv_imgproc;opencv_imgcodecs;opencv_videoio;opencv_features2d;opencv_video;opencv_calib3d;opencv_photo;opencv_flann;opencv_ml;opencv_pvl;opencv_objdetect;opencv_highgui -- OpenCV_ARCH= -- INTEL_VTUNE_DIR is not defined -- Could NOT find INTEL_ITT (missing: Located_ITT_INCLUDE_DIRS Located_ITT_LIBS) -- INTEL_ITT is disabled -- Using file 'C:/Intel/computer_vision_sdk_2018.3.343/openvx/samples/samples/cv_samples.config' with the list of samples -- Sample 'auto_contrast' condition is '1 EQUAL 1' -- Adding sample 'auto_contrast' -- INTEL_CVSDK_DIR: C:\Intel\computer_vision_sdk_2018.3.343 -- Intel CVSDK OpenVX runtime is used -- OpenVX_INCLUDE= C:/Intel/computer_vision_sdk_2018.3.343/openvx/include -- OpenVX_LIBS= C:/Intel/computer_vision_sdk_2018.3.343/openvx/lib/iap_openvx.lib -- OpenCV_DIR: C:/Intel/computer_vision_sdk_2018.3.343/opencv/x64/vc14/lib -- OPENCV is enabled -- OpenCV_INCLUDE_DIRS=C:/Intel/computer_vision_sdk_2018.3.343/opencv/include;C:/Intel/computer_vision_sdk_2018.3.343/opencv/include/opencv -- OpenCV_LIBS=opencv_core;opencv_imgproc;opencv_imgcodecs;opencv_videoio;opencv_features2d;opencv_video;opencv_calib3d;opencv_photo;opencv_flann;opencv_ml;opencv_pvl;opencv_objdetect;opencv_highgui -- OpenCV_ARCH= -- INTEL_VTUNE_DIR is not defined -- Could NOT find INTEL_ITT (missing: Located_ITT_INCLUDE_DIRS Located_ITT_LIBS) -- INTEL_ITT is disabled -- Sample 'video_stabilization' condition is '1 EQUAL 1' -- Adding sample 'video_stabilization' -- INTEL_CVSDK_DIR: C:\Intel\computer_vision_sdk_2018.3.343 -- Intel CVSDK OpenVX runtime is used -- OpenVX_INCLUDE= C:/Intel/computer_vision_sdk_2018.3.343/openvx/include -- OpenVX_LIBS= C:/Intel/computer_vision_sdk_2018.3.343/openvx/lib/iap_openvx.lib -- OpenCV_DIR: C:/Intel/computer_vision_sdk_2018.3.343/opencv/x64/vc14/lib -- OPENCV is enabled -- OpenCV_INCLUDE_DIRS=C:/Intel/computer_vision_sdk_2018.3.343/opencv/include;C:/Intel/computer_vision_sdk_2018.3.343/opencv/include/opencv -- OpenCV_LIBS=opencv_core;opencv_imgproc;opencv_imgcodecs;opencv_videoio;opencv_features2d;opencv_video;opencv_calib3d;opencv_photo;opencv_flann;opencv_ml;opencv_pvl;opencv_objdetect;opencv_highgui -- OpenCV_ARCH= -- INTEL_VTUNE_DIR is not defined -- Could NOT find INTEL_ITT (missing: Located_ITT_INCLUDE_DIRS Located_ITT_LIBS) -- INTEL_ITT is disabled -- Sample 'motion_detection' condition is 'NOT USE_KHRONOS_SAMPLE_IMPL' -- Adding sample 'motion_detection' -- OpenCV_DIR: C:/Intel/computer_vision_sdk_2018.3.343/opencv/x64/vc14/lib -- OPENCV is enabled -- OpenCV_INCLUDE_DIRS=C:/Intel/computer_vision_sdk_2018.3.343/opencv/include;C:/Intel/computer_vision_sdk_2018.3.343/opencv/include/opencv -- OpenCV_LIBS=opencv_core;opencv_imgproc;opencv_imgcodecs;opencv_videoio;opencv_features2d;opencv_video;opencv_calib3d;opencv_photo;opencv_flann;opencv_ml;opencv_pvl;opencv_objdetect;opencv_highgui -- OpenCV_ARCH= -- INTEL_VTUNE_DIR is not defined -- Could NOT find INTEL_ITT (missing: Located_ITT_INCLUDE_DIRS Located_ITT_LIBS) -- INTEL_ITT is disabled -- INTEL_CVSDK_DIR: C:\Intel\computer_vision_sdk_2018.3.343 -- Intel CVSDK OpenVX runtime is used -- OpenVX_INCLUDE= C:/Intel/computer_vision_sdk_2018.3.343/openvx/include -- OpenVX_LIBS= C:/Intel/computer_vision_sdk_2018.3.343/openvx/lib/iap_openvx.lib -- Sample 'gstovx_plugin' condition is 'NOT USE_KHRONOS_SAMPLE_IMPL AND NOT WIN32' -- Skipping sample 'gstovx_plugin' -- Sample 'lane_detection' condition is 'NOT USE_KHRONOS_SAMPLE_IMPL' -- Adding sample 'lane_detection' -- INTEL_CVSDK_DIR: C:\Intel\computer_vision_sdk_2018.3.343 -- Intel CVSDK OpenVX runtime is used -- OpenVX_INCLUDE= C:/Intel/computer_vision_sdk_2018.3.343/openvx/include -- OpenVX_LIBS= C:/Intel/computer_vision_sdk_2018.3.343/openvx/lib/iap_openvx.lib -- OpenCV_DIR: C:/Intel/computer_vision_sdk_2018.3.343/opencv/x64/vc14/lib -- OPENCV is enabled -- OpenCV_INCLUDE_DIRS=C:/Intel/computer_vision_sdk_2018.3.343/opencv/include;C:/Intel/computer_vision_sdk_2018.3.343/opencv/include/opencv -- OpenCV_LIBS=opencv_core;opencv_imgproc;opencv_imgcodecs;opencv_videoio;opencv_features2d;opencv_video;opencv_calib3d;opencv_photo;opencv_flann;opencv_ml;opencv_pvl;opencv_objdetect;opencv_highgui -- OpenCV_ARCH= -- INTEL_VTUNE_DIR is not defined -- Could NOT find INTEL_ITT (missing: Located_ITT_INCLUDE_DIRS Located_ITT_LIBS) -- INTEL_ITT is disabled -- Sample 'census_transform' condition is 'NOT USE_KHRONOS_SAMPLE_IMPL' -- Adding sample 'census_transform' -- INTEL_CVSDK_DIR: C:\Intel\computer_vision_sdk_2018.3.343 -- Intel CVSDK OpenVX runtime is used -- OpenVX_INCLUDE= C:/Intel/computer_vision_sdk_2018.3.343/openvx/include -- OpenVX_LIBS= C:/Intel/computer_vision_sdk_2018.3.343/openvx/lib/iap_openvx.lib -- OpenCV_DIR: C:/Intel/computer_vision_sdk_2018.3.343/opencv/x64/vc14/lib -- OPENCV is enabled -- OpenCV_INCLUDE_DIRS=C:/Intel/computer_vision_sdk_2018.3.343/opencv/include;C:/Intel/computer_vision_sdk_2018.3.343/opencv/include/opencv -- OpenCV_LIBS=opencv_core;opencv_imgproc;opencv_imgcodecs;opencv_videoio;opencv_features2d;opencv_video;opencv_calib3d;opencv_photo;opencv_flann;opencv_ml;opencv_pvl;opencv_objdetect;opencv_highgui -- OpenCV_ARCH= -- INTEL_VTUNE_DIR is not defined -- Could NOT find INTEL_ITT (missing: Located_ITT_INCLUDE_DIRS Located_ITT_LIBS) -- INTEL_ITT is disabled -- Sample 'hetero_basic' condition is 'NOT USE_KHRONOS_SAMPLE_IMPL' -- Adding sample 'hetero_basic' -- INTEL_CVSDK_DIR: C:\Intel\computer_vision_sdk_2018.3.343 -- Intel CVSDK OpenVX runtime is used -- OpenVX_INCLUDE= C:/Intel/computer_vision_sdk_2018.3.343/openvx/include -- OpenVX_LIBS= C:/Intel/computer_vision_sdk_2018.3.343/openvx/lib/iap_openvx.lib -- OpenCV_DIR: C:/Intel/computer_vision_sdk_2018.3.343/opencv/x64/vc14/lib -- OPENCV is enabled -- OpenCV_INCLUDE_DIRS=C:/Intel/computer_vision_sdk_2018.3.343/opencv/include;C:/Intel/computer_vision_sdk_2018.3.343/opencv/include/opencv -- OpenCV_LIBS=opencv_core;opencv_imgproc;opencv_imgcodecs;opencv_videoio;opencv_features2d;opencv_video;opencv_calib3d;opencv_photo;opencv_flann;opencv_ml;opencv_pvl;opencv_objdetect;opencv_highgui -- OpenCV_ARCH= -- INTEL_CVSDK_DIR: C:\Intel\computer_vision_sdk_2018.3.343 -- Intel CVSDK OpenVX runtime is used -- OpenVX_INCLUDE= C:/Intel/computer_vision_sdk_2018.3.343/openvx/include -- OpenVX_LIBS= C:/Intel/computer_vision_sdk_2018.3.343/openvx/lib/iap_openvx.lib -- INTEL_VTUNE_DIR is not defined -- Could NOT find INTEL_ITT (missing: Located_ITT_INCLUDE_DIRS Located_ITT_LIBS) -- INTEL_ITT is disabled -- Sample 'kernel_enumerator' condition is 'NOT USE_KHRONOS_SAMPLE_IMPL' -- Adding sample 'kernel_enumerator' -- INTEL_CVSDK_DIR: C:\Intel\computer_vision_sdk_2018.3.343 -- Intel CVSDK OpenVX runtime is used -- OpenVX_INCLUDE= C:/Intel/computer_vision_sdk_2018.3.343/openvx/include -- OpenVX_LIBS= C:/Intel/computer_vision_sdk_2018.3.343/openvx/lib/iap_openvx.lib -- INTEL_VTUNE_DIR is not defined -- Could NOT find INTEL_ITT (missing: Located_ITT_INCLUDE_DIRS Located_ITT_LIBS) -- INTEL_ITT is disabled -- Sample 'ocl_custom_kernel' condition is 'NOT USE_KHRONOS_SAMPLE_IMPL' -- Adding sample 'ocl_custom_kernel' -- INTEL_CVSDK_DIR: C:\Intel\computer_vision_sdk_2018.3.343 -- Intel CVSDK OpenVX runtime is used -- OpenVX_INCLUDE= C:/Intel/computer_vision_sdk_2018.3.343/openvx/include -- OpenVX_LIBS= C:/Intel/computer_vision_sdk_2018.3.343/openvx/lib/iap_openvx.lib -- OpenCV_DIR: C:/Intel/computer_vision_sdk_2018.3.343/opencv/x64/vc14/lib -- OPENCV is enabled -- OpenCV_INCLUDE_DIRS=C:/Intel/computer_vision_sdk_2018.3.343/opencv/include;C:/Intel/computer_vision_sdk_2018.3.343/opencv/include/opencv -- OpenCV_LIBS=opencv_core;opencv_imgproc;opencv_imgcodecs;opencv_videoio;opencv_features2d;opencv_video;opencv_calib3d;opencv_photo;opencv_flann;opencv_ml;opencv_pvl;opencv_objdetect;opencv_highgui -- OpenCV_ARCH= -- INTEL_VTUNE_DIR is not defined -- Could NOT find INTEL_ITT (missing: Located_ITT_INCLUDE_DIRS Located_ITT_LIBS) -- INTEL_ITT is disabled -- Sample 'color_copy_pipeline' condition is 'NOT USE_KHRONOS_SAMPLE_IMPL AND NOT WIN32' -- Skipping sample 'color_copy_pipeline' -- Sample 'camera_tampering' condition is 'NOT USE_KHRONOS_SAMPLE_IMPL AND NOT WIN32' -- Skipping sample 'camera_tampering' -- Configuring done -- Generating done but the OpenCV_ARCH is still vacant, which is strange because when I ran sampling code for demo_squeezenet_download_convert_run.bat it shows that -- OpenCV ARCH: x64 -- OpenCV RUNTIME: vc14 -- OpenCV STATIC: OFF Any idea for this issue? Thank you very much.
motansei
Beginner
292 Views

Dear buddies,I also met same problem " fatal error: VX/vx.h: No such file or directory" under Ubuntu 16.04 OS. And I have look back to cmke command output, it printed "INTEL_CVSDK_DIR: IntelOpenVX_ROOT_DIR-NOTFOUND", like the same problem that this thread met under windows platform. Does anyone  have solved this error? Could anyone give me some cues? Thanks a lot!

Mark_L_Intel1
Moderator
292 Views

Hi montansei,

Could you open a new post? Please let me know after you create it. I will not answer your further question in this post.

Based on the article about sample build with manual, you can try following scenario:

Note: you don't need "sudo" privilege to do this

cd <OpenVINO root>/deployment_tools/inference_engine/samples
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j8

Also please provide following information if my suggestion doesn't work:

  1. Your command line sequence and output log.
  2. The OpenVINO release you are using.

Any information that helps me to reproduce it would help.

Thanks.

Mark

Mark_L_Intel1
Moderator
292 Views

Hi Xiaoying,

Sorry for the late response,

In your error message, I saw followings:

"-- INTEL_VTUNE_DIR is not defined"

I also saw ITT is missing, so I think this sample depends on components from Intel System Studio, you are missing ISS installation or missing the environment variable to it.

Mark

Michael_D_Intel2
Employee
292 Views

I have installed version 389 of openVino and tried to run the demo but I got each time the same error:

###################################################

Build Inference Engine samples

 

INTEL_CVSDK_DIR environment variable is not set. Trying to run ./setvars.sh to set it.
[setupvars.sh] OpenVINO environment initialized


Target folder /home/movidius/inference_engine_samples already exists. Skipping samples building.If you want to rebuild samples, remove the entire /home/movidius/inference_engine_samples folder. Then run the script again

 

###################################################

Run Inference Engine security_barrier_camera demo

Run ./security_barrier_camera_demo -d CPU -d_va CPU -d_lpr CPU -i /home/movidius/intel_389/computer_vision_sdk_2018.4.389/deployment_tools/demo/../demo/car_1.bmp -m /home/movidius/intel_389/computer_vision_sdk_2018.4.389/deployment_tools/demo/../intel_models/vehicle-license-plate-detection-barrier-0106/FP32/vehicle-license-plate-detection-barrier-0106.xml -m_va /home/movidius/intel_389/computer_vision_sdk_2018.4.389/deployment_tools/demo/../intel_models/vehicle-attributes-recognition-barrier-0039/FP32/vehicle-attributes-recognition-barrier-0039.xml -m_lpr /home/movidius/intel_389/computer_vision_sdk_2018.4.389/deployment_tools/demo/../intel_models/license-plate-recognition-barrier-0001/FP32/license-plate-recognition-barrier-0001.xml

InferenceEngine:
    API version ............ 1.4
    Build .................. 16048
[ INFO ] Parsing input parameters
[ INFO ] Reading input
[ INFO ] Loading plugin CPU
[ ERROR ] Cannot find plugin to use :Tried load plugin : MKLDNNPlugin,  error: Plugin MKLDNNPlugin cannot be loaded: cannot load plugin: MKLDNNPlugin from ../../../lib/intel64: Cannot load library '../../../lib/intel64/libMKLDNNPlugin.so': ../../../lib/intel64/libMKLDNNPlugin.so: cannot open shared object file: No such file or directory, skipping
cannot load plugin: MKLDNNPlugin from : Cannot load library 'libMKLDNNPlugin.so': libiomp5.so: cannot open shared object file: No such file or directory, skipping

 


Error on or near line 150; exiting with status 1

------------------------------------------------------------------

I did remove to inference_engine_samples and run the script again but it didn't make a difference.

What should I do next?

Michael

 

Reply