Cannot use "Scripts" module which has not yet been found. (Void)

Discussion about building and installing Elmer
Post Reply
Gary R
Posts: 162
Joined: 12 Apr 2012, 07:23
Antispam: Yes
Location: Long Beach CA, USA

Cannot use "Scripts" module which has not yet been found. (Void)

Post by Gary R »

I decided to get rid of my virtual machine and build a copy of Elmer on my Debian 11 machine.
Operating System: Debian GNU/Linux 11
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.10.0-9-amd64
OS Type: 64-bit
Processors: 4 × AMD FX(tm)-4350 Quad-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: AMD CAICOS

The build on my Debian 10 system was fairly easy but with Debian 11 not so much. I have put in all of the corrections for qt5 that I know of but am having the following error message that I can't seem to solve.
Could NOT find Qt5Scripts (missing: Qt5Scripts_DIR)
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:451 (message):
Cannot use "Scripts" module which has not yet been found.
Call Stack (most recent call first):
ElmerGUI/Application/CMakeLists.txt:214 (QT5_USE_MODULES)
Line 451 is trying to load a series of modules including one called "Scripts". Neither I or the program can figure out what/where this "Scripts" module resides. Any help will be appreciated.
Last edited by Gary R on 07 Nov 2021, 23:53, edited 1 time in total.
Gary R
Posts: 162
Joined: 12 Apr 2012, 07:23
Antispam: Yes
Location: Long Beach CA, USA

Re: Cannot use "Scripts" module which has not yet been found.

Post by Gary R »

Found the problem. I apparently -somehow- added an "s" to the end of Script in the CMakeLists.txt file. Dumb move.
Gary R
Post Reply