Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Smistad__Erik
Beginner
101 Views

Code error in ext_resample.cpp (OpenVINO)

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
101 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

Smistad__Erik
Beginner
101 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

Shubha_R_Intel
Employee
101 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

Reply