Cmake error

362 views
Skip to first unread message

Tushar Athawale

unread,
May 18, 2022, 6:08:21 AM5/18/22
to ttk-users
Hi,

I am tying to install topology toolkit ttk-0.9.9 on macOS Big Sur and trying to compile it against Paraview-v5.8.1. When I try to configure Paraview with ccmake, I am getting the following error:

-- Could NOT find Python3 (missing: Python3_LIBRARIES Python3_INCLUDE_DIRS Development) (Required is at least version "3.2")
CMake Error at VTK/CMake/vtkModule.cmake:4112 (message):
Could not find the Python3 external dependency.
Call Stack (most recent call first):
VTK/Utilities/Python/CMakeLists.txt:46 (vtk_module_find_package)

Could you please help me resolve this error?

Thanks,
Tushar

Charles Gueunet

unread,
May 19, 2022, 2:28:23 AM5/19/22
to ttk-...@googlegroups.com
Dear Tushar,

Which python is installed on your system ? Can you give us the output of "python --version" ?
Is there anything special with your python like a virtual environment?

Best,
Charles

--
You received this message because you are subscribed to the Google Groups "ttk-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ttk-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ttk-users/2790adbc-de5a-468c-ba87-8067e1d8e3d4n%40googlegroups.com.


--
R&D Engineer, PhD
Kitware

Tushar Athawale

unread,
May 19, 2022, 6:11:57 AM5/19/22
to ttk-users
Dear Charles,

Thanks for looking into this. The output of "python --version" on my system is "Python 3.9.12". Also, I am currently not using any virtual environment.
The following link contains thread discussing a similar issue, but I could not understand their solution:


Thanks,
Tushar

Charles Gueunet

unread,
May 19, 2022, 8:02:32 AM5/19/22
to ttk-...@googlegroups.com
It seems your python is too recent compared to the ParaView version you are trying to use. I can help you to make it work but first I would like to know: is there any reason you use an old ParaView / TTK ? You may want to use ParaView 5.10 with the latest TTK version. (The ParaView release on https://www.paraview.org/download/ already contains TTK).

Best,
Charles

Tushar Athawale

unread,
May 19, 2022, 12:45:19 PM5/19/22
to ttk-users
Dear Charles,

Thanks very much! I did not know that Paraview latest version already comes with TTK as plugin. I am now able to get TTK filters working with the Paraview latest release.
Thanks again for helping me resolve the issue.

Best,
Tushar

Reply all
Reply to author
Forward
0 new messages