Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while Building TTK #214

Closed
mzdaly opened this issue Mar 28, 2019 · 2 comments
Closed

Error while Building TTK #214

mzdaly opened this issue Mar 28, 2019 · 2 comments

Comments

@mzdaly
Copy link

mzdaly commented Mar 28, 2019

I am using a mac, running Mojave (10.14.4). I am fairly confident I have done all the steps correctly but I run into the following error while compiling ttk:

In file included from /Users/Matt/ttk/ttk-0.9.7/core/vtk/ttkOFFWriter/ttkOFFWriter.cpp:7: In file included from /usr/local/Cellar/vtk/8.1.2_3/include/vtk-8.1/vtkDoubleArray.h:29: In file included from /usr/local/Cellar/vtk/8.1.2_3/include/vtk-8.1/vtkAOSDataArrayTemplate.h:35: In file included from /usr/local/Cellar/vtk/8.1.2_3/include/vtk-8.1/vtkGenericDataArray.h:72: In file included from /usr/local/Cellar/vtk/8.1.2_3/include/vtk-8.1/vtkGenericDataArrayLookupHelper.h:26: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cmath:313:9: fatal error: no member named 'signbit' in the global namespace using ::signbit; ~~^

Thanks ahead of time!

@jalevine
Copy link
Contributor

Matt,

Please see this issue as recently discussed in the ttk-users google group:
https://groups.google.com/forum/#!topic/ttk-users/_2GKLSS4ZB0

High-level:
(a) TTK is not yet fully tested on Mojave (you'll note the most recent OSX installation considered High Sierra: https://topology-tool-kit.github.io/installation-osx.html)
(b) There appears to be an issue with how CMake identifies the certain portions of the C++ library and in particular which portion of XCode it points too and (perhaps) how all of this links against homebrews version of VTK.
(c) There is a bit of a workaround by forcing CMake to look for certain files in certain paths. It's ugly and not something we want to move to long term, but it might work for you in a pinch. In the meantime, we're delaying a bit to see how these get resolved once versions settled down on Mojave, homebrew, and vtk/ParaView

@julien-tierny
Copy link
Collaborator

julien-tierny commented Apr 24, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants