-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when compiling on OSX 10.11 with clang-3.8svn #1458
Comments
Useful sidenote, clang-omp is working as intended, and its included in homebrew. It could be a good workaround in the meantime.
If you want to contribute with a PR it should be enough, to replace point = interest_points.points[interest_point_idx].getVector3fMap ()` with point = interest_points.points[interest_point_idx].getVector3fMapConst ()` I tried to reproduce this compilation error in llvm-clang 3.6 (the one in homebrew) but its still not throwing these errors in that version. |
I guess I can give clang-omp a go. I went with a recent one because as far as I know clang-omp hasn't been updated for a while and won't be anymore. I've tried compiling with: Replacing that line unfortunately failed: |
openmp-enabled clang Fixes PointCloudLibrary#1458 Verified that it works openmp-enabled clang trunk (clang version 3.9.0 (https://github.com/llvm-mirror/clang.git 93de2a0297b6b058f67fe1b622f2a084ea752291)) and Xcode-bundled clang (Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn))
openmp-enabled clang Fixes PointCloudLibrary#1458 Verified that it works openmp-enabled clang trunk (clang version 3.9.0 (https://github.com/llvm-mirror/clang.git 93de2a0297b6b058f67fe1b622f2a084ea752291)) and Xcode-bundled clang (Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn))
openmp-enabled clang Fixes PointCloudLibrary#1458 Verified that it works openmp-enabled clang trunk (clang version 3.9.0 (https://github.com/llvm-mirror/clang.git 93de2a0297b6b058f67fe1b622f2a084ea752291)) and Xcode-bundled clang (Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn))
Compiler: clang-3.8 (from llvm svn. This one supports OpenMP as opposed to Apple's one)
OSX : 10.11.1 El Capitan
Eigen version: 3.2.0
Build error happens with both 1.7.2 versions and up-to-date git
The text was updated successfully, but these errors were encountered: