Community
cancel
Showing results for 
Search instead for 
Did you mean: 
aag
Novice
447 Views

Link error using clang on Windows

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