[vtkusers] Incompatibility with vtkTextMapper on Windows ?
Mathieu Malaterre
mathieu.malaterre at kitware.com
Mon Apr 5 11:23:39 EDT 2004
Vincent,
Could you send us the test you used to demonstrate the problem ?
Thanks
Mathieu
Vincent Nicolas wrote:
>
>
>>I make a simple test code, only to show a text with the TextMapper class. On linux, everything work ok, but on Windows, it return an Exception fault in the vtkftgl.dll file !
>>However, it compiles fine and work fine with Visual Studio and the binary files found on VTK website ... so I think the problem should come from the mingw compilation of VTK ...
>
>
>
> I found a solution ! :-)
> I tracked the bug through all the VTK classes and the bug came from the FTCharmap class in vtkftgl. It's a problem using the FTVector class ... In fact a simple correction consist in using STL compatibility (and so don't use the FTVector class).
>
> As it works using STL mode, I didn't look deeper for the bug, but it could be interresting as theses classes are for compatibility.
>
> Vincent Nicolas
> -----------------------------------------
> Communications and Remote Sensing Lab.
> Universite catholique de Louvain
> vincent.nicolas at tele.ucl.ac.be
> +32 (0)10 478555
> http://www.tele.ucl.ac.be
> _______________________________________________
> 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