Comments (11)
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.
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.
Commits 095323c and 59647bc should fix it, it would be great if you can confirm.
from rtk.
from rtk.
I'm closing it but don't hesitate to reopen if we missed something. Thanks again for the report!
from rtk.
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.
Just pushed a fix, I hope it works now...
from rtk.
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.
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.
Now it builds and the tests pass.
from rtk.
Great, thanks.
from rtk.
Related Issues (20)
- Read Raw Data HOT 1
- how to use "DisplacedDetectorForOffsetFieldOfViewImageFilter"? HOT 1
- how itk.CudaImage convert to itk.Image? HOT 1
- Python Wrapping fails for missing dimensions HOT 15
- Why use SetTruncationCorrection in RTK has no performance? HOT 1
- Why SetTruncationCorrection(0.4) is not useful? HOT 3
- "Please, is there any source code available for this function?" HOT 1
- How to output the image after truncation correction and ramp filtering? HOT 1
- reconstruction by cuda occur problem: ITK ERROR: CUDA ERROR: out of memory HOT 1
- “itkRTK-5.2.lib” is not created HOT 1
- Unable to successfully build the rtk library HOT 2
- Reconstructed slices are returning as zeros and NaN HOT 1
- Unable to successfully build the rtk library HOT 2
- Error C1001 An internal error has occurred in the compiler. HOT 3
- Cuda memory error when using Cuda forward projector HOT 11
- Unable to debug hxx files and h files HOT 8
- Unable to compile simpleRTK HOT 1
- Installation issue with pip HOT 1
- why rtk::CudaFDKConeBeamReconstructionFilter's GetRampFilter()->SetTruncationCorrection() failed!
- why rtk::CudaFDKConeBeamReconstructionFilter's GetRampFilter()->SetTruncationCorrection() failed! HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtk.