Skip to content

Instantly share code, notes, and snippets.

@Harold2017
Last active November 17, 2021 03:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Harold2017/0036842812bee9f133177987c30866d5 to your computer and use it in GitHub Desktop.
Save Harold2017/0036842812bee9f133177987c30866d5 to your computer and use it in GitHub Desktop.
Crash when use PCL texture mesh

PCL release: PCL-1.12.0-AllInOne-msvc2019-win64.exe

Related issue: PointCloudLibrary/pcl#2147

Crash trace: ~TextureMesh() / Eigen::aligned_allocator

Reason: PCL pre-compiled binary is compiled with AVX enabled which caused incompatibility of EIGEN_IDEAL_MAX_ALIGN_BYTES

Solution: add_compile_options(/arch:AVX)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment