mapillary / mapillary/OpenSfM

CMake Error: Cannot find source file: testing_main.cc,gtest

Open
#1,091 4 comments 0 reactions 0 assignees View on GitHub

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:

  1. Missing src/third/gtest
    The entire library file was not downloaded.

  2. 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.

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.