Update linux-arm.pubxml to build arm ELF in 64bit #72
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The linux-arm PublishProfile is currently set to the
linux-arm
RuntimeIdentifier. This is actually building the project as an ARM 32-bit executable.When using this in the ODM or NodeODM container, the container has no libraries to run 32-bit ARM executables and, thus, the file does not run. Bash indicates that the file cannot be found, because the libraries to run it are not present.
As such, the LinuxArm release ZIP file containing the Obj2Tiles binary from the repo release page at https://github.com/OpenDroneMap/Obj2Tiles/releases simply does not work in the NodeODM or ODM container when using Arm64.
After changing the PublishProfile to
linux-arm64
and publishing the project, the resulting binary works correctly.