Closed olivier-stasse closed 4 years ago
You may try to add
#if __cplusplus >= 201103L
extern template class SOT_CORE_DLLAPI FeaturePose<SE3Representation>;
extern template class SOT_CORE_DLLAPI FeaturePose<R3xSO3Representation>;
#endif
in the header file of FeaturePose
, without changing anything else.
Fixed by #148 Thanks @jmirabel
The C++98 style of template instanciation seems to not work with clang.
I tried to implement C++11 style with the extern keyword without any luck.
My current setup is: Apple clang version 11.0.3 (clang-1103.0.32.62) Target: x86_64-apple-darwin19.5.0
Any help would be welcome, it is suppose to be a standard feature since C++11...