Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation of Colmap on aarch64 architecture fails #2562

Open
Michonster opened this issue May 14, 2024 · 0 comments
Open

Installation of Colmap on aarch64 architecture fails #2562

Michonster opened this issue May 14, 2024 · 0 comments

Comments

@Michonster
Copy link

Describe the bug
The problem I am faced with now is that when I run ninja in the terminal, the build goes fine for the most part, but then I receive this error that I can't overcome:

[1/40] Automatic RCC for resources.qrc
FAILED: src/colmap/ui/colmap_ui_autogen/EWIEGA46WW/qrc_resources.cpp /home/colmap/build/src/colmap/ui/colmap_ui_autogen/EWIEGA46WW/qrc_resources.cpp
cd /home/colmap/build/src/colmap/ui && /usr/bin/cmake -E cmake_autorcc /home/colmap/build/src/colmap/ui/CMakeFiles/colmap_ui_autogen.dir/AutoRcc_resources_EWIEGA46WW_Info.json Release

AutoRcc subprocess error

The rcc process failed to compile
"SRC:/src/colmap/ui/resources.qrc"
into
"SRC:/build/src/colmap/ui/colmap_ui_autogen/EWIEGA46WW/qrc_resources.cpp"

Command

/usr/local/qt5.15.12/bin/rcc -name resources -o /home/colmap/build/src/colmap/ui/colmap_ui_autogen/EWIEGA46WW/qrc_resources.cpp /home/colmap/src/colmap/ui/resources.qrc

Output

/usr/local/qt5.15.12/bin/rcc: 1: Syntax error: ")" unexpected

ninja: build stopped: subcommand failed.

Is there a way to fix this issue so that colmap runs on aarch64 architecture with my specific GPU specifications or is there no way to build on this architecture?

Environment:
I am using an Ubuntu Linux 20.04 environment and am trying to install colmap 3.9-dev in order to render my own NeRFs for instant-ngp. My GPU is a Jetson Xavier NX using an aarch64 architecture. I follow the build from source installation guide provided in this link here: https://colmap.github.io/install.html#linux

I will also note, I utilized this solution for part of my installation issue: #745 as part of my installation was fixed thanks to this solution. In addition, following the colmap 3.9-dev installation instructions on my Ubuntu 20.04 x86_64 architecture system, there were 0 issues with installation. Purely a aarch64 issue.

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

No branches or pull requests

1 participant