[Insight-users] ITK 1.2.0: Problems with VS.NET 2003
p.klotz@icoserve.com
p . klotz at icoserve . com
Fri, 16 May 2003 10:00:00 +0200
--0__=4EBBE7BBDFB8F5D38f9e8a93df938690918c4EBBE7BBDFB8F5D3
Content-type: text/plain; charset=US-ASCII
ITK 1.2.0 does not compile with Visual Studio.NET 2003 from Microsoft.
The attached patch fixes some of the problems but I am stuck with the
following:
Building object file itkFEMElement2DC0LinearLine.obj...
itkFEMElement2DC0LinearLine.cxx
c:\ITK\InsightToolkit-1.2.0\Code\Numerics\FEM\itkFEMPArray.h(153) :
error C2440: 'static_cast' : cannot convert from 'const
std::allocator<_Ty>::value_type *' to 'std::vector<_Ty>::const_iterator'
with
[
_Ty=itk::fem::FEMP<itk::fem::Element::Node::Self>
]
and
[
_Ty=itk::fem::FEMP<itk::fem::Element::Node::Self>
]
No constructor could take the source type, or constructor
overload resolution was ambiguous
Any help is highly appreciated.
Best regards, Peter.
(See attached file: InsightToolkit-1.2.0.VSNET2003.patch)
--0__=4EBBE7BBDFB8F5D38f9e8a93df938690918c4EBBE7BBDFB8F5D3
Content-type: application/octet-stream;
name="InsightToolkit-1.2.0.VSNET2003.patch"
Content-Disposition: attachment; filename="InsightToolkit-1.2.0.VSNET2003.patch"
Content-transfer-encoding: base64
ZGlmZiAtYnVyTiBJbnNpZ2h0VG9vbGtpdC0xLjIuMC9Db2RlL051bWVyaWNzL3Z4bC92Y2wvd2lu
MzIvdmNsX2NtYXRoLmggSW5zaWdodFRvb2xraXQtMS4yLjAucGF0Y2hlZC9Db2RlL051bWVyaWNz
L3Z4bC92Y2wvd2luMzIvdmNsX2NtYXRoLmgKLS0tIEluc2lnaHRUb29sa2l0LTEuMi4wL0NvZGUv
TnVtZXJpY3MvdnhsL3ZjbC93aW4zMi92Y2xfY21hdGguaAkyMDAxLTAyLTEzIDIzOjE3OjQxLjAw
MDAwMDAwMCArMDEwMAorKysgSW5zaWdodFRvb2xraXQtMS4yLjAucGF0Y2hlZC9Db2Rl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