Hi Timm, for activating ToF support when setting up a new MITK environment you should basically use the following workflow:
1. Configure and generate superbuild of MITK with MITK_USE_OpenCV enabled 2. Compile superbuild in the build configuration you desire (Debug/Release) 3. Run CMake configuration of the MITK-build directory of the superbuild and enable MITK_ENABLE_TOF_HARDWARE and according cameras (see also http://www.mitk.org/wiki/MITK-ToF%20-%20Getting%20started) as well as desired bundles ToFUtil / ToFTutorial 4. Compile MITK-build using the same build configuration as for the superbuild 5. Set the path to the vendor specific libraries in your environment variable that they will be found on startup of ExtApp Did you follow this workflow when setting up your MITK? Let me know if you have still problems. Best Regards, Alex -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Gesendet: Dienstag, 24. Mai 2011 10:42 An: Zelzer, Sascha Cc: [email protected] Betreff: Re: [mitk-users] Building step1 of tutorial Hi Sascha, first I did a build in a new build directory and linked against the itk/vtk etc of the superbuild. Now I followed your advice and did a rebuild in the MITK-build direcotry of the superbuild. However, I always have the same problem: 13.83 blueberry.osgi.bundleloader ERROR: Cannot load library: C:\Develop\MITK2_superbuild\MITK-build\bin\ExtBundles\org.mitk.gui.qt.tofutil\bin\Debug\liborg_mitk_gui_qt_tofutild.dll 13.84 blueberry.osgi.iconfigurationelement ERROR: Error loading class: Not found: ::QmitkToFUtilView 13.85 blueberry.ui.wrkbncPlg: LOG: Unable to create view ID org.mitk.views.tofutil: Part initialization error: ::QmitkToFUtilView Similar errors occur for QmitkToFTutorialView The other plugins are correctly loaded. Best Timm > Betreff: Re: [mitk-users] Building step1 of tutorial > Hi Timm, > > Do you mean with "Redoing it without the superbuild" that you pointed > cmake (cmake-gui) to the build directory "MITK-build" inside your > superbuild directory? That would be the right way to get access to all > MITK CMake variables. > > Is it only the org_mitk_gui_qt_toftutorial bundle which can not be loaded? > > Best, > Sascha > > On 05/20/2011 10:59 AM, [email protected] wrote: > > Hi Sascha, > > > > thanks for you quick reply. It's working fine now with your Cmake > > File > and a batch file to set up the correct environment with all mitk, itk, > vtk etc. path in it. > > > > However, I would like to ask another question. I've compiled the > superbuild and had no flag to set the TOF Hardwar enabled. Redoing it > without the superbuild enabled me to set these options. Still, I get > an error when I try to execute the ExtApp that the > liborg_mitk_gui_qt_toftutoriald can not be loaded, although it's > exactly in the path where the ExtApp is looking for it. I checked the > plugin and manifest file but it seems ok. Do you have any idea? > > > > Thank you for your help > > Timm > > > > -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
