[vtkusers] undefined smbols in linker: ie. vtkCellArray::GetNextCell

Mathieu Malaterre mathieu.malaterre at kitware.com
Mon Jan 12 10:42:16 EST 2004


Martin,

	There is something wrong with your build, maybe some old binary object 
file screwing up everything. Could you please try a fresh rebuild 
(delete the whole binary VTK directory), and restart from scratch. Other 
people seems to be fine, even after having your problem:

	http://vtk.org/pipermail/vtkusers/2003-December/021199.html

And our builds are ok, too:

	http://public.kitware.com/dashboard.php?name=vtk

HTH
Mathieu

Martin Dunschen wrote:
> Thanks Mathieu
> 
> Sorry, I missed the fact that GetNextCell is inlined.
> 
> I tried the latest stable release, v4.2 with your suggestions of fixing 
> some (char *) casts.
> I also tried v4.4 from CVS, and the linking problem is the same.
> 
> After your email I thought there is maybe an issue with inlined 
> functions, but not all 'undefined symbols' are inline functions.
> 
> So, I am clueless.  (I dont think it has to do with VTK's source code, 
> must be something I am missing when building the libraries, or how I 
> build my executable. Please see a dump of the linker error message in my 
> earlier posting).
> 
> Anybody else experience with C++ and VTK on Mac OS X?
> 
> Thanks again,
> 
> Martin
> 
> 
> On Sunday, Jan 11, 2004, at 17:13 Europe/London, Mathieu Malaterre wrote:
> 
>> Martin,
>>
>>>   But I am surprised to find nowhere in the source code an
>>> implementation for vtkCellArray::GetNextCell, I would have expected
>>> this in
>>> vtkCellArray.cxx, but I could not find it anywhere. Is it then possible
>>> that the linker error is correct and the symbol does not exist?
>>
>>
>> No, otherwise the build would fail also on other platforms. Please 
>> have a look a vtkCellArray.h, GetNextCell is an inline method.
>>
>>> Which source code version should I use? (Remember, with
>>> VTK-4.2-LatestRelease.tar.gz I had compilation problems...)
>>
>>
>> You didn't mention the VTK version you are using in your mail. Please 
>> tell us which version you are using ? (CVS, 4.4, 4.2 patch with my 
>> suggestion...)
>>
>> Thanks,
>> Mathieu
>>
>>
>> _______________________________________________
>> This is the private VTK discussion list.
>> Please keep messages on-topic. Check the FAQ at: 
>> <http://public.kitware.com/cgi-bin/vtkfaq>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
> 
> 






More information about the vtkusers mailing list