Install with VTK: Unknown keywords given to FIND_PACKAGE_HANDLE_STANDARD_ARGS()

Discussion about building and installing Elmer
Post Reply
ender_wiggin
Posts: 18
Joined: 21 Jun 2023, 22:56
Antispam: Yes

Install with VTK: Unknown keywords given to FIND_PACKAGE_HANDLE_STANDARD_ARGS()

Post by ender_wiggin »

I am trying to install ElmerGUI with VTK 9, but I'm not even able to successfully configure the software because I'm hit with the following error

Code: Select all

 CMake was unable to find desired Qt version: 3. Set advanced values QT_QMAKE_EXECUTABLE and QT3_QGLOBAL_H_FILE.

 CMake Error at cmake/Modules/FindPackageHandleStandardArgs.cmake:166 (message):
   Unknown keywords given to FIND_PACKAGE_HANDLE_STANDARD_ARGS():
   "REASON_FAILURE_MESSAGE"
 Call Stack (most recent call first):
   /usr/local/lib/cmake/vtk-9.2/patches/3.23/FindPython/Support.cmake:3221 (find_package_handle_standard_args)
   /usr/local/lib/cmake/vtk-9.2/patches/3.23/FindPython3.cmake:490 (include)
   /usr/local/lib/cmake/vtk-9.2/VTK-vtk-module-find-packages.cmake:303 (find_package)
   /usr/local/lib/cmake/vtk-9.2/vtk-config.cmake:152 (include)
   ElmerGUI/CMakeLists.txt:106 (FIND_PACKAGE)
I haven't a clue what the issue is. Is this an issue with system variables, or is this an issue with the VTK install.
Rich_B
Posts: 423
Joined: 24 Aug 2009, 20:18

Re: Install with VTK: Unknown keywords given to FIND_PACKAGE_HANDLE_STANDARD_ARGS()

Post by Rich_B »

Hello,

This part of the message is a problem:
CMake was unable to find desired Qt version: 3.
You need to tell cmake to use Qt 5, as mentioned in this post:

viewtopic.php?p=28024#p28024

Rich.
Post Reply