Skip to content

fix: prevent failures on clean Linux builds#2022

Merged
smathermather merged 1 commit intoOpenDroneMap:masterfrom
MJohnson459:fix-clean-build
Apr 22, 2026
Merged

fix: prevent failures on clean Linux builds#2022
smathermather merged 1 commit intoOpenDroneMap:masterfrom
MJohnson459:fix-clean-build

Conversation

@MJohnson459
Copy link
Copy Markdown
Contributor

@MJohnson459 MJohnson459 commented Apr 20, 2026

While trying to build the project from clean there were a few issues I encountered:

  • Ceres didn't build due to the git patch command failing.
  • GDAL didn't install the python bindings in the venv
  • When not using the Docker build the /code directory doesn't exist which was causing the configure.sh script to fail

With these changes I can consistently build the project from scratch. I've tested this by using a clean Docker build and also with a devcontainer (both using ubuntu 24.04).

I believe these changes shouldn't affect windows and mac builds but I don't have machines to test those at the moment.

While trying to build the project from clean there were a couple of
issues I encountered.

- Ceres didn't build due to the `git patch` command failing.
- GDAL didn't install the python bindings in the venv

With these changes I can consistently build the project from scratch.
I've tested this by using a clean Docker build and also with a
devcontainer (both using ubuntu 24.04).
@smathermather
Copy link
Copy Markdown
Contributor

Shouldn't affect Windows and Mac, but double-checking. Built on linux and ran through oats as a quick check. Will take a look at outputs in detail later tonight, but cursory checks are good.

Copy link
Copy Markdown
Contributor

@sylveon sylveon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on Windows, everything still works there!

@smathermather
Copy link
Copy Markdown
Contributor

Cool. Works better on linux than 2.5.6 as well.

@smathermather smathermather merged commit 82552d8 into OpenDroneMap:master Apr 22, 2026
2 checks passed
@MJohnson459 MJohnson459 deleted the fix-clean-build branch April 22, 2026 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants