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

Can not successfully build ITKGrowCut #6

Closed
zhang-qiang-github opened this issue Jul 27, 2021 · 1 comment
Closed

Can not successfully build ITKGrowCut #6

zhang-qiang-github opened this issue Jul 27, 2021 · 1 comment

Comments

@zhang-qiang-github
Copy link

I want to use ITKGrowCut in my project, but there are some trouble to build it.

Firstly, I can successfully compile it. But when I include the itkFastGrowCut.h, a bug is reported:

1. can not open "itkPrintHelper.h"
2. missing type specifier- int assumed. Note: C++ does not support default-int

The second bug is located at: ITK_DISALLOW_COPY_AND_MOVE(FastGrowCut); (itkFastGrowCut).

Then, I re-compile the ITK, and turn the Build_Testing on, and more bugs are reported:

1. can not open `itkImageRegionIterator.h`
2. can not open `itkImageRegionIteratorWithIndex.h`
3. can not open `itkNumericTraits.h`
4. can not open `itkRegionOfInterestImageFilter.h`
5. can not open `GrowCutExport.h`
6. can not open `itkImageToImageFilter.h`
7. can not open `itkPrintHelper.h`
8. identifier 'LabPixelType` is not defined.
9. identifier `SrcPixelType` is not defined
...

All the above bugs is reported from GrowCut-all project.

My environment is:

win 10
vs 2019
cmake 3.20.4
ITK: 4.13.3
@dzenanz
Copy link
Member

dzenanz commented Aug 3, 2021

This remote module requires ITKv5.

@dzenanz dzenanz closed this as completed Aug 3, 2021
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