Skip to content

Opensfm 370 - #2057

Draft
DodgySpaniard wants to merge 8 commits into
pixifrom
opensfm-370
Draft

Opensfm 370#2057
DodgySpaniard wants to merge 8 commits into
pixifrom
opensfm-370

Conversation

@DodgySpaniard

Copy link
Copy Markdown
Member

Current attempt to use latest our ODM/OpenSFM:370 which is synced with OpenSfM/OpenSfM:v1 in addition to our ODM changes.

This branch is sitting on top of pixi and pixi-windows-fix includes commits from Sam. It is currently a WIP, but should contain all require.

Disclaimer: AI was used in a tool capacity to speed up research. (As usual worth mentioning that the use of this tool has been rather helpful to handle all this random build system errors and likely save many hours of stack overflow scouting).

DodgySpaniard and others added 6 commits July 31, 2026 13:51
- opendm/remote.py and stages/splitmerge.py, on windows this would
fetch the host python env, patching to force the same interpreter.
- opendm/osfm.py - we do not need win.bat anymore.
Pixi:
- Updating pixi dependencies.
- Runtime gperftools only, fixes from spwoodcock (commits 6c47d7f, 2038f0d)
cmake:
- Removed aarch64 guard (nuked upstream).
- Linked to Opensfm:370 OpenSfM sha.
- Updated CMake install.
…uracy

opensfm no longer supports planar algo, and applies anisotropic GPS weighting
@MJohnson459
MJohnson459 changed the base branch from master to pixi August 4, 2026 16:45
- Added flag to control tmalloc linking.
- Adding gperftools to all dependences (not linking it now).
@smathermather

Copy link
Copy Markdown
Contributor

FWIW, Ubuntu 24.04:

user@userland:~/odm$ pixi run build
Error:   × expected a string, found table
   ╭─[/home/hsamboko/odm/pixi.toml:7:5]
 6 │     { platform = "linux-64", cuda = "12.0" },
 7 │     { platform = "win-64", cuda = "12.0" }
   ·     ──────────────────────────────────────
 8 │ ]
   ╰────

user@userland:~/odm$ git checkout 66a058cafa161c3fafd2fff13759ac2516be7c6c
user@userland:~/odm$ pixi run build
✨ Pixi task (build in default): cmake -S SuperBuild -B SuperBuild/build && cmake --build SuperBuild/build: (Configure and compile SuperBuild)
 WARN Skipped running the post-link scripts because `run-post-link-scripts` = `false`
	- bin/.librsvg-pre-unlink.sh

To enable them, run:
	pixi config set --local run-post-link-scripts insecure

More info:
	https://pixi.sh/latest/reference/pixi_configuration/#run-post-link-scripts

-- The C compiler identification is GNU 14.3.0
-- The CXX compiler identification is GNU 14.3.0
-- Detecting C compiler ABI info

@DodgySpaniard

Copy link
Copy Markdown
Member Author

FWIW, Ubuntu 24.04:

user@userland:~/odm$ pixi run build
Error:   × expected a string, found table
   ╭─[/home/hsamboko/odm/pixi.toml:7:5]
 6 │     { platform = "linux-64", cuda = "12.0" },
 7 │     { platform = "win-64", cuda = "12.0" }
   ·     ──────────────────────────────────────
 8 │ ]
   ╰────

user@userland:~/odm$ git checkout 66a058cafa161c3fafd2fff13759ac2516be7c6c
user@userland:~/odm$ pixi run build
✨ Pixi task (build in default): cmake -S SuperBuild -B SuperBuild/build && cmake --build SuperBuild/build: (Configure and compile SuperBuild)
 WARN Skipped running the post-link scripts because `run-post-link-scripts` = `false`
	- bin/.librsvg-pre-unlink.sh

To enable them, run:
	pixi config set --local run-post-link-scripts insecure

More info:
	https://pixi.sh/latest/reference/pixi_configuration/#run-post-link-scripts

-- The C compiler identification is GNU 14.3.0
-- The CXX compiler identification is GNU 14.3.0
-- Detecting C compiler ABI info

Alright, this is odd. I tested it again just for my sanity... and It runs on my machine
I ran:

git clone https://github.com/OpenDroneMap/ODM
cd ODM/
git checkout opensfm-370
git log
git status
pixi run build
pixi run test

@smathermather could you do "git status" maybe you have some changes there?

I tested a clean clone under Ubuntu 24 (through WSL). @MJohnson459 can you take a look? Maybe there is a fork in the scripts for systems with GPU? Also, looks like the CI run for arm is broken with the recent patches.

@smathermather

Copy link
Copy Markdown
Contributor

FWIW, Ubuntu 24.04

Thanks to advice from Michael/Leonardo, reran pixi install script to bump me to 0.76.1 and then:

git checkout opensfm-370
pixi update
pixi run build

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