-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Compilation error in model_viewer_widget.h #745
Comments
Did you install all dependencies? It looks a bit like you might be missing the Qt library (which is used for the GUI) or might only have an older version of Qt installed. |
Thanks for your reply. I did install all dependencies as show below:
When running cmake prior to running make, I can see that it can find Qt5.
The error however unfortunately persists.
By running qtchooser I can see that I have both 4 and 5 on my device. Please let me know if this could be causing the problem.
Additionally, qmake seems to be using 4.8.7. Could this be a problem?
|
Update: I've removed
|
Any reason for using qmake instead of CMake? I never tested whether it works with qmake.
|
@ahojnnes I'm not actually using qmake for compilation. I just used it to check which version of Qt is on my machine and which version of Qt is selected by default. |
COLMAP requires Qt but it also works without the graphical user interface. Please refer to the documentation. There were also other people in the past that managed to run COLMAP on the Jetson. Please search in the history to find the details and code.
… On 9 Dec 2019, at 21:50, Khaled Sharif ***@***.***> wrote:
@ahojnnes @tsattler
Is there a way to build a headless version of COLMAP (i.e. to only use the COLMAP command line interface)? I assume this way would not require Qt and therefore I could successfully build this on the Jetson device.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Dear @KhaledSharif , could you detail how you managed to solve this issue? I am trying to install colmap on the jetson and facing the same error. Thank you. |
@iliesaya |
I followed all these instructions. Yet I am still getting the error as below : |
@karthikarvind1295 can you give more details please? Which system are you compiling on? Which version of QT are you using? etc |
Hi @KhaledSharif . I am trying to compile colmap on Jetson TX2 with Qt5 installed. Got this error with QOpenGLFunctions_3_2_Core:
and With QOpenGLExtraFunctions:
Could you please advice me? Thank you |
I believe that I had to remove the model_viewer_widget.cc from my source code in order for it to compile. I'm using the command line version of COLMAP so it wasn't needed for me. |
@karthikarvind1295 see comment above |
Finally I've been able to compile it on a nVidia Jetson TX1.
Hope it helps |
Previous commit did not include all changes suggested in colmap#745
In file included from /home/hanjie/colmap-3.7/src/ui/main_window.h:50:0, |
This modification will still result in errors: |
Error output
Environment
Steps to recreate
The text was updated successfully, but these errors were encountered: