Page 1 of 1

Compilation error

Posted: 01 Feb 2023, 04:50
by gforti
Hello all,

Tried to update my Elmer version using the procedure which I had already used and posted here:
viewtopic.php?t=7848

But I got the following error:

Code: Select all

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfig.cmake:27 (message):
  The imported target "Qt5::Gui" references the file

     "/usr/lib/x86_64-linux-gnu/libGL.so"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake"

  but not all the files it references.
What can it be?

Re: Compilation error

Posted: 01 Feb 2023, 13:15
by kevinarden
First check to see if the file is there.

Re: Compilation error

Posted: 01 Feb 2023, 16:32
by gforti
Yes, file is there.

Re: Compilation error

Posted: 01 Feb 2023, 16:49
by kevinarden
that eliminates bullet 1
bullet 2
An install or uninstall procedure did not complete successfully

if you do
sudo apt update
are any broken packages reported?

Re: Compilation error

Posted: 01 Feb 2023, 19:04
by gforti
Sorry, but the computer I am using for this (with Linux) is my personal computer and it is at home.



These are the files. The actual file is not there (sorry).

Code: Select all

forti@QuintalSoftHouse:~/Source/build$ ls /usr/lib/x86_64-linux-gnu | grep -i libgl
libGL.so.1
libGL.so.1.7.0
Bullet 2:

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.

Re: Compilation error

Posted: 02 Feb 2023, 03:14
by gforti
I think there was a problem with nvidia drivers. I uninstalled it and removed -purge everything:

Code: Select all

sudo apt-get remove --purge '^nvidia-.*'
Seems to be working now. Thanks for the attention.