8000 Problem with installing MIRTK · Issue #783 · BioMedIA/MIRTK · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Problem with installing MIRTK #783

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

Open
parinazbabaee opened this issue Aug 11, 2022 · 3 comments
Open

Problem with installing MIRTK #783

parinazbabaee opened this issue Aug 11, 2022 · 3 comments

Comments

@parinazbabaee
Copy link
parinazbabaee commented Aug 11, 2022

Hello,

Please help me to solve the problem with MIRTK using "make -j 8". I am using macOS 12.5. I followed the installation steps based on this page "https://mirtk.github.io/install.html". configuration and generation were done!

Following is the error that I get from make -j 8:

/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/math.h:155:5: note: expanded from macro 'isfinite'
( sizeof(x) == sizeof(float) ? _inline_isfinitef((float)(x))
^
In file included from /Users/parinazbabaeeghazvini/Documents/MIRTK/Packages/DrawEM/ThirdParty/ANTs/N4.cxx:15:
In file included from /usr/local/include/ITK-5.2/itkImageFileReader.h:24:
In file included from /usr/local/include/ITK-5.2/itkImageIOBase.h:30:
In file included from /usr/local/include/ITK-5.2/itkSymmetricSecondRankTensor.h:28:
In file included from /usr/local/include/ITK-5.2/itkMatrix.h:25:
/usr/local/include/ITK-5.2/vnl/vnl_matrix_fixed.hxx:787:37: error: expected unqualified-id
std::cerr << char(vnl_math::isfinite(this->data
[i][ j]) ? '-' : '*');
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/math.h:155:5: note: expanded from macro 'isfinite'
( sizeof(x) == sizeof(float) ? __inline_isfinitef((float)(x))
^
In file included from /Users/parinazbabaeeghazvini/Documents/MIRTK/Modules/Common/src/Vtk.cc:22:
In file included from /Users/parinazbabaeeghazvini/Documents/MIRTK/Modules/Common/include/mirtk/Vtk.h:33:
In file included from /usr/local/include/vtk-9.2/vtkPolyData.h:66:
In file included from /usr/local/include/vtk-9.2/vtkPointSet.h:58:
In file included from /usr/local/include/vtk-9.2/vtkCellTypes.h:44:
In file included from /usr/local/include/vtk-9.2/vtkIdTypeArray.h:27:
In file included from /usr/local/include/vtk-9.2/vtkAOSDataArrayTemplate.h:38:
In file included from /usr/local/include/vtk-9.2/vtkGenericDataArray.h:443:
In file included from /usr/local/include/vtk-9.2/vtkGenericDataArray.txx:21:
/usr/local/include/vtk-9.2/vtkMath.h:2102:15: error: expected unqualified-id
return std::isinf(x);
^
/usr/local/include/math.h:160:5: note: expanded from macro 'isinf'
( sizeof(x) == sizeof(float) ? __inline_isinff((float)(x))
^
In file included from /Users/parinazbabaeeghazvini/Documents/MIRTK/Modules/Common/src/Vtk.cc:22:
In file included from /Users/parinazbabaeeghazvini/Documents/MIRTK/Modules/Common/include/mirtk/Vtk.h:33:
In file included from /usr/local/include/vtk-9.2/vtkPolyData.h:66:
In file included from /usr/local/include/vtk-9.2/vtkPointSet.h:58:
In file included from /usr/local/include/vtk-9.2/vtkCellTypes.h:44:
In file included from /usr/local/include/vtk-9.2/vtkIdTypeArray.h:27:
In file included from /usr/local/include/vtk-9.2/vtkAOSDataArrayTemplate.h:38:
In file included from /usr/local/include/vtk-9.2/vtkGenericDataArray.h:443:
In file included from /usr/local/include/vtk-9.2/vtkGenericDataArray.txx:21:
/usr/local/include/vtk-9.2/vtkMath.h:2115:15: error: expected unqualified-id
return std::isnan(x);
^
/usr/local/include/math.h:165:5: note: expanded from macro 'isnan'
( sizeof(x) == sizeof(float) ? __inline_isnanf((float)(x))
^
In file included from /Users/parinazbabaeeghazvini/Documents/MIRTK/Modules/Common/src/Vtk.cc:22:
In file included from /Users/parinazbabaeeghazvini/Documents/MIRTK/Modules/Common/include/mirtk/Vtk.h:33:
In file included from /usr/local/include/vtk-9.2/vtkPolyData.h:66:
In file included from /usr/local/include/vtk-9.2/vtkPointSet.h:58:
In file included from /usr/local/include/vtk-9.2/vtkCellTypes.h:44:
In file included from /usr/local/include/vtk-9.2/vtkIdTypeArray.h:27:
In file included from /usr/local/include/vtk-9.2/vtkAOSDataArrayTemplate.h:38:
In file included from /usr/local/include/vtk-9.2/vtkGenericDataArray.h:443:
In file included from /usr/local/include/vtk-9.2/vtkGenericDataArray.txx:21:
/usr/local/include/vtk-9.2/vtkMath.h:2128:15: error: expected unqualified-id
return std::isfinite(x);
^
/usr/local/include/math.h:155:5: note: expanded from macro 'isfinite'
( sizeof(x) == sizeof(float) ? __inline_isfinitef((float)(x))
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
11 errors generated.
make[2]: *** [Modules/Common/src/CMakeFiles/LibCommon.dir/Vtk.cc.o] Error 1
make[1]: *** [Modules/Common/src/CMakeFiles/LibCommon.dir/all] Error 2
20 errors generated.
make[2]: *** [Packages/DrawEM/ThirdParty/ANTs/CMakeFiles/N4.dir/N4.cxx.o] Error 1
make[1]: *** [Packages/DrawEM/ThirdParty/ANTs/CMakeFiles/N4.dir/all] Error 2
make: *** [all] Error 2

I appreciate your help for solving the issue,
Best,
Parinaz.

@vidhyadhar8
Copy link

Hi Parinaz,

I am also facing the same issue while installing on mac. did you find any work around for this?

Thanks,
Vidhy

@parinazbabaee
Copy link
Author
parinazbabaee commented May 9, 2025 via email

@vidhyadhar8
Copy link

Can you provide what software you have moved to?

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

2 participants
0