Compilation error

Discussion about building and installing Elmer
Post Reply
gforti
Posts: 70
Joined: 11 Jan 2022, 20:39
Antispam: Yes

Compilation error

Post 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?
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Compilation error

Post by kevinarden »

First check to see if the file is there.
gforti
Posts: 70
Joined: 11 Jan 2022, 20:39
Antispam: Yes

Re: Compilation error

Post by gforti »

Yes, file is there.
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Compilation error

Post 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?
gforti
Posts: 70
Joined: 11 Jan 2022, 20:39
Antispam: Yes

Re: Compilation error

Post 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.
gforti
Posts: 70
Joined: 11 Jan 2022, 20:39
Antispam: Yes

Re: Compilation error

Post 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.
Post Reply