Hi,

I'm not sure if I understood you. What kind of program have you written? Is it 
a MITK command-line app or is it a plain command-line app? What are the 
dependencies in your CMakeLists.txt? - Would probably help if you could share 
it. My guess is that it is an autoload issue. I/O is very dynamic in MITK and 
uses the autoload mechanism. I haven't done anything with it for a while now 
but if I remember correctly it searches for DLLs in a folder named autoload 
either beside the application itself or MitkCore.dll.  It's easy to forget 
these DLLs when copying everything together manually.


Best,

Stefan

________________________________
Von: Jorge Quiroga <jorge.e....@gmail.com>
Gesendet: Dienstag, 25. Juli 2017 09:31
An: mitk-users@lists.sourceforge.net
Betreff: [mitk-users] Trying to run a program without the superbuild

Hello everybody,

I builded a small auto-rendering program from the QtFreeRender project, using 
the ImageToSurfaceFilter makes a .ply from a Threshold and works perfect when 
I'm running it from debug or the .exe from a batch, I can even copy the .exe to 
the desktop change it's name to any file and the program keeps being able to 
run,

But I'm having an issue that once I'm trying to take out the .exe to an archive 
with the dll's inside and away of the superbuild  stops being able to save the 
surface, the code get's out everytime in this line,

mitk::IOUtil::SaveSurface(mesh, file)

If I don't have the dll's runs just fine, but I'm trying to share the software 
with thesis tutor and don't know how.

I'm using visual studio 2013 and the code it's inside the QtFreeRender project, 
is it possible to make an installable somehow?

Thanks in advances,

Regards
[https://mailfoogae.appspot.com/t?sender=aam9yZ2UuZS5xLjkzQGdtYWlsLmNvbQ%3D%3D&type=zerocontent&guid=e85e8f8e-852a-47b7-964b-4de1e27a90a3]?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to