When building cisst with ClangCl in MSVC 2019, the cisstVector build fails with the following error:
E:\Repositories\cisst\cisst-src\cisstVector/vctEulerRotation3.h(384,1): Error: explicit instantiation of undefined function template 'vctEulerFromMatrixRotation3'
2> expanded from macro 'VCT_DECLARE_EULER_CONVERSION_TEMPLATES'
2> explicit instantiation refers here
2> expanded from macro 'VCT_DECLARE_EULER_CONVERSIONS'
The error is repeated multiple times. I can post the full error output if needed.
It seems that this is due to a mis-identification of MSVC as the compiler since clang-cl is meant to be a drop in replacement for cl.
See here for more info on using clang with MSVC 2019.
When building cisst with ClangCl in MSVC 2019, the
cisstVector
build fails with the following error:The error is repeated multiple times. I can post the full error output if needed.
It seems that this is due to a mis-identification of MSVC as the compiler since
clang-cl
is meant to be a drop in replacement forcl
.See here for more info on using clang with MSVC 2019.