Hello Fucang, I copied the vtk and itk dlls to the release and the debug folder like you said and set the PATH to the itk and vtk release folders.
So now finally the MainApp.exe is starting and the RegionGrowing functionality is working in Debug mode (in Release mode I am getting the error: MSVCP90D.dll not found) Thank you very much for your help!!!! Juliane Quoting Jia Fucang <[email protected]>: > Hi, Juliane, > > In dynamic library fashion, mainapp.exe depends on those libs when excuting. > So you can > set PATH variable, or in a simplier way, copy those vtk dlls and > itkcommon.dll into the directory > when mainapp exists, but if you updated VTK or ITK and recompiled MITK, the > dlls may should > copy again. Copy release dlls into release directory and debug dlls into > debug directory. > > In my computer, PATH variable includes > C:\toolkit\Insight-bin\bin\Release;C:\toolkit\VTK-bin\bin\Release. If you > run mainapp.exe in release, there will be OK. But if you run app in debug > mode, app will crash because of mixturing debug and release infomation. > > HTH. > > Fucang > > > On Wed, Apr 22, 2009 at 8:17 PM, <[email protected]> wrote: > >> Hi, >> >> I recomplied ITK and VTK with SHARED LIBS ON. Now if I start MainApp.exe, I >> get the error message: could not found vtkGraphic.dll >> (Same problem with Step1.exe) >> I think I may did something wrong, but I am clueless. I found >> vtkGraphics.dll in the debug and the release folder. >> I already checked if I complied VTK with the correct >> variables(VTK_USE_PARALLEL, VTK_USE_GUI_SUPPORT->VTK_USE_QVTK and >> BUILDSHARED_LIBS), did I miss anything? >> >> Thanks, >> Juliane >> >> Quoting Jia Fucang <[email protected]>: >> >> Hi, Juliane, >>> >>> According to your description, I guess that you are building MITK in >>> dynamic >>> library >>> but ITK, VTK in static libraries. There is a link "Bug in >>> mitkImageMapper2D< >>> http://sourceforge.net/mailarchive/message.php?msg_name=C06C64EEC1C9E4429DE1610BEE60D43A42C736%40Mail.mailcilab.upf.edu >>> >" >>> >>> thread >>> on Feb, 2008 mailing lists. ( >>> >>> http://sourceforge.net/mailarchive/forum.php?thread_name=C06C64EEC1C9E4429DE1610BEE60D43A42C736%40Mail.mailcilab.upf.edu&forum_name=mitk-users >>> ) >>> >>> If ITK , VTK , MITK were both recompiled in shared libraries cleanly from >>> scratch, the >>> error may disapper. >>> >>> Best, >>> Fucang >>> * >>> * >>> On Fri, Apr 17, 2009 at 2:22 PM, Neuhaus Jochen < >>> [email protected]> wrote: >>> >>> Have you tried debugging into it? It should not be a problem with your Qt >>>> version - I tried it with Qt3 too. >>>> >>>> >>>> -----Ursprüngliche Nachricht----- >>>> Von: [email protected] [mailto:[email protected]] >>>> Gesendet: Dienstag, 14. April 2009 11:09 >>>> An: [email protected] >>>> Betreff: Re: [mitk-users]RegionGrowing in MainAppdoesn´t work >>>> >>>> Hi Jochen, >>>> >>>> I tried again and checkout and recomplied as well, and I still got the >>>> same problem. I tried a dcm file and the pic3d.ic.gz file. >>>> I set seed points, if I didn´t set them I got the usall error message. >>>> >>>> It says something like: This application has requested the Runtime to >>>> terminate it in an unusal way. Please contact the application´s >>>> support team for more information. >>>> mitkImageMapper2D.cpp:401 assertion failure >>>> 'input->GetTimeSlicedGeometry() == inputTimeGeometry' >>>> >>>> Maybe it is because I am using QT3? >>>> >>>> Best Regards >>>> Juliane >>>> >>>> Quoting Neuhaus Jochen <[email protected]>: >>>> >>>> > Hi, >>>> > sorry for the long delay. I just tried again with a fresh checkout >>>> > and recompile. >>>> > Using QmitkRegionGrowing works on CT and MRT images without a >>>> > problem for me. Did you select the correct source image in the combo >>>> > box and then set som seedpoints using shift+LMB before starting the >>>> > RegionGrowing? >>>> > Regards, >>>> > Jochen >>>> > >>>> > ________________________________ >>>> > >>>> > Von: [email protected] [mailto:[email protected]] >>>> > Gesendet: Do 3/19/2009 10:34 >>>> > An: Neuhaus Jochen >>>> > Cc: [email protected] >>>> > Betreff: Re: AW: [mitk-users] RegionGrowing in MainAppdoesn´t work >>>> > >>>> > >>>> > >>>> > Hi Jochen, >>>> > >>>> > I am using the QmitkRegionGrowing functionality, and I didn´t change >>>> > anything. >>>> > It also doesn´t work on other images, so >>>> > /mitk/Testing/Data/Pic3D.pic.gz doesn´t work either. >>>> > >>>> > Regards, >>>> > Juliane >>>> > >>>> > Quoting Neuhaus Jochen <[email protected]>: >>>> > >>>> >> Hi Juliane, >>>> >> >>>> >> Do you use the QmitkRegionGrowing functionality or your own region >>>> >> growing code? Does it work with other datasets (e.g. >>>> >> /mitk/Testing/Data/Pic3D.pic.gz)? >>>> >> >>>> >> >>>> >>> -----Ursprüngliche Nachricht----- >>>> >>> Von: [email protected] [mailto:[email protected]] >>>> >>> Gesendet: Mittwoch, 18. März 2009 14:20 >>>> >>> An: [email protected] >>>> >>> Betreff: [mitk-users] RegionGrowing in MainApp doesn´t work >>>> >>> >>>> >>> Hi, >>>> >>> >>>> >>> I compiled mitk MainApp using qt3. >>>> >>> After running MainApp.exe I tried to do a region growing on an >>>> >>> dicom-image and getting the following error message: >>>> >>> \..\mitk\Core\Rendering\mitkImageMapper2D.cpp:401 assertion failure >>>> >>> 'input->GetTimeSlicedGeometry() == inputTimeGeometry' >>>> >> >>>> >> Regards, >>>> >> Jochen >>>> >> >>>> >> --- >>>> >> MSc. Jochen Neuhaus >>>> >> DKFZ >>>> >> German Cancer Research Center (Deutsches Krebsforschungszentrum) >>>> >> Member of the Helmholtz Association >>>> >> Division Medical and Biological Informatics E130 >>>> >> Im Neuenheimer Feld 280 >>>> >> D-69120 Heidelberg >>>> >> Phone: 49-(0)6221-42-2329 >>>> >> Fax: 49-(0)6221-42-2345 >>>> >> E-Mail: [email protected] >>>> >> Web: http://www.dkfz-heidelberg.de/en/mbi/people/Jochen_Neuhaus.html >>>> >> >>>> >> Confidentiality Note: This message is intended only for the use of >>>> >> the named recipient(s) and may obtain confidential and/or privileged >>>> >> information. If you are not the intended recipient, please contact >>>> >> the sender and delete the message. Any unauthorized use of the >>>> >> information contained in this message is prohibited. >>>> >> >>>> > >>>> > >>>> > >>>> > ---------------------------------------------------------------- >>>> > This message was sent using IMP, the Internet Messaging Program. >>>> > >>>> > >>>> > >>>> > >>>> > >>>> >>>> ------------------------------------------------------------------------------ >>>> > This SF.net email is sponsored by: >>>> > High Quality Requirements in a Collaborative Environment. >>>> > Download a free trial of Rational Requirements Composer Now! >>>> > http://p.sf.net/sfu/www-ibm-com >>>> > _______________________________________________ >>>> > mitk-users mailing list >>>> > [email protected] >>>> > https://lists.sourceforge.net/lists/listinfo/mitk-users >>>> > >>>> >>>> >>>> >>>> ---------------------------------------------------------------- >>>> This message was sent using IMP, the Internet Messaging Program. >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> This SF.net email is sponsored by: >>>> High Quality Requirements in a Collaborative Environment. >>>> Download a free trial of Rational Requirements Composer Now! >>>> http://p.sf.net/sfu/www-ibm-com >>>> _______________________________________________ >>>> mitk-users mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/mitk-users >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Stay on top of everything new and different, both inside and >>>> around Java (TM) technology - register by April 22, and save >>>> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. >>>> 300 plus technical and hands-on sessions. Register today. >>>> Use priority code J9JMT32. http://p.sf.net/sfu/p >>>> _______________________________________________ >>>> mitk-users mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/mitk-users >>>> >>>> >>> >> >> >> ---------------------------------------------------------------- >> This message was sent using IMP, the Internet Messaging Program. >> >> > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
