I just tried StartVS_debug.bat and StartVS_release.bat. Both gave me errors.
What I did was the following:
1. set Step1 project as the Startup project
2. right click on the Step1 project for the popup window
3. select "Debug -> start new instance" to run it.
The error for Debug and Release are attached.
Am I doing something wrong?
Errors when running as DEBUG:
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\MITK-build\bin\Debug\Step1.exe'. Symbols
loaded.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find
or open the PDB file.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\MITK-build\bin\Debug\Mitk.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\MITK-build\bin\Debug\CppMicroServices.dll'.
Symbols loaded.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp110d.dll'. Symbols loaded.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr110d.dll'. Symbols loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\MITK-build\bin\Debug\mbilog.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\ITK-build\bin\Debug\ITKCommon-4.3.dll'.
Symbols loaded.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\lpk.dll'. Cannot find or open
the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\usp10.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\opengl32.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\glu32.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ddraw.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dciman32.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\setupapi.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\oleaut32.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\devobj.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dwmapi.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkGraphics.dll'.
Symbols loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkFiltering.dll'.
Symbols loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkCommon.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtksys.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ws2_32.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nsi.dll'. Cannot find or open
the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wsock32.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkverdict.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkHybrid.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkRendering.dll'.
Symbols loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkImaging.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkIO.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkDICOMParser.dll'.
Symbols loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkNetCDF.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkhdf5.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkzlib.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkhdf5_hl.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkNetCDF_cxx.dll'.
Symbols loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\LSDyna.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkmetaio.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkpng.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkjpeg.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtktiff.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkexpat.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\avifil32.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmm.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msacm32.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvfw32.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shell32.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shlwapi.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded
'C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_ec83dffa859149af\comctl32.dll'.
Cannot find or open the PDB file.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkftgl.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkfreetype.dll'.
Symbols loaded.
'Step1.exe' (Win32): Loaded 'C:\Qt\Qt4.8.5\lib\QtGuid4.dll'. Symbols loaded.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\comdlg32.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msctf.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winspool.drv'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Qt\Qt4.8.5\lib\QtCored4.dll'. Symbols loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkParallel.dll'.
Symbols loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\VPIC.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\Cosmo.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkexoIIc.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\avicap32.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\version.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkVolumeRendering.dll'.
Symbols loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkWidgets.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\psapi.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\GDCM-build\bin\Debug\gdcmDICT.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\GDCM-build\bin\Debug\gdcmDSED.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\GDCM-build\bin\Debug\gdcmCommon.dll'.
Symbols loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\GDCM-build\bin\Debug\gdcmzlib.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\GDCM-build\bin\Debug\gdcmIOD.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\GDCM-build\bin\Debug\gdcmexpat.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\GDCM-build\bin\Debug\gdcmMSFF.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\GDCM-build\bin\Debug\gdcmjpeg8.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\GDCM-build\bin\Debug\gdcmjpeg12.dll'.
Symbols loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\GDCM-build\bin\Debug\gdcmjpeg16.dll'.
Symbols loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\GDCM-build\bin\Debug\gdcmopenjpeg.dll'.
Symbols loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\GDCM-build\bin\Debug\gdcmcharls.dll'.
Symbols loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\MITK-build\bin\Debug\Qmitk.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\QVTK.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded 'C:\Qt\Qt4.8.5\lib\QtWebKitd4.dll'. Symbols loaded.
'Step1.exe' (Win32): Loaded 'C:\Qt\Qt4.8.5\lib\QtNetworkd4.dll'. Symbols loaded.
'Step1.exe' (Win32): Loaded 'C:\Qt\Qt4.8.5\lib\QtSqld4.dll'. Symbols loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkViews.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkInfovis.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtklibxml2.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkalglib.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\VTK-build\bin\Debug\vtkQtChart.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\uxtheme.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shell32.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\shell32.dll'
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\kernel32.dll'
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\user32.dll'
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\user32.dll'
The program '[11292] Step1.exe' has exited with code 1 (0x1).
Errors when running as RELEASE:
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\MITK-build\bin\Debug\Step1.exe'. Symbols
loaded.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or
open the PDB file.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find
or open the PDB file.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\MITK-build\bin\Debug\Mitk.dll'. Symbols
loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\MITK-build\bin\Debug\CppMicroServices.dll'.
Symbols loaded.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp110d.dll'. Symbols loaded.
'Step1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr110d.dll'. Symbols loaded.
'Step1.exe' (Win32): Loaded
'C:\workspace_test\MITK-superbuild\MITK-build\bin\Debug\mbilog.dll'. Symbols
loaded.
The program '[9364] Step1.exe' has exited with code -1073741515 (0xc0000135) 'A
dependent dll was not found'.
Thanks,
James
________________________________
From: Wegner <[email protected]>
To: James <[email protected]>
Sent: Tuesday, November 5, 2013 5:02 PM
Subject: Re: [mitk-users] how to run examples
Hi James,
did you start the right bat file (StartVS_debug.bat and build type in VS
set to Debug and vice versa)?
When you change build type you need to close VS and start the other bat
file to locally extend the PATH. Otherwise typically an error message
"Poco.dll could not be found" is displayed.
Best,
Ingmar
Am 05.11.2013 22:59, schrieb James:
> Hi Ingmar,
>
> I will update my path.
>
> But I got the same error when I run it from VisualStudio 2012 after I
> launched it by clicking the StartVS_release.bat. I thought all path
> should be configured within VS2012.
>
> Thanks,
> James
>
> ------------------------------------------------------------------------
> *From:* Wegner <[email protected]>
> *To:* James <[email protected]>;
> "[email protected]" <[email protected]>
> *Sent:* Tuesday, November 5, 2013 4:49 PM
> *Subject:* Re: [mitk-users] how to run examples
>
> Hi James,
> you need to extend the path variable to let the application reach all
> the necessary dll's. You can copy and modify the StartVS_release.bat (if
> you are on Windows) file from within bin/MITK-Build folder to locally
> extend the PATH variable and call the executable (Step1 and so on).
> Best Regards,
> Ingmar
>
>
> Am 05.11.2013 18:47, schrieb James:
> > Finally I was able to build the MITK with Qt4.8.5 and VS2012. In the
> > meantime, I am reading some of the MITK docs and emails to get the idea
> > what I can do next.
> >
> > I have an immediate question about how to run these examples. For
> > example, I want to run the Step1 example, the Step1.exe will give me
> > errors to claim dll cannot find and cannot display if I click it under
> > its original location. Do I need to install those executable? how to do
> > that if yes. If not, how to run them?
> >
> > Thanks,
> >
> > James
>
> >
> >
> >
> ------------------------------------------------------------------------------
> > November Webinars for C, C++, Fortran Developers
> > Accelerate application performance with scalable programming models.
> Explore
> > techniques for threading, error checking, porting, and tuning. Get
> the most
> > from the latest Intel processors and coprocessors. See abstracts and
> register
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> >
> >
> >
> > _______________________________________________
> > mitk-users mailing list
> > [email protected]
> <mailto:[email protected]>
> > https://lists.sourceforge.net/lists/listinfo/mitk-users
>
> >
>
>
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users