[vtkusers] VTK6 - Compilation depends on graphical cards

Malsoaz James jmalsoaz at yahoo.fr
Mon May 19 03:55:55 EDT 2014


Thank you for your answer.

The problem is with linking. When I compile VTK on a system with nvidia cards, it will make links to nvidia libs and thus I can't give the same compiled VTK to a platform without nvidia cards.

Other problem. On platform with Intel chipsets, I have depth problem on 3D view, VTK seems lost to determine which part is in background or in foreground. The rendering is very strange.

Best.


Le Jeudi 15 mai 2014 22h07, David E DeMarle <dave.demarle at kitware.com> a écrit :
 


On Wed, May 7, 2014 at 11:31 AM, Malsoaz James <jmalsoaz at yahoo.fr> wrote:

Hi,
>
>
>I'm trying to move my projects to new libs, ie VTK 6.1.0 vs VTK 5.6.0. Unfortunately I have numerous bugs coming with these changes.
>
>
>
 
Here's hoping that the the migrations guides have been helpful:
  http://www.vtk.org/Wiki/VTK/Build_System_Migration
  http://www.vtk.org/Wiki/VTK/VTK_6_Migration_Guide

  http://www.vtk.org/Wiki/VTK/API_Changes_5_10_1_to_6_0_0

 

One of them is related to the fact that I need to compile a version of VTK for each type of graphical cards I have, ie Nvdia, Intel, Ati.
>With VTK 5.6.0, I had no problem and I could use the same libs on any kind of computer.
>
>

Can you elaborate on what specifically is going wrong?
 
Is it related to the fact that I have disabled the "BUILD_SHARED_LIBS" option to compile VTK?

Might be, see above.
 
Why this option is set by default now?
>
>

We made the default switch from STATIC to SHARED between 5.10 and 6.0. I think the reason was that it appeared to us that the majority of users and developers were using SHARED. Both sides are still well tested and used though, so you should be OK with either choice.
 

Best.
>James
>_______________________________________________
>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://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140519/4b296f32/attachment.html>


More information about the vtkusers mailing list