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

V1.0 linux & Source Errors: "error while loading shared libraries: libQtOpenGL.so" #32

Open
eduncan911 opened this issue Nov 23, 2021 · 1 comment

Comments

@eduncan911
Copy link

eduncan911 commented Nov 23, 2021

OS: Pop_OS 21.04 (Ubuntu 21.04)
Stanrdard user/non-system dev machine (meaning no "buildutils")

$ ./Plater
./Plater: error while loading shared libraries: libQtOpenGL.so.4: cannot open shared object file: No such file or directory

I run many other Qt apps though already. E.g. FreeCAD.

I also tried to pull down the source. However, upon compiling I get this error:

$ mkdir build
$ cd build/
$ cmake ..
-- The CXX compiler identification is GNU 10.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The C compiler identification is GNU 10.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
CMake Error at gui/CMakeLists.txt:25 (find_package):
  By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5" with any of
  the following names:

    Qt5Config.cmake
    qt5-config.cmake

  Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
  to a directory containing one of the above files.  If "Qt5" provides a
  separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
See also "(snip)../Plater/build/CMakeFiles/CMakeOutput.log".
See also "(snip)../Plater/build/CMakeFiles/CMakeError.log".

Error log didn't hold much. Just some C++ source that was unable to include, most likely from the missing Qt above.

@Gregwar
Copy link
Contributor

Gregwar commented Nov 24, 2021

Can you try:

sudo apt-get install qtbase5-dev
sudo apt-get install qtdeclarative5-dev

And restart the 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

No branches or pull requests

2 participants