Hi Hila, the ITK build inside the MITK superbuild can be used for other projects in principle. I don't know the CMake configuration of your external project, but the error message seems as there is a missing path in the PATH variable which directs to the gdcmMSFF.dll. Maybe you can have a look at the path variable which is used for starting MITK , you can find it in the binary folder in the file MITK-build/StartVS_release.bat respectivly MITK-build/StartVS_debug.bat. So if you copy all the paths which are needed for ITK to your project or simply add it to your path environment variable on your system it should work.
But, if you only want to use ITK I would recommend to build ITK seperately. For ITK releated questions please also consider to contact to the ITK users list. Greets, Alfred Am 11.11.2012 21:01, schrieb Hila Hiler: > Hi all, > > I want to run my cpp file which includes itk's libraries. > I was wondering whether it's possible to use the build library of > mitk_superbuild in order to do that task (MITK has built and run > appropriately). > So my question is what should I insert to cmake? > > Is this right? > > source code: cpp file's path > binaries: any directory > > ITK_DIR: X:\MITK_root\MITK-superbuild\ITK-build > VTK_DIR: X:\MITK_root\MITK-superbuild\VTK-build > > it's generating solution, but when I run the following error appears: > The program can't start because gdcmMSFF.dll is missing ... > > BR, > Hila ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
