[vtkusers] vtkFollower
Totte Karlsson
totte at dunescientific.com
Fri Nov 14 14:56:37 EST 2014
On 11/13/2014 3:48 AM, David Cole wrote:
> Do you reference (link to) VTK from multiple DLLs, or just the one?
There are several DLL's using the 'one' that links to the vtk libs (I
call it vtk-wrapper-lib below).
Hiearchy is something like this (may look weird depending on the font):
application
/ \
DLL-A DLL-B
\ /
VTK-wrapper-lib
|
vtk static libs
If the VTK wrapper lib is built as a static lib everything seem to work
fine.
If I build it as a shared library, on the other hand, the vtkFollowers
don't work properly.
I also built all vtk libs as shared libs(dlls), but that does not seem
to change anything.
tk
> On Wed, Nov 12, 2014 at 3:06 PM, Totte Karlsson
> <totte at dunescientific.com> wrote:
>> I meant vtk version 6.1 ,
>> tk
>>
>> On 11/12/2014 10:33 AM, Totte Karlsson wrote:
>>> Hello,
>>> I have an application that are using vtk (6.2) trough a custom static
>>> library (vtk linked to this one and built static too).
>>> In a scene rendered I have some vtk followers and everything works fine
>>> when interacting with the scene.
>>>
>>> However, when I build my intermediate library as DLL (vtk still static),
>>> everything works except that the vtkFollowers don't work properly. With
>>> properly I mean they do only face the camera sometimes and 'sporadically'.
>>>
>>> Anyone seen this behavior? any ideas?
>>>
>>> I'm using CodeGear XE3 compiler on windows.
>>>
>>> tk
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the VTK FAQ at:
>>> http://www.vtk.org/Wiki/VTK_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>> --
>> .........................
>> Totte Karlsson, Ph.D.
>> Dune Scientific, LLC
>> 425-296 1980 (office)
>> 425-780 9648 (cell)
>> www.dunescientific.com
>> .........................
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
--
.........................
Totte Karlsson, Ph.D.
Dune Scientific, LLC
425-296 1980 (office)
425-780 9648 (cell)
www.dunescientific.com
.........................
More information about the vtkusers
mailing list