[Insight-developers] Problems compiling today

Bill Lorensen bill.lorensen at gmail.com
Fri Mar 15 19:36:48 EDT 2013


I see why  those statements are there.

Still need help.

On Fri, Mar 15, 2013 at 4:25 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:

> More info. If I remove
> template<> std::ostream & operator<< <double> (std::ostream & os, const
> Array< double > & arr);
> template<> std::ostream & operator<< <float> (std::ostream & os, const
> Array< float > & arr);
>
> Both my c++ and clang build fine.
>
> What is the purpose of these lines?
>
> Bill
>
> On Fri, Mar 15, 2013 at 4:09 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:
>
>> Guys,
>>
>> This is  on my Mac using:
>> c++ --version
>> c++ --version
>> i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
>> 5658) (LLVM build 2336.1.00)
>>
>> My clang version builds fine.
>>
>> Any ideas?
>>
>> Bill
>>
>>
>> On Fri, Mar 15, 2013 at 11:52 AM, Bill Lorensen <bill.lorensen at gmail.com>wrote:
>>
>>> Folks,
>>>
>>> It's been a few days since itk and tried a build.
>>>
>>> Today I get Linking CXX executable ../../../../bin/ITKCommon1TestDriver
>>> Undefined symbols for architecture x86_64:
>>>   "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:
>>>       void CheckVariableLengthArrayTraits<itk::Array<float>
>>> >(itk::Array<float>)in itkNumericTraitsTest.cxx.o
>>>       itkArrayTest(int, char**)in itkArrayTest.cxx.o
>>>   "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:
>>>       void CheckVariableLengthArrayTraits<itk::Array<double>
>>> >(itk::Array<double>)in itkNumericTraitsTest.cxx.o
>>> ld: symbol(s) not found for architecture x86_64
>>> collect2: ld returned 1 exit status
>>> make[2]: *** [bin/ITKCommon1TestDriver] Error 1
>>> make[1]: ***
>>> [Modules/Core/Common/test/CMakeFiles/ITKCommon1TestDriver.dir/all] Error 2
>>> make: *** [all] Error 2
>>>
>>> Bill
>>>
>>>
>>
>>
>> --
>> Unpaid intern in BillsBasement at noware dot com
>>
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
>



-- 
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-developers/attachments/20130315/935e005d/attachment.htm>


More information about the Insight-developers mailing list