CMake Error: Cannot find source file: testing_main.cc,gtest
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- cmake, python
- Domain
- build-system, testing-qa
Research direction
Start with the recursive clone instructions and inspect the CMake configuration references to src/third/gtest, src/testing_main.cc, and src/third_party/vlfeat/vl. Compare those paths with the 0.5.1 release contents and reproduce the build to determine whether the submodules or source references are missing; done means a clean checkout configures without these missing-source errors.
Written by the indexing model from the issue text.
Description
I cloned the repository code:
git clone --recursive https://github.com/mapillary/OpenSfM
And installed the required dependencies. However, I encountered issues with missing files during the build process:
-
Missing
src/third/gtest
The entire library file was not downloaded. -
Missing
src/testing_main.cc
3.Missing source "No SOURCES given to target: src/third_party/vlfeat/vl
I found the gtest files in the 0.5.1 release version, but I couldn't find testing_main.cc.
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 898
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from mapillary/OpenSfM
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Potential compatibility issues with matplotlib.cm.get_cmap (Incompatible with Matplotlib 3.9.0)Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
The streetOpen
Difficulty 5/5 Over a week Newbie friendliness 10/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Issue with ODMOpen
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in mapillary/OpenSfM
Similar issues
-
area: desktop area: website priority: P2 type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
appandflow/stim#3411 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 Under an hour Newbie friendliness 88/100
baptistehamon/lsapy#185 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
PolicyEngine/policyengine-us#10073 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
syedhamidali/radarx#277 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Arekkazu/sgpmp-backend#549 ·
Maintainers usually reply within 1 day