On 14/04/2014 16:44, Rostislav Khlebnikov wrote: > As a follow-up: > I tried running the app from the folder where CPack installed it - the > result is the same. However, if I remove the Mitk*.dll and setup the > PATH to point to the location where MITK is built - then everything > works fine. > This is a very confusing behavior as the dll's are binary equivalent. I > also observe the same behavior when packaging the MITK workbench and not > my application. > > Any clues on why this happens?
Sounds like a dll mismatch. Cpack is a major pain in the neck and, at least on Windows, will happily package incompatible dll versions (32-bit vs 64-bit), resulting in some dlls failing to load. We've run into numerous issues, usually related to dbghelp.dll being packaged along. Are you running 64 bit or 32? Try dependency walker and see if there's an archicture mismatch somewhere. > On 14/04/2014 13:47, Rostislav Khlebnikov wrote: >> Dear Markus and Sandy, >> >> I saw that Markus reported this bug >> <http://bugs.mitk.org/show_bug.cgi?id=17545>and it is was closed by >> Sandy as "RESOLVED INVALID". >> I faced a similar bug in the packaged version of my MITK-based >> application under windows. It works absolutely fine if I run the >> version from either the IDE or just from the build tree. >> Could you please tell me what happened to this behavior? Perhaps you >> could give me some tips on how to fix this? >> >> Thank you, >> Rostislav. >> >> >> ------------------------------------------------------------------------------ >> >> Learn Graph Databases - Download FREE O'Reilly Book >> "Graph Databases" is the definitive new guide to graph databases and >> their >> applications. Written by three acclaimed leaders in the field, >> this first edition is now available. Download your free book today! >> http://p.sf.net/sfu/NeoTech >> >> >> _______________________________________________ >> mitk-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/mitk-users > > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > > > > _______________________________________________ > mitk-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mitk-users > ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
