<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello all,<br>
    <br>
    We want to port our application using Vtk 5.9 to Vtk 6.<br>
    Some code working on 5.9 does not work in 6, simple example with
    following line : <br>
    <br>
    vtkSmartPointer&lt;vtkActor&gt; actor =
    vtkSmartPointer&lt;vtkActor&gt;::New();<br>
    <br>
    returns a NULL pointer ...<br>
    <br>
    Seems I must do something described here
    <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK/Build_System_Migration">http://www.vtk.org/Wiki/VTK/Build_System_Migration</a> : <br>
    <br>
    <br>
    <span style="color: rgb(0, 0, 0); font-family: sans-serif;
      font-size: 13px; font-style: normal; font-variant: normal;
      font-weight: normal; letter-spacing: normal; line-height:
      19.046875px; orphans: auto; text-align: start; text-indent: 0px;
      text-transform: none; white-space: normal; widows: auto;
      word-spacing: 0px; -webkit-text-size-adjust: auto;
      -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
      255); display: inline !important; float: none;">"The application
      code must list vtkRenderingOpenGL in its components to use OpenGL
      for rendering and include the VTK_USE_FILE to add compiler
      definitions. This ensures that the object factory for the
      vtkRenderingOpenGL module will be initialized and uses whenever
      classes from vtkRenderingCore are uses in your application code.
      If you notice the interface classes in these modules returning
      NULL pointers it is likely that one of these implementation
      modules providing appropriate overrides is missing from the
      dependency list."</span><br>
    <br>
    I'm already linking with vtkRenderingOpenGL-6.0.lib in my sample
    project but what should i do with <span style="color: rgb(0, 0, 0);
      font-family: sans-serif; font-size: 13px; font-style: normal;
      font-variant: normal; font-weight: normal; letter-spacing: normal;
      line-height: 19.046875px; orphans: auto; text-align: start;
      text-indent: 0px; text-transform: none; white-space: normal;
      widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto;
      -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
      255); display: inline !important; float: none;">"VTK_USE_FILE" ?<br>
    </span><br>
    Any hints would be wellcome, thanks a lot !<br>
    <br>
    <br>
    Fr&eacute;d&eacute;ric<br>
  </body>
</html>