You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem happens with ld linker, lld linker and mold linker.
Will you take this into account in future releases? Perhaps by moving the template function LidarScan::field() to lidar_scan_impl.h (in the same way as destagger())?
Platform (please complete the following information):
C++
arm64 Linux
OusterSDK 20230710
Clang-17
Eigen 3.3.7
The text was updated successfully, but these errors were encountered:
Hello!
We have problems using your C++ Ouster SDK with Clang (clang-17 at the moment, but the same problem existed for earlier versions too).
The OusterSDK is compiled up with GCC 9.4.0 and linked to our application.
The problem is a linker error due to explicit template instantiations. GCC-13 doesn't have any linker error.
I think this issue is related llvm/llvm-project#62134.
A hacky fix for us is to provide the full template function in our LidarOuster.cpp file:
The problem happens with ld linker, lld linker and mold linker.
Will you take this into account in future releases? Perhaps by moving the template function LidarScan::field() to lidar_scan_impl.h (in the same way as destagger())?
Platform (please complete the following information):
The text was updated successfully, but these errors were encountered: