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.

Link error using clang on Windows

aag
Novice
2,002 Views

lld-link: error: undefined symbol: __declspec(dllimport) public: __cdecl InferenceEngine::TBlob<unsigned char, struct std::enable_if<1, void>>::TBlob<unsigned char, struct std::enable_if<1, void>>(class InferenceEngine::TensorDesc const &, unsigned char *, unsigned __int64)

I believe this is caused by exporting/importing the class, while it is actually defined and implemented inline. Modifying

both "#ifdef __clang__" in ie_blob.h to "#ifdef __clang__DISABLE" solves this problem.

0 Kudos
0 Replies
Reply