Hi Franziskus,

this depends on the classes you want to use. The MitkCore already has 
dependencies to a lot of VTK classes, such as vtkPolyData. The PACKAGE_DEPENDS 
command takes modules, not classes. Just like MITK, VTK is organized in 
Modules. You can check the MitkCore CMakeLists.txt to see which modules of VTK 
are already a dependency (i.e. they are available for you). You also have to 
check in which VTK module your class is. If you want to use another VTK class 
from a "SpecialModule" add the module like this:


  MITK_CREATE_MODULE(
    DEPENDS MitkCore
    PACKAGE_DEPENDS Vtk|vtkSpecialModule
  )

Regards,
Thomas

________________________________________
Von: Franziskus Neuhoff [[email protected]]
Gesendet: Freitag, 4. Juli 2014 09:31
An: [email protected]
Betreff: [mitk-users] Module - Vtk classes

Hi,

I have a question regarding the creation of a module. I want to program a 
module which uses VTK classes.

Do I have to add the VTK classes in the CmakeLists.txt like this:

  MITK_CREATE_MODULE(
    DEPENDS MitkCore
    PACKAGE_DEPENDS Vtk|vtkPolyData+....
  )

Or is it enough that the module depends on MitkCore?

Regards,
Franziskus

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to