Hi again,

well, the "mitkOpenCVVideoSupportUI" module is physically a sub folder of the 
"mitkOpenCVVideoSupport" module. Maybe your modifications on the CMake routines 
cannot handle this? 
As far as I remember the mitkOpenCVVideoSupportUI" module just offers one 
complete Widget for handling grabbing/video playback. If you don’t need this 
widget, just neglect it and use only the "mitkOpenCVVideoSupport" module. This 
is enough to use the MITK-OpenCV wrapper classes.

Michael

-----Ursprüngliche Nachricht-----
Von: Keshav Chintamani [mailto:[email protected]] 
Gesendet: Dienstag, 22. Juni 2010 17:03
An: Müller Michael
Betreff: Re: AW: WG: mitkOpenCVSupport

Hi Michael,

I am having problems during the build of the cmake binary. When the macro is 
called during the configuration in cmake, the following errors are produced.

-------------------------------------------------
Creating plugin camdass.speech.synthesis.setup
***MITK_USE_OPEN_CV=1
KC: Looking for MITK MODS: 
Mitk;MitkExt;PlanarFigure;Qmitk;QmitkExt;SceneSerialization;SceneSerializationBase;ann;ipSegmentation;mbilog;mitkIpPic;mitkOpenCVVideoSupport;qwt;qxt;tinyxml
KC: Looking for: mitkOpenCVVideoSupportUI
KC: Looking for: 
D:/Devs/CAMDASS/Build/modulesConf/mitkOpenCVVideoSupportUIConfig.cmake
KC: Looking for: D:/Devs/CAMDASS/Build/modulesConf/MitkExtConfig.cmake
CMake Error at CMake/CamdassMacros.cmake:223 (INCLUDE):
  include could not find load file:

    D:/Devs/CAMDASS/Build/modulesConf/MitkExtConfig.cmake
Call Stack (most recent call first):
  CMake/CamdassMacros.cmake:421 (CAMDASS_USE_MODULE)
  CAMDASS_Plugins/camdass.video.widget/CMakeLists.txt:3 
(MACRO_CREATE_CAMDASS_PLUGIN)


KC: Looking for: D:/Devs/CAMDASS/Build/modulesConf/QmitkExtConfig.cmake
CMake Error at CMake/CamdassMacros.cmake:223 (INCLUDE):
  include could not find load file:

    D:/Devs/CAMDASS/Build/modulesConf/QmitkExtConfig.cmake
Call Stack (most recent call first):
  CMake/CamdassMacros.cmake:421 (CAMDASS_USE_MODULE)
  CAMDASS_Plugins/camdass.video.widget/CMakeLists.txt:3 
(MACRO_CREATE_CAMDASS_PLUGIN)
-----------------------------------------------

I am not sure why the mitkOpenCVSupport module works while the corresponding UI 
module does not.

-Keshav


----- Original Message -----
From: "Müller Michael" <[email protected]>
To: "Keshav Chintamani" <[email protected]>, 
"[email protected]"
<[email protected]>
Sent: Tuesday, June 22, 2010 4:52:37 PM
Subject: AW: WG: mitkOpenCVSupport

Hi Keshav,

please let us know which problems do you exactly have
(CMake/compiler/linker/runtime errors?). E.g. I don’t know what you do
in your MACRO_CREATE_CAMDASS_PLUGIN macro. Maybe there is an error.
Normally, you would just write

MACRO_CREATE_MITK_PLUGIN(QmitkExt mitkIGTUI mitkOpenCVVideoSupportUI)

Bye,
Michael


-----Ursprüngliche Nachricht-----
Von: Keshav Chintamani [mailto:[email protected]]
Gesendet: Dienstag, 22. Juni 2010 16:30
An: Müller Michael
Betreff: Re: WG: mitkOpenCVSupport

Hi Michael,

I looked at the videoplayer plugin and made sure the meta files in our
plug-in are fine. For testing, I tried creating a dependency on the
mitkIGTUI module and there was no problem with the build using
MACRO_CREATE_CAMDASS_PLUGIN(QmitkExt mitkIGTUI)

However I have problems only when I use the macro like this:
MACRO_CREATE_CAMDASS_PLUGIN(QmitkExt mitkOpenCVVideoSupportUI)

Any suggestions are welcome.

Thanks,

Keshav


----- Original Message -----
From: "Müller Michael" <[email protected]>
To: "[email protected]"
<[email protected]>
Sent: Tuesday, June 22, 2010 3:55:49 PM
Subject: WG: mitkOpenCVSupport

Hi Keshav,

there is a bundle called "org.mitk.gui.qt.videoplayer" which was only
created to show the usage of the "mitkOpenCVVideoSource" module. Please
have a look in the corresponding plugin meta files. The bundle builds
fine so far, so you should be able to build your own bundle without
errors. If not, post your errors here.
And yes, you have to use MITK modules unless you want to copy code -
what you should not do! Anyway, including modules is be easy as
dependencies are automatically resolved by CMake. If you encounter build
errors, the problem might be somewhere else...

Regards,
Michael

-----Ursprüngliche Nachricht-----
Von: Keshav Chintamani [mailto:[email protected]]
Gesendet: Dienstag, 22. Juni 2010 13:10
An: Zelzer Sascha
Betreff: mitkOpenCVSupport

Hi Sascha,

I am trying to use the mitkOpenCVVideoSupport module in a plugin that I
created. When I add the related modules in my dependencies list in the
CMakelists.txt file in the plugin,
I get many build errors.

Is there a better way to get access to mitk's OpenCV library wrapper
(i.e mitkOpenCVVideoSource) directly from my plugin. Do I have to have
to use the mitk modules?

Thanks,

Keshav
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to