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
