View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013372 | VTK | (No Category) | public | 2012-08-20 02:40 | 2015-01-09 13:50 | ||||
Reporter | Andreas Fetzer | ||||||||
Assigned To | Sean McBride | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | 5.10.1 | |||||||
Summary | 0013372: VTK 5.10 Builderror on Mac OS X 10.7 | ||||||||
Description | Building VTK 5.10 using both GCC and CLANG delivers one build error. Here is the stack trace: 21%] Building C object Utilities/vtkpng/CMakeFiles/vtkpng.dir/pngrutil.c.o Scanning dependencies of target vtktiff /Volumes/Macintosh_HD_2/projects/mitk/Bugsquashing/bin/VTK-src/GUISupport/Qt/Chart/vtkQtBarChart.cxx:428:11: error: use of undeclared identifier 'isnan'; did you mean 'std::isnan'? if (isnan(py)) ^~~~~ std::isnan /usr/include/c++/4.2.1/cmath:550:5: note: 'std::isnan' declared here isnan(_Tp __f) { return ::__gnu_cxx::__capture_isnan(__f); } ^ [ 21%] Building C object Utilities/vtkhdf5/src/CMakeFiles/vtkhdf5.dir/H5Abtree2.c.o [ 21%] 1 error generated. Building C object Utilities/vtkpng/CMakeFiles/vtkpng.dir/pngvcrd.c.o make[5]: *** [GUISupport/Qt/Chart/CMakeFiles/vtkQtChart.dir/vtkQtBarChart.cxx.o] Error 1 make[4]: *** [GUISupport/Qt/Chart/CMakeFiles/vtkQtChart.dir/all] Error 2 make[4]: *** Waiting for unfinished jobs.... Putting std:: in front of the isnan() call solves this issue and the build completes without any more errors. | ||||||||
Tags | No tags attached. | ||||||||
Project | Kitware | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0029046) Ho Cheung (reporter) 2012-08-21 19:41 edited on: 2012-08-21 19:42 |
Just wanted to note this requires CMake options VTK_USE_QTCHARTS (and thus VTK_USE_QT) to surface. |
(0029047) Sean McBride (developer) 2012-08-22 17:31 |
I guess no dashboard has VTK_USE_QTCHARTS and VTK_USE_QT. :( Would you be able to provide one? I'll make a patch to fix this compile error... |
(0029065) Sean McBride (developer) 2012-08-24 19:36 |
proposed fix: http://review.source.kitware.com/7177 [^] |
(0030379) David Gobbi (developer) 2013-02-24 19:49 |
Fixed by commit 644fe65cd in Aug, 2012. Fixed in VTK 5.10.1 and in vtk master. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-08-20 02:40 | Andreas Fetzer | New Issue | |
2012-08-21 19:41 | Ho Cheung | Note Added: 0029046 | |
2012-08-21 19:42 | Ho Cheung | Note Edited: 0029046 | |
2012-08-22 17:30 | Sean McBride | Assigned To | => Sean McBride |
2012-08-22 17:30 | Sean McBride | Status | backlog => tabled |
2012-08-22 17:31 | Sean McBride | Note Added: 0029047 | |
2012-08-24 19:36 | Sean McBride | Note Added: 0029065 | |
2013-02-24 19:49 | David Gobbi | Note Added: 0030379 | |
2013-02-24 19:49 | David Gobbi | Status | tabled => closed |
2013-02-24 19:49 | David Gobbi | Resolution | open => fixed |
2013-02-24 19:49 | David Gobbi | Fixed in Version | => 5.10.1 |
2015-01-09 13:50 | Sean McBride | Source_changeset_attached | => VTK master 644fe65c |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |