installation problem (MacOs sierra)

639 views
Skip to first unread message

ADriano Macarone PAlmieri

unread,
Mar 8, 2018, 8:35:20 AM3/8/18
to ttk-...@googlegroups.com
Hi to everybody,

first of all my thank to Julien Terny for his kind reply to my past question.
I’m writing today because I’m coming across aninstalaltion problem.

I tried to strictly follow the instruction on the web site, create a folder in ~/User/adriano and stuffed there inside Paradise and TTk sources.
At the step of building paradise this error occurs

CMake Error at VTK/GUISupport/Qt/CMakeLists.txt:69 (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.


Has to be said that inside the ttk/ParaView-v5.4.0/ folder appears a “Qt” folder, not a “Qt5” ; no idea if this would be of some usefulness.

I’ll check for any workaround, hope somebody could help me

BEst
ADriano

adhitya.ka...@gmail.com

unread,
Aug 9, 2018, 9:35:53 AM8/9/18
to ttk-users
Hi, this response might be late. But this could help someone in the future.

There are two ways to install qt5 on MacOS - `brew install qt5` or by building from the sources from here:  http://doc.qt.io/qt-5/osx-building.html

If you follow the instructions for MacOs from TTK's website, you will reach a step wherein you will have to do `ccmake ..``

On this step, add the installation of qt5 to ccmake's installation prefix. In my case, it looks like this: `ccmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/qt/5.11.1/lib/cmake ..`

The rest of the steps remain the same, within the configuration you will have to add the plugin installation path of TTK. In my case, it looks like this: `~/ttk/ttk-0.9.6/ttk_install/``

Hope this helps!

Cheers!

Adhitya

Kate Ivshina

unread,
Jun 25, 2019, 9:01:09 AM6/25/19
to ttk-users
Hi Adhitya,

Thank you a lot for providing this response. It helped me a lot!

Best,
Kate

четверг, 9 августа 2018 г., 18:35:53 UTC+5 пользователь adhitya.ka...@gmail.com написал:

Adhitya Kamakshidasan

unread,
Jun 25, 2019, 9:51:09 AM6/25/19
to ttk-...@googlegroups.com
Awesome Kate. You've made my day. :)
--
You received this message because you are subscribed to a topic in the Google Groups "ttk-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ttk-users/Kzk27yOEy3k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ttk-users+...@googlegroups.com.
To post to this group, send email to ttk-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ttk-users/06006624-ebce-44c6-bfbc-4fc26868082f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kate Ivshina

unread,
Jun 25, 2019, 11:37:56 AM6/25/19
to ttk-users
Hello Adhitya,

I was trying to configure TTK but I'm now receiving a similar error with ParaView:

 CMake Error at paraview/CMakeLists.txt:38 (find_package):

   By not providing "FindParaView.cmake" in CMAKE_MODULE_PATH this project has

   asked CMake to find a package configuration file provided by "ParaView",

   but CMake did not find one.


   Could not find a package configuration file provided by "ParaView" with any

   of the following names:


     ParaViewConfig.cmake

     paraview-config.cmake


   Add the installation prefix of "ParaView" to CMAKE_PREFIX_PATH or set

   "ParaView_DIR" to a directory containing one of the above files.  If

   "ParaView" provides a separate development package or SDK, be sure it has

   been installed.



I have tried the following command: 'ccmake -DCMAKE_INSTALL_PREFIX=/usr/local/paraview/5.6.0/lib/cmake ..',

but it didn't work for me. Could you please help me to solve this issue?


Thank you in advance.


Best,

Kate


четверг, 8 марта 2018 г., 18:35:20 UTC+5 пользователь ADriano Macarone PAlmieri написал:

Adhitya Kamakshidasan

unread,
Jun 25, 2019, 11:44:25 AM6/25/19
to ttk-...@googlegroups.com
Oh I've seen this one as well. Your installation cannot find Paraview.

I don't remember the exact steps I did, but I can lead you to the find the answer.

1. Check whether you've installed Paraview properly [from source and not directly installed the application from Mac]
2. Check whether you're in the same directory as the Paraview sources while installing TTK.
3. Check whether you can call 'paraview' from the command line.


--
You received this message because you are subscribed to a topic in the Google Groups "ttk-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ttk-users/Kzk27yOEy3k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ttk-users+...@googlegroups.com.
To post to this group, send email to ttk-...@googlegroups.com.

Kate Ivshina

unread,
Jun 25, 2019, 12:57:40 PM6/25/19
to ttk-...@googlegroups.com
Hello Adhitya,

Thank you for your reply. I've solved the issue (I just forgot to specify ParaView_DIR).

I've used your initial solution (`ccmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/qt/5.11.1/lib/cmake ..`) when I was installing ParaView, and it all worked out perfectly.
But now when installing TTK, I'm getting the same error ('Could not find a package configuration file provided by "Qt5" with any of the following names:  Qt5Config.cmake  qt5-config.cmake '), even though I use the `ccmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/qt/5.11.1/lib/cmake ..' command. 

I've solved this issue with the following command: 'ccmake -DQt5_DIR=$(brew --prefix qt5)/lib/cmake/Qt5 ..'

Best,
Kate
 

четверг, 8 марта 2018 г., 18:35:20 UTC+5 пользователь ADriano Macarone PAlmieri написал:
Hi to everybody,
Reply all
Reply to author
Forward
0 new messages