Hi Silviana,

as far as I can tell you are starting the workbench using our batch file and 
appending an image to that call. This will not work, instead you will have to 
call the executable directly and append the image as an argument:

>mitkWorkbench.exe Image.nrrd

For this call to work you will have to set the path variable for the command 
shell you are using similar to the batch file. An easy way to do this is to 
change the batch file from a call to the application to a shell call:

So replace the line:
debug\mitkWorkbench.exe
by
cmd
REM debug\mitkWorkbench.exe

Alternatively you can append the image within the batch file if you want to 
test something for a specific image.

Regards,
Caspar

Von: silviana Orivera [mailto:[email protected]]
Gesendet: Dienstag, 29. Januar 2013 14:42
An: [email protected]
Betreff: [mitk-users] Support for command line loading of data

Hi all,
I'd like to ask about this 
<http://thread.gmane.org/gmane.comp.lib.mitk.user/2684/focus=2685> previous 
discussion.
I've built the latest MITK's version and checked that mitkWorkbench.cpp and 
CMakeLists.txt contains the exact additions that are required 
here<https://github.com/MITK/MITK/commit/cf071aa7fee593ee4a35c8e6cc8d03753bc8fe5b>.
Then I insert the following command line in cmd (of win):
...\MITK-superbuild\MITK-build\bin> startmitkWorkbench_debug Image.nrrd
and just the application is uploading, without the image at startup.
what's wrong?
Regards,
Silvian


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to