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

octovis cannot open files #365

Closed
jlsv888 opened this issue Mar 18, 2022 · 6 comments
Closed

octovis cannot open files #365

jlsv888 opened this issue Mar 18, 2022 · 6 comments
Labels

Comments

@jlsv888
Copy link

jlsv888 commented Mar 18, 2022

I just installed octomap and octovis and I cannot open any files (I get an empty window).

Screenshot from 2022-03-18 05-32-40

Here is my system info:
ubuntu 18.04
cmake version 3.22.1
gcc 9.4.0
QMake version 2.01a / Qt version 4.8.7
libQGLViewer 2.6.3

My installation was the following
cmake .. -DOCTOVIS_QT5=OFF

I got this warning:
CMake Warning (dev) at /usr/local/share/cmake-3.22/Modules/FindOpenGL.cmake:315 (message):
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available. Run "cmake --help-policy CMP0072" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.

FindOpenGL found both a legacy GL library:

OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so

and GLVND libraries for OpenGL and GLX:

OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so

OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
octovis/CMakeLists.txt:71 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.

I did not have any issues on the build and install steps.

@tengfoonglam
Copy link

Hello, I was wondering if have you tried running with sudo? sudo octovis

@RyanWagner10000
Copy link

Hey, I was having a very similar problem but running "sudo octovis" worked for me. Thank you!

@igricart
Copy link

In case you get octovis: command not found, try using the whole path as /opt/ros/noetic/bin/octovis for example.

@jlsv888
Copy link
Author

jlsv888 commented Jan 19, 2023

thanks all! using sudo octovis worked

@whoenig
Copy link
Contributor

whoenig commented Mar 13, 2024

potentially related to #414

@ahornung
Copy link
Member

Closing for now - should be fixed with the latest update (though I couldn't reproduce it myself with my own Ubuntu installation).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants