CMake Error: Cannot find source file: testing_main.cc,gtest
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 899
- PR merge metrics
- No merged PRs in 30d
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.
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 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.
Assessment
- Tech stack
- cmake, python
- Domain
- build-system, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100