[vtk-developers] Modularised VTK: Clang Failure

Chris Harris chris.harris at kitware.com
Thu Apr 12 10:10:40 EDT 2012


This issue should now be resolved in master

Regards,

Chris

On Wed, Apr 11, 2012 at 1:58 PM, Chris Harris <chris.harris at kitware.com> wrote:
> Hi Rob,
>
> This is one I am currently looking at, we have the same problem with GCC
>
> Regards,
>
> Chris
>
> On Wed, Apr 11, 2012 at 1:33 PM, Robert Maynard
> <robert.maynard at kitware.com> wrote:
>> Compile default options of VTK with Clang 2.9 on Ubuntu 11.10 fails with the
>> following error:
>>
>> Linking CXX shared library ../../lib/libvtkIOCore-6.0.so
>> CMakeFiles/vtkIOCore.dir/vtkDelimitedTextWriter.cxx.o: In function `void
>> vtkDelimitedTextWriterGetDataString<vtkArrayIteratorTemplate<vtkStdString>
>>>(vtkArrayIteratorTemplate<vtkStdString>*, long long, std::ostream*,
>> vtkDelimitedTextWriter*, bool*)':
>> /home/robert/Work/VTK/src/IO/Core/vtkDelimitedTextWriter.cxx:139: undefined
>> reference to
>> `vtkArrayIteratorTemplate<vtkStdString>::GetNumberOfComponents()'
>> /home/robert/Work/VTK/src/IO/Core/vtkDelimitedTextWriter.cxx:143: undefined
>> reference to `vtkArrayIteratorTemplate<vtkStdString>::GetNumberOfValues()'
>> CMakeFiles/vtkIOCore.dir/vtkDelimitedTextWriter.cxx.o: In function `void
>> vtkDelimitedTextWriterGetDataString<vtkArrayIteratorTemplate<vtkVariant>
>>>(vtkArrayIteratorTemplate<vtkVariant>*, long long, std::ostream*,
>> vtkDelimitedTextWriter*, bool*)':
>> /home/robert/Work/VTK/src/IO/Core/vtkDelimitedTextWriter.cxx:109: undefined
>> reference to `vtkArrayIteratorTemplate<vtkVariant>::GetNumberOfComponents()'
>> /home/robert/Work/VTK/src/IO/Core/vtkDelimitedTextWriter.cxx:113: undefined
>> reference to `vtkArrayIteratorTemplate<vtkVariant>::GetNumberOfValues()'
>> /usr/bin/ld: ../../lib/libvtkIOCore-6.0.so.1: hidden symbol
>> `_ZN24vtkArrayIteratorTemplateI10vtkVariantE21GetNumberOfComponentsEv' isn't
>> defined
>> /usr/bin/ld: final link failed: Bad value
>> clang: error: linker command failed with exit code 1 (use -v to see
>> invocation)
>>
>>
>> --
>> Robert Maynard
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>
>>



More information about the vtk-developers mailing list