Closed prater27 closed 4 years ago
The boost::qvm namespace contains function templates (with the main
template left undefined), and specializations calling the matching C
function from
template
Specializations for long double were not provided. This is now fixed in develop, to be merged into master pending Travis CI.
Thanks for pointing this out.
This is now merged in master, will get released with 1.73.0.
Great! Thanks
I am trying to compile a project (Qt5creator, Ubuntu 18.04LTS) where I use boost and qvm library. When using long double for the normalize template, I am getting a compilation error:
/usr/local/include/boost/qvm/gen/vec_operations3.hpp:584: error: undefined reference to `long double boost::qvm::sqrt(long double)'
It does not happen if I give for example double or float. This code should reproduce the error: int main(void){ boost::qvm::vec<long double,3> vector={10,20,30}; boost::qvm:: normalize(vector); return 0; }
Qt5Creator pops-up this part of the code:
Thanks in advance