GithubHelp home page GithubHelp logo

Comments (11)

SimonRit avatar SimonRit commented on July 25, 2024

Thanks for the report. I could not reproduce the problem
https://my.cdash.org/buildSummary.php?buildid=1457727
https://my.cdash.org/buildSummary.php?buildid=1457591
The failing tests with shared libs probably come from the FFTW bug that I corrected after ITK 4.13. Is it really master or have you applied GH-187?

from rtk.

dzenanz avatar dzenanz commented on July 25, 2024

That was with PR187 applied. But since I had my ITK built with all legacy OFF, I needed that or else I run into "itkGetObjectMacro is not defined" error.

from rtk.

SimonRit avatar SimonRit commented on July 25, 2024

Commits 095323c and 59647bc should fix it, it would be great if you can confirm.

from rtk.

dzenanz avatar dzenanz commented on July 25, 2024

from rtk.

SimonRit avatar SimonRit commented on July 25, 2024

I'm closing it but don't hesitate to reopen if we missed something. Thanks again for the report!

from rtk.

dzenanz avatar dzenanz commented on July 25, 2024

With current master, the build still fails:

1>------ Build started: Project: RTK, Configuration: Release x64 ------
2>------ Skipped Build: Project: ITKHeaderTests, Configuration: Release x64 ------
2>Project not selected to build for this solution configuration 
1>  rtkCudaParkerShortScanImageFilter.cxx
1>C:\Misc\RTK\src\rtkCudaParkerShortScanImageFilter.cxx(78): error C2662: 'const std::map<double,unsigned int,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>> rtk::ThreeDCircularProjectionGeometry::GetUniqueSortedAngles(const std::vector<double,std::allocator<double>> &)': cannot convert 'this' pointer from 'const rtk::ParkerShortScanImageFilter<itk::CudaImage<float,3>,TInputImage>::GeometryType' to 'rtk::ThreeDCircularProjectionGeometry &'
1>          with
1>          [
1>              _Kty=double,
1>              _Ty=unsigned int
1>          ]
1>          and
1>          [
1>              TInputImage=itk::CudaImage<float,3>
1>          ]
1>  C:\Misc\RTK\src\rtkCudaParkerShortScanImageFilter.cxx(78): note: Conversion loses qualifiers
3>------ Build started: Project: rtkextractshroudsignal, Configuration: Release x64 ------
4>------ Build started: Project: rtkimagxgeometry, Configuration: Release x64 ------
3>  rtkextractshroudsignal.cxx
4>  rtkimagxgeometry.cxx
3>c:\misc\rtk\include\rtkReg1DExtractShroudSignalImageFilter.hxx(169): error C2440: 'initializing': cannot convert from 'const itk::Image<OutputPixelType,1> *' to 'itk::SmartPointer<itk::Image<OutputPixelType,1>>'
3>  c:\misc\rtk\include\rtkReg1DExtractShroudSignalImageFilter.hxx(169): note: No constructor could take the source type, or constructor overload resolution was ambiguous
3>  c:\misc\rtk\include\rtkReg1DExtractShroudSignalImageFilter.hxx(142): note: while compiling class template member function 'void rtk::Reg1DExtractShroudSignalImageFilter<InputPixelType,OutputPixelType>::GenerateData(void)'
3>  C:\Misc\RTK\applications\rtkextractshroudsignal\rtkextractshroudsignal.cxx(77): note: see reference to class template instantiation 'rtk::Reg1DExtractShroudSignalImageFilter<InputPixelType,OutputPixelType>' being compiled
3>c:\misc\rtk\include\rtkReg1DExtractShroudSignalImageFilter.hxx(190): error C2679: binary '=': no operator found which takes a right-hand operand of type 'const itk::Image<OutputPixelType,1> *' (or there is no acceptable conversion)
3>  c:\libs\insighttoolkit-4.13.0\modules\core\common\include\itkSmartPointer.h(121): note: could be 'itk::SmartPointer<itk::Image<OutputPixelType,1>> &itk::SmartPointer<itk::Image<OutputPixelType,1>>::operator =(itk::Image<OutputPixelType,1> *)'
3>  c:\libs\insighttoolkit-4.13.0\modules\core\common\include\itkSmartPointer.h(117): note: or       'itk::SmartPointer<itk::Image<OutputPixelType,1>> &itk::SmartPointer<itk::Image<OutputPixelType,1>>::operator =(const itk::SmartPointer<itk::Image<OutputPixelType,1>> &)'
3>  c:\misc\rtk\include\rtkReg1DExtractShroudSignalImageFilter.hxx(190): note: while trying to match the argument list '(itk::SmartPointer<itk::Image<OutputPixelType,1>>, const itk::Image<OutputPixelType,1> *)'
4>c:\misc\rtk\include\rtkImagXGeometryReader.hxx(58): error C2440: 'initializing': cannot convert from 'const itk::DOMNodeXMLReader::OutputType *' to 'itk::SmartPointer<itk::DOMNode::Self>'
4>  c:\misc\rtk\include\rtkImagXGeometryReader.hxx(58): note: No constructor could take the source type, or constructor overload resolution was ambiguous
4>  c:\misc\rtk\include\rtkImagXGeometryReader.hxx(48): note: while compiling class template member function 'rtk::ImagXGeometryReader<OutputImageType>::FlexmapType rtk::ImagXGeometryReader<OutputImageType>::GetGeometryForAI2p1(void)'
4>  c:\misc\rtk\include\rtkImagXGeometryReader.hxx(499): note: see reference to function template instantiation 'rtk::ImagXGeometryReader<OutputImageType>::FlexmapType rtk::ImagXGeometryReader<OutputImageType>::GetGeometryForAI2p1(void)' being compiled
4>  c:\misc\rtk\include\rtkImagXGeometryReader.hxx(479): note: while compiling class template member function 'void rtk::ImagXGeometryReader<OutputImageType>::GenerateData(void)'
4>  C:\Misc\RTK\applications\rtkimagxgeometry\rtkimagxgeometry.cxx(34): note: see reference to class template instantiation 'rtk::ImagXGeometryReader<OutputImageType>' being compiled
4>c:\misc\rtk\include\rtkImagXGeometryReader.hxx(341): error C2440: 'initializing': cannot convert from 'const itk::DOMNodeXMLReader::OutputType *' to 'itk::SmartPointer<itk::DOMNode::Self>'
4>  c:\misc\rtk\include\rtkImagXGeometryReader.hxx(341): note: No constructor could take the source type, or constructor overload resolution was ambiguous
4>  c:\misc\rtk\include\rtkImagXGeometryReader.hxx(328): note: while compiling class template member function 'rtk::ImagXGeometryReader<OutputImageType>::CalibrationModelType rtk::ImagXGeometryReader<OutputImageType>::GetGeometryForAI1p5FromXMLFiles(void)'
4>  c:\misc\rtk\include\rtkImagXGeometryReader.hxx(514): note: see reference to function template instantiation 'rtk::ImagXGeometryReader<OutputImageType>::CalibrationModelType rtk::ImagXGeometryReader<OutputImageType>::GetGeometryForAI1p5FromXMLFiles(void)' being compiled
4>c:\misc\rtk\include\rtkImagXGeometryReader.hxx(414): error C2679: binary '=': no operator found which takes a right-hand operand of type 'const itk::DOMNodeXMLReader::OutputType *' (or there is no acceptable conversion)
4>  c:\libs\insighttoolkit-4.13.0\modules\core\common\include\itkSmartPointer.h(121): note: could be 'itk::SmartPointer<itk::DOMNode::Self> &itk::SmartPointer<itk::DOMNode::Self>::operator =(itk::DOMNode *)'
4>  c:\libs\insighttoolkit-4.13.0\modules\core\common\include\itkSmartPointer.h(117): note: or       'itk::SmartPointer<itk::DOMNode::Self> &itk::SmartPointer<itk::DOMNode::Self>::operator =(const itk::SmartPointer<itk::DOMNode::Self> &)'
4>  c:\misc\rtk\include\rtkImagXGeometryReader.hxx(414): note: while trying to match the argument list '(itk::DOMNode::Pointer, const itk::DOMNodeXMLReader::OutputType *)'
5>------ Skipped Build: Project: INSTALL, Configuration: Release x64 ------
5>Project not selected to build for this solution configuration 
========== Build: 0 succeeded, 3 failed, 66 up-to-date, 2 skipped ==========

