Error when building using wsl ubuntu
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 899
- PR merge metrics
- No merged PRs in 30d
Description
[ 38%] Linking CXX static library libakaze.a
[ 38%] Built target akaze
[ 39%] Linking CXX static library libgtest.a
[ 39%] Built target gtest
make: *** [Makefile:101: all] Error 2
Traceback (most recent call last):
File "/mnt/v/ProjectInstall/ubuntu/OpenSfM/setup.py", line 60, in
build_c_extension()
File "/mnt/v/ProjectInstall/ubuntu/OpenSfM/setup.py", line 54, in build_c_extension
subprocess.check_call(
File "/home/justin1230/miniconda3/lib/python3.12/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-j32']' returned non-zero exit status 2.
got this error and stopped there.....
I did tried update all , delete the folder and try cloning again.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the WSL Ubuntu build and capture the compiler or linker output before the final Makefile:101 error; the traceback only reports make's nonzero exit. Read setup.py around build_c_extension() and inspect the underlying build failure. Done means the same build completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python, ubuntu
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100