Dear MITK users, I have a problem starting up the MITK workbench application and it's a bit tricky to figure out what's going on. I used the MITK plugin generator to create my own application and then used the superbuild functionality to build it. However, for now I would like to explore the MITK possibilities using the workbench application as a starting point. But now I have some problems starting up the application.
My system is Windows 7 x64 and I build the project using MSVS 2010. I have my own versions of ITK 4.3.2 and VTK 6.0.0 built and thus I set the corresponding paths in the CMake gui before running configuration and generation processes. Everything builds fine. However, at application startup the application (Debug version, MSVS launched through the corresponding .bat file) throws an exception in mitkStateMachineFactory.cpp Line 137 - seems like the resources have not been compiled into the the project and the missing "Interactions/Legacy/StateMachine.xml" resource causes the exception to be thrown. Could you please help me to solve this problem? All best, Rostislav. PS: Before sending this e-mail I kinda tracked down the problem. Looking at the CMake files I have noted that the Mitk module has been marked as NO_INIT to avoid some problems with VTK 6.0. However, in this case the resource files are not embedded (mitkMacroCreateModule.cmake, Line 250). I have moved the resource file related lines outside this "if" and the problem seems to be solved now. Is this a build system bug or am I doing something wrong? I also had some problems with VTK binary directories not being added to the path variable - could it be a problem when using the "system" VTK? I had to recompile VTK to shared libraries after the initial build attempt for MITK though - perhaps upon clean build it would work. ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
