-
-
Notifications
You must be signed in to change notification settings - Fork 910
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 building in MacOS #921
Comments
can you try adding |
Can you provide a more precise method to do so? I don't quite know how to do it. Thanks! |
I'm afraid I do not understand |
|
I built openMVS following these instructions and I can confirm that #921 (comment) fixes the issue, I was able to build openmvs on my M1 Macbook air with these commands: brew install boost eigen opencv cgal ceres-solver
git clone https://github.com/cdcseacave/VCG.git vcglib
git clone https://github.com/cdcseacave/openMVS.git
mkdir openMVS_build && cd openMVS_build
cmake . ../openMVS -DCMAKE_BUILD_TYPE=Release -DOpenMVS_USE_SSE=OFF -DVCG_ROOT="`pwd`/../vcglib" -G "Xcode"
xcodebuild -configuration Release (for reference, this seems to be a related issue: mapillary/OpenSfM#766 (comment)) |
Describe the bug
I was following the build instructions, everything was working perfectly until the building step. It stopped because of too many errors.
error: "This header is only meant to be used on x86 and x64 architecture"
error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
error: too few arguments to function call, expected 2, have 0
error: use of undeclared identifier '__builtin_ia32_vec_init_v2si'
error: use of undeclared identifier '__builtin_ia32_packsswb'
error: use of undeclared identifier '__builtin_ia32_paddb'; did you mean '__builtin_arm_addg'?
error: first argument of MTE builtin function must be a pointer ('__v8qi' (vector of 8 'char' values) invalid)
fatal error: too many errors emitted, stopping now [-ferror-limit=]
I had no idea what was going on.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: