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.

Code error in ext_resample.cpp (OpenVINO)

Smistad__Erik
Beginner
695 Views

On line 273 in ext_resample.cpp:

#pragma omp parallel for collapse(2)

Results in error c3005: 'collapse' unexpected token encountered on openmp 'parallel for' directive on windows because the collapse token is OpenMP 3, while Visual Studio only supports version 2 (source: https://docs.microsoft.com/en-us/cpp/parallel/openmp/openmp-in-visual-cpp?view=vs-2019)

removing collapse(2) fixes this error

This occurs in the latest release of OpenVINO R2019.1.113, did not have this problem with 2018 R5

Thank you for any help in this matter

 

0 Kudos
3 Replies
Shubha_R_Intel
Employee
695 Views

Dear Smistad, Erik,

We just now released OpenVino 2019R1.1. Please download it and retry. Post your results on this forum.

Thanks for your patience !

Shubha

0 Kudos
Smistad__Erik
Beginner
695 Views

I can confirm that this error is gone in 2019 R1.1. However a new error now occurs. A linking error, complaining about missing symbols (unresolved externals) _vcomp functions for the cpu_extension target. However, removing the following line from the cmake file ie_parallel.cmake in OpenVINO fixes this:

target_link_libraries(${TARGET_NAME} PUBLIC "-nodefaultlib:vcomp")

Thanks

0 Kudos
Shubha_R_Intel
Employee
695 Views

Dear Smistad, Erik,

Thanks for reporting back to the forum ! We really appreciate your sharing your experiences with the OpenVino community.  Interesting about the new missing symbols error. Thank you for figuring it out and reporting the fix.

Shubha

0 Kudos
Reply