Problem got when trying to build OpenSfM on centos
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 899
- PR merge metrics
- No merged PRs in 30d
Description
Hello, dear friends in mapillary.
I got a problem when I tried to build OpenSfM on CentOS. This is the screenshot of the problem.

The compiling env is like this:
-
centos 6
-
python2.7
-
gcc 6.4.0
-
cmake 3.3.2
-
other dependencies referring to the Dockerfile given in OpenSfM
It's not over..............................................................................................................
I didn't give up.
I tried another solution. I ran 'docker build' using Dockerfile.python3 on a server of centos7(with docker and python3 and pip3 installed). However, the problem still exists. I have no idea whether I am still misssing some dependencies, or I just can't use centos to build.
Since We use CentOS(rather than Ubuntu) in most of our cluster servers, we have to build opensfm with commands like 'yum' and searching for the replacing requirements in Dockerfile one by one. It's complicated to verify whether I install the right one. Hoping for your solution! Thank you.
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 comparing the dependencies and build steps in Dockerfile and Dockerfile.python3 with the CentOS 6 and 7 environments described. Reproduce the docker build and inspect the linked screenshot and existing comments for the exact failure; done means documenting or implementing a verified CentOS-compatible build path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- centos, cmake, docker, python
- Domain
- build-system, devops, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100