Page MenuHomePhabricator

Debug build problem in itkStreamlineTrackingFilter
Closed, ResolvedPublic

Description

When compiling in Debug in Visual Studio 2015 the compilation fails in line 112 of itkStreamlineTrackingFilter.h. This is the following line:

itkSetMacro( SeedPoints, std::vector< itk::Point<float> >)

In Debug itkSetMacro tries to print a message using itkDebugMacro. It streams the std::vector to a std::ostringstream. In this context there is no overloaded << operator for std::ostream, so it does not compile. I think the best solution is to write a setter for that vector manually, not using the itk macro.

Event Timeline

Hi @milano ,

thank you for your contribution. Before merging your pull request we need you to sign off you commits: http://mitk.org/wiki/Sign_off_contribution

Cheers,
Peter

Hello Peter,

I have just generated a new commit signing that pull request. The only issue is that by amending my previous comment I had to sync with the commits in the master repository, so those commits are part of the pull request. Do you want me to create a whole new pull request or you can just merge my latest commit and discard the rest?

Thank you,

Fede

Hi, please create a new pull request and open a new branch for it in your repo instead of working on your master branch. This is the most easy way for us to merge your contribution. Thank you!

Ok, I have created a new pull request:

https://github.com/MITK/MITK/pull/206

Thank you!

Fede

neher claimed this task.