Fix windows compilation with MSVC 2015
- Use OpenMP 2.0 standard (MSVC only supports OpenMP 2.0 standard) : use
intindices instead ofunsigned intin parallel for loops. - Disable PCL octree compression module on Windows with MSVC <= 2015 as it leads to linking issues.
- Fix missing includes : they are strangely not needed on Linux, but missing on Windows.
- Do not use tricky
constexprdeclarations as MSVC 2015 does not fully support them, preventing compilation. - Generate Windows export symbols with CMake to enable linking on
LidarSlam. - Fix install paths so that
LidarSlamPluginis auto-loaded andLidarSlamis properly linked on Windows.