- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Liu, Mark (Intel) wrote: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.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Liu, Mark (Intel) wrote: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.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
- Your command line sequence and output log.
- The OpenVINO release you are using.
Any information that helps me to reproduce it would help.
Thanks.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page