[Vv] Building vv on MacOsX

Vivien Delmon vivien.delmon at creatis.insa-lyon.fr
Tue Feb 21 13:26:06 CET 2012


On 02/21/2012 01:11 PM, David Coeurjolly wrote:
> Hi,
>
> Le 21 févr. 2012 à 10:36, Vivien Delmon a écrit :
>
>> On 02/18/2012 04:38 PM, David Coeurjolly wrote:
>>> Hi all,
>>
>> Hi,
>>
>>> Couple of comments after our "build on macOs trial" (MacOS X, Lion, built-in gcc compiler):
>>>
>>>    - I've sent you a small patch by email to ensure that cmake  links with QVTK.
>>
>> I applied it, but this variable is only used with VTK 5.6.* and before.
>>
>
> yep but I'm using a recent vtk 5.8 (qt enabled) and without this cmakelists edit, I do have a build error when linking to libQVTK.

It seems strange to me since this part is read only with vtk version 
less than 5.8.0.

  16   IF(VTK_VERSION VERSION_LESS 5.8.0)
  17     SET ( VTK_LIBRARIES
  18       vtkCommon
  19       vtkRendering
  20       vtkIO
  21       vtkFiltering
  22       vtkGraphics
  23       vtkWidgets
  24       vtkImaging
  25       vtkHybrid
  26       vtkQVTK
  27       )
  28   ENDIF(VTK_VERSION VERSION_LESS 5.8.0)

Since vtk 5.8.* the VTK_LIBRARIES macro is defined by FIND_PACKAGE(VTK 
REQUIRED)

-- 
Vivien Delmon
PhD student at CREATIS, Lyon
Supported by ANRT and ELEKTA
http://www.creatis.insa-lyon.fr/rio


More information about the vv mailing list