from rtk.

SimonRit avatar SimonRit commented on July 25, 2024

Just pushed a fix, I hope it works now...

from rtk.

dzenanz avatar dzenanz commented on July 25, 2024

With master, the errors are still there:

1>------ Skipped Build: Project: ITKHeaderTests, Configuration: Release x64 ------
1>Project not selected to build for this solution configuration 
2>------ Build started: Project: rtkextractshroudsignal, Configuration: Release x64 ------
3>------ Build started: Project: rtkimagxgeometry, Configuration: Release x64 ------
3>  rtkimagxgeometry.cxx
2>  rtkextractshroudsignal.cxx
2>c:\misc\rtk\include\rtkReg1DExtractShroudSignalImageFilter.hxx(169): error C2440: 'initializing': cannot convert from 'const itk::Image<OutputPixelType,1> *' to 'itk::SmartPointer<itk::Image<OutputPixelType,1>>'
2>  c:\misc\rtk\include\rtkReg1DExtractShroudSignalImageFilter.hxx(169): note: No constructor could take the source type, or constructor overload resolution was ambiguous
2>  c:\misc\rtk\include\rtkReg1DExtractShroudSignalImageFilter.hxx(142): note: while compiling class template member function 'void rtk::Reg1DExtractShroudSignalImageFilter<InputPixelType,OutputPixelType>::GenerateData(void)'
2>  C:\Misc\RTK\applications\rtkextractshroudsignal\rtkextractshroudsignal.cxx(77): note: see reference to class template instantiation 'rtk::Reg1DExtractShroudSignalImageFilter<InputPixelType,OutputPixelType>' being compiled
2>c:\misc\rtk\include\rtkReg1DExtractShroudSignalImageFilter.hxx(190): error C2679: binary '=': no operator found which takes a right-hand operand of type 'const itk::Image<OutputPixelType,1> *' (or there is no acceptable conversion)
2>  c:\libs\insighttoolkit-4.13.0\modules\core\common\include\itkSmartPointer.h(121): note: could be 'itk::SmartPointer<itk::Image<OutputPixelType,1>> &itk::SmartPointer<itk::Image<OutputPixelType,1>>::operator =(itk::Image<OutputPixelType,1> *)'
2>  c:\libs\insighttoolkit-4.13.0\modules\core\common\include\itkSmartPointer.h(117): note: or       'itk::SmartPointer<itk::Image<OutputPixelType,1>> &itk::SmartPointer<itk::Image<OutputPixelType,1>>::operator =(const itk::SmartPointer<itk::Image<OutputPixelType,1>> &)'
2>  c:\misc\rtk\include\rtkReg1DExtractShroudSignalImageFilter.hxx(190): note: while trying to match the argument list '(itk::SmartPointer<itk::Image<OutputPixelType,1>>, const itk::Image<OutputPixelType,1> *)'
3>c:\misc\rtk\include\rtkImagXGeometryReader.hxx(58): error C2440: 'initializing': cannot convert from 'const itk::DOMNodeXMLReader::OutputType *' to 'itk::SmartPointer<itk::DOMNode::Self>'
3>  c:\misc\rtk\include\rtkImagXGeometryReader.hxx(58): note: No constructor could take the source type, or constructor overload resolution was ambiguous
3>  c:\misc\rtk\include\rtkImagXGeometryReader.hxx(48): note: while compiling class template member function 'rtk::ImagXGeometryReader<OutputImageType>::FlexmapType rtk::ImagXGeometryReader<OutputImageType>::GetGeometryForAI2p1(void)'
3>  c:\misc\rtk\include\rtkImagXGeometryReader.hxx(499): note: see reference to function template instantiation 'rtk::ImagXGeometryReader<OutputImageType>::FlexmapType rtk::ImagXGeometryReader<OutputImageType>::GetGeometryForAI2p1(void)' being compiled
3>  c:\misc\rtk\include\rtkImagXGeometryReader.hxx(479): note: while compiling class template member function 'void rtk::ImagXGeometryReader<OutputImageType>::GenerateData(void)'
3>  C:\Misc\RTK\applications\rtkimagxgeometry\rtkimagxgeometry.cxx(34): note: see reference to class template instantiation 'rtk::ImagXGeometryReader<OutputImageType>' being compiled
3>c:\misc\rtk\include\rtkImagXGeometryReader.hxx(341): error C2440: 'initializing': cannot convert from 'const itk::DOMNodeXMLReader::OutputType *' to 'itk::SmartPointer<itk::DOMNode::Self>'
3>  c:\misc\rtk\include\rtkImagXGeometryReader.hxx(341): note: No constructor could take the source type, or constructor overload resolution was ambiguous
3>  c:\misc\rtk\include\rtkImagXGeometryReader.hxx(328): note: while compiling class template member function 'rtk::ImagXGeometryReader<OutputImageType>::CalibrationModelType rtk::ImagXGeometryReader<OutputImageType>::GetGeometryForAI1p5FromXMLFiles(void)'
3>  c:\misc\rtk\include\rtkImagXGeometryReader.hxx(514): note: see reference to function template instantiation 'rtk::ImagXGeometryReader<OutputImageType>::CalibrationModelType rtk::ImagXGeometryReader<OutputImageType>::GetGeometryForAI1p5FromXMLFiles(void)' being compiled
3>c:\misc\rtk\include\rtkImagXGeometryReader.hxx(414): error C2679: binary '=': no operator found which takes a right-hand operand of type 'const itk::DOMNodeXMLReader::OutputType *' (or there is no acceptable conversion)
3>  c:\libs\insighttoolkit-4.13.0\modules\core\common\include\itkSmartPointer.h(121): note: could be 'itk::SmartPointer<itk::DOMNode::Self> &itk::SmartPointer<itk::DOMNode::Self>::operator =(itk::DOMNode *)'
3>  c:\libs\insighttoolkit-4.13.0\modules\core\common\include\itkSmartPointer.h(117): note: or       'itk::SmartPointer<itk::DOMNode::Self> &itk::SmartPointer<itk::DOMNode::Self>::operator =(const itk::SmartPointer<itk::DOMNode::Self> &)'
3>  c:\misc\rtk\include\rtkImagXGeometryReader.hxx(414): note: while trying to match the argument list '(itk::DOMNode::Pointer, const itk::DOMNodeXMLReader::OutputType *)'
4>------ Skipped Build: Project: INSTALL, Configuration: Release x64 ------
4>Project not selected to build for this solution configuration 
========== Build: 0 succeeded, 2 failed, 67 up-to-date, 2 skipped ==========

from rtk.

SimonRit avatar SimonRit commented on July 25, 2024

I believe I had this time the right configuration to reproduce the bug and fix it
Again, great if you can check before closing.

from rtk.

dzenanz avatar dzenanz commented on July 25, 2024

Now it builds and the tests pass.

from rtk.

SimonRit avatar SimonRit commented on July 25, 2024

Great, thanks.

from rtk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.