Skip to content
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

Build Error on macOS #1065

Open
dozer8383 opened this issue Aug 20, 2024 · 0 comments
Open

Build Error on macOS #1065

dozer8383 opened this issue Aug 20, 2024 · 0 comments

Comments

@dozer8383
Copy link

When I run python3 setup.py build, it builds for quite a while (with plenty of warnings and a few errors) until it finally just stops with this error:
[there are a lot of warnings before this, but below is where it stops dead]

[ 35%] Built target akaze
[ 36%] Linking C static library libvl.a
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libvl.a(mathop_avx.c.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libvl.a(mathop_avx.c.o) has no symbols
32 warnings generated.
[ 36%] Built target vl
[ 37%] Linking CXX static library libgtest.a
[ 37%] Built target gtest
make: *** [all] Error 2
Traceback (most recent call last):
  File "/Users/jackm/OpenSfM/setup.py", line 60, in <module>
    build_c_extension()
  File "/Users/jackm/OpenSfM/setup.py", line 54, in build_c_extension
    subprocess.check_call(
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-j4']' returned non-zero exit status 2.```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant