[vtk-developers] Mac OS X build errors
Thompson, David C
dcthomp at sandia.gov
Fri May 7 12:26:51 EDT 2010
> I attached a file showing 3 different build steps:
>
> 1. Compilation line for vtkDoubleArray.cxx
> 2. Link of vtkCommon
> 3. Link of vtkFiltering
Step 3 didn't make it through but the other 2 are nearly identical
to mine (modulo a few build options like VTK_USE_PARALLEL etc.)
The only possibly-significant differences were that my compile and
link lines had
-arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk
while yours did not.
David
On Fri, May 7, 2010 at 11:57 AM, Thompson, David C <dcthomp at sandia.gov> wrote:
>> I saw the same a few days ago.
>> Leopard 64bit, gcc 4.2.1
>> http://www.vtk.org/pipermail/vtk-developers/2010-May/007842.html
>
> Interesting. It doesn't look like Marcus' export support has changed since
> March 14, at which point the Mac dashboards were green. However, since
> the git transition, I haven't noticed a single VTK Mac dashboard build
> submitting properly (they're all tied to CVS). So it may be hard to track
> down when the problem surfaced. Also, Xcode 3.2.2 was released right
> around the time of the git transition...
>
> David
>
>
> On Fri, May 7, 2010 at 11:28 AM, Dave Partyka <dave.partyka at kitware.com> wrote:
>> Marcus added export support for gcc a while back. I am a little surprised no
>> one has seen it before though. You may want to double check your changes on
>> a Windows machine as depending on how the templates are being used can cause
>> Windows shared builds to fail.
>>
>> On Fri, May 7, 2010 at 11:22 AM, Thompson, David C <dcthomp at sandia.gov>
>> wrote:
>>>
>>> Hi all,
>>>
>>> I'm getting link errors when I try to build VTK from the git master
>>> branch:
>>>
>>> Linking CXX shared library ../../bin/libvtkFiltering.dylib
>>> Undefined symbols:
>>> "vtkDataArrayTemplate<double>::InsertNextValue(double)", referenced from:
>>> vtkDoubleArray::InsertNextValue(double) in vtkImplicitSum.cxx.o
>>> "vtkDataArrayTemplate<long long>::SetNumberOfValues(long long)",
>>> referenced from:
>>> vtkIdTypeArray::SetNumberOfValues(long long)in vtkKdTree.cxx.o
>>> vtkIdTypeArray::SetNumberOfValues(long long)in
>>> vtkOctreePointLocator.cxx.o
>>> ... and many more ...
>>>
>>> When I add VTK_COMMON_EXPORT to vtkDataArrayTemplate's class declaration
>>> (and other export macros to a couple of template classes elsewhere) these
>>> go
>>> away. I will check in this fix once I have push access but am curious if
>>> anyone
>>> knows why this issue is coming up now (or if this will break other
>>> platforms)?
>>>
>>> Thanks,
>>> David
>>> _______________________________________________
>>> 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
>>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>>
>
>
> _______________________________________________
> 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
>
>
--
François Bertel, PhD | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
| Clifton Park NY 12065, USA
More information about the vtk-developers
mailing list