I see why those statements are there.<div><br></div><div>Still need help.<br><br><div class="gmail_quote">On Fri, Mar 15, 2013 at 4:25 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">More info. If I remove<div><div>template<> std::ostream & operator<< <double> (std::ostream & os, const Array< double > & arr);</div>
<div>template<> std::ostream & operator<< <float> (std::ostream & os, const Array< float > & arr);</div>
<div><br></div><div>Both my c++ and clang build fine.</div><div><br></div><div>What is the purpose of these lines?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Bill</div></font></span><div><div class="h5">
<br><div class="gmail_quote">On Fri, Mar 15, 2013 at 4:09 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Guys,<div><br></div><div>This is on my Mac using:</div><div>c++ --version</div><div><div>c++ --version</div><div>i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)</div>
</div>
<div><br></div><div>My clang version builds fine.</div><div><br></div><div>Any ideas?</div><div><br></div><div>Bill</div><div><div><div><br><br><div class="gmail_quote">On Fri, Mar 15, 2013 at 11:52 AM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Folks,<div><br></div><div>It's been a few days since itk and tried a build.</div><div><br></div><div>Today I get Linking CXX executable ../../../../bin/ITKCommon1TestDriver<div>
Undefined symbols for architecture x86_64:</div>
<div> "std::basic_ostream<char, std::char_traits<char> >& itk::operator<< <float>(std::basic_ostream<char, std::char_traits<char> >&, itk::Array<float> const&)", referenced from:</div>
<div> void CheckVariableLengthArrayTraits<itk::Array<float> >(itk::Array<float>)in itkNumericTraitsTest.cxx.o</div><div> itkArrayTest(int, char**)in itkArrayTest.cxx.o</div><div> "std::basic_ostream<char, std::char_traits<char> >& itk::operator<< <double>(std::basic_ostream<char, std::char_traits<char> >&, itk::Array<double> const&)", referenced from:</div>
<div> void CheckVariableLengthArrayTraits<itk::Array<double> >(itk::Array<double>)in itkNumericTraitsTest.cxx.o</div><div>ld: symbol(s) not found for architecture x86_64</div><div>collect2: ld returned 1 exit status</div>
<div>make[2]: *** [bin/ITKCommon1TestDriver] Error 1</div><div>make[1]: *** [Modules/Core/Common/test/CMakeFiles/ITKCommon1TestDriver.dir/all] Error 2</div><div>make: *** [all] Error 2</div><span><font color="#888888"><div>
<br></div><div>Bill</div><div>
<br></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>