Skip to content

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

@eduncan911

Description

@eduncan911

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions