[vtk-developers] Compile errors: Common/Core/Testing/Cxx/TestAtomic.cxx

Bill Lorensen bill.lorensen at gmail.com
Tue Oct 8 20:13:21 EDT 2013


It has been a few days since I updated VTK. Today I get these erros on
my 32 bit linux build:
Linking CXX executable ../../../../bin/vtkCommonCoreCxxTests
CMakeFiles/vtkCommonCoreCxxTests.dir/TestAtomic.cxx.o: In function
`MyFunction3(void*)':
/home/lorensen/ProjectsGIT/VTKGerrit/Common/Core/Testing/Cxx/TestAtomic.cxx:57:
undefined reference to `detail::vtkAtomicIntImpl<long
long>::operator+=(long long)'
CMakeFiles/vtkCommonCoreCxxTests.dir/TestAtomic.cxx.o: In function
`MyFunction4(void*)':
/home/lorensen/ProjectsGIT/VTKGerrit/Common/Core/Testing/Cxx/TestAtomic.cxx:74:
undefined reference to `detail::vtkAtomicIntImpl<long
long>::operator+=(long long)'
CMakeFiles/vtkCommonCoreCxxTests.dir/TestAtomic.cxx.o: In function
`TestAtomic(int, char**)':
/home/lorensen/ProjectsGIT/VTKGerrit/Common/Core/Testing/Cxx/TestAtomic.cxx:147:
undefined reference to `detail::vtkAtomicIntImpl<long long>::load()
const'
/home/lorensen/ProjectsGIT/VTKGerrit/Common/Core/Testing/Cxx/TestAtomic.cxx:158:
undefined reference to `detail::vtkAtomicIntImpl<long long>::load()
const'
CMakeFiles/vtkCommonCoreCxxTests.dir/TestAtomic.cxx.o: In function
`vtkAtomicInt':
/home/lorensen/ProjectsGIT/VTKGerritNew-linux/Common/Core/vtkAtomicInt.h:363:
undefined reference to `detail::vtkAtomicIntImpl<long
long>::vtkAtomicIntImpl()'
CMakeFiles/vtkCommonCoreCxxTests.dir/TestAtomic.cxx.o: In function
`vtkAtomicInt<long long>::operator++()':
/home/lorensen/ProjectsGIT/VTKGerritNew-linux/Common/Core/vtkAtomicInt.h:371:
undefined reference to `detail::vtkAtomicIntImpl<long
long>::operator++()'
CMakeFiles/vtkCommonCoreCxxTests.dir/TestAtomic.cxx.o: In function
`vtkAtomicInt<long long>::operator--()':
/home/lorensen/ProjectsGIT/VTKGerritNew-linux/Common/Core/vtkAtomicInt.h:385:
undefined reference to `detail::vtkAtomicIntImpl<long
long>::operator--()'
CMakeFiles/vtkCommonCoreCxxTests.dir/TestAtomic.cxx.o: In function
`vtkAtomicInt<long long>::operator-=(long long)':
/home/lorensen/ProjectsGIT/VTKGerritNew-linux/Common/Core/vtkAtomicInt.h:399:
undefined reference to `detail::vtkAtomicIntImpl<long
long>::operator+=(long long)'
CMakeFiles/vtkCommonCoreCxxTests.dir/TestAtomic.cxx.o: In function
`vtkAtomicInt<long long>::operator=(long long)':
/home/lorensen/ProjectsGIT/VTKGerritNew-linux/Common/Core/vtkAtomicInt.h:413:
undefined reference to `detail::vtkAtomicIntImpl<long
long>::store(long long)'
CMakeFiles/vtkCommonCoreCxxTests.dir/TestAtomic.cxx.o:(.rodata._ZTI12vtkAtomicIntIxE[typeinfo
for vtkAtomicInt<long long>]+0x8): undefined reference to `typeinfo
for detail::vtkAtomicIntImpl<long long>'
CMakeFiles/vtkCommonCoreCxxTests.dir/TestAtomic.cxx.o: In function
`~vtkAtomicInt':
/home/lorensen/ProjectsGIT/VTKGerritNew-linux/Common/Core/vtkAtomicInt.h:349:
undefined reference to `detail::vtkAtomicIntImpl<long
long>::~vtkAtomicIntImpl()'
collect2: ld returned 1 exit status
make[2]: *** [bin/vtkCommonCoreCxxTests] Error 1
make[1]: *** [Common/Core/Testing/Cxx/CMakeFiles/vtkCommonCoreCxxTests.dir/all]
Error 2
make: *** [all] Error 2
[VTKGerritNew-linux]



More information about the vtk-developers mailing list