Difference between revisions of "Documentation/Labs/VS2012"
From Slicer Wiki
(First experiences with building Slicer under VS2012) |
m (Text replacement - "\[http:\/\/www\.slicer\.org\/slicerWiki\/index\.php\/([^ ]+) ([^]]+)]" to "$2") |
||
Line 1: | Line 1: | ||
− | * With VS2012, I've compiled Slicer 4 in a 64bit build as per 6/20/2013 with patched Qt (see [ | + | * With VS2012, I've compiled Slicer 4 in a 64bit build as per 6/20/2013 with patched Qt (see [[Documentation/Labs/Qt484]).|It doesn't run: crashes after splash screen is shown. Mini dump file said something about unauthorized virtual pointer, see below. |
<pre> | <pre> | ||
Dump Summary | Dump Summary | ||
Line 160: | Line 160: | ||
* When I tried to include SimpleITK the linking step that produces SimpleITK_PYTHON.dir\Debug\SimpleITKPYTHON_wrap.obj took > 1 hour and I killed the linker. Perhaps it just takes a very long time. | * When I tried to include SimpleITK the linking step that produces SimpleITK_PYTHON.dir\Debug\SimpleITKPYTHON_wrap.obj took > 1 hour and I killed the linker. Perhaps it just takes a very long time. | ||
− | * I was unsuccessful in running with debugger as per [http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/Tutorials/Debug_Instructions#Windows instructions]: it seems that <code>Slicer.exe --VisualStudio Slicer.sln /out buildlog.txt /build</code> | + | * I was unsuccessful in running with debugger as per [http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/Tutorials/Debug_Instructions#Windows instructions]]: it seems that <code>Slicer.exe --VisualStudio Slicer.sln /out buildlog.txt /build</code> |
contains flags that are not recognized (/out and /build) even when properly quoted in mingw (git bash) shell (doubling the forward slashes). The main problem is that VS doesn't start up! | contains flags that are not recognized (/out and /build) even when properly quoted in mingw (git bash) shell (doubling the forward slashes). The main problem is that VS doesn't start up! |
Latest revision as of 02:21, 27 November 2019
Home < Documentation < Labs < VS2012- With VS2012, I've compiled Slicer 4 in a 64bit build as per 6/20/2013 with patched Qt (see [[Documentation/Labs/Qt484]).|It doesn't run: crashes after splash screen is shown. Mini dump file said something about unauthorized virtual pointer, see below.
Dump Summary ------------ Dump File: WERA828.tmp.mdmp : C:\Users\nils\AppData\Local\Temp\WERA828.tmp.mdmp Last Write Time: 6/21/2013 8:22:05 AM Process Name: SlicerApp-real.exe : K:\SlicerWin64\Slicer-build\bin\Debug\SlicerApp-real.exe Process Architecture: x64 Exception Code: 0xC0000005 Exception Information: The thread tried to read from or write to a virtual address for which it does not have the appropriate access. Heap Information: Not Present System Information ------------------ OS Version: 6.1.7601 CLR Version(s): Modules ------- Module Name Module Path Module Version ----------- ----------- -------------- SlicerApp-real.exe K:\SlicerWin64\Slicer-build\bin\Debug\SlicerApp-real.exe 0.0.0.0 ntdll.dll C:\Windows\System32\ntdll.dll 6.1.7601.17725 kernel32.dll C:\Windows\System32\kernel32.dll 6.1.7601.18015 KERNELBASE.dll C:\Windows\System32\KERNELBASE.dll 6.1.7601.18015 qSlicerApp.dll K:\SlicerWin64\Slicer-build\bin\Debug\qSlicerApp.dll 0.0.0.0 qSlicerBaseQTCLI.dll K:\SlicerWin64\Slicer-build\bin\Debug\qSlicerBaseQTCLI.dll 0.0.0.0 QtGui4.dll C:\QtHacked\qt\bin\QtGui4.dll 4.8.5.0 gdi32.dll C:\Windows\System32\gdi32.dll 6.1.7601.17514 user32.dll C:\Windows\System32\user32.dll 6.1.7601.17514 lpk.dll C:\Windows\System32\lpk.dll 6.1.7600.16385 usp10.dll C:\Windows\System32\usp10.dll 1.626.7601.18009 msvcrt.dll C:\Windows\System32\msvcrt.dll 7.0.7601.17744 comdlg32.dll C:\Windows\System32\comdlg32.dll 6.1.7601.17514 shlwapi.dll C:\Windows\System32\shlwapi.dll 6.1.7601.17514 comctl32.dll C:\Windows\winsxs\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_a4d6a923711520a9\comctl32.dll 5.82.7601.17514 advapi32.dll C:\Windows\System32\advapi32.dll 6.1.7600.16385 sechost.dll C:\Windows\System32\sechost.dll 6.1.7600.16385 rpcrt4.dll C:\Windows\System32\rpcrt4.dll 6.1.7601.17514 shell32.dll C:\Windows\System32\shell32.dll 6.1.7601.18103 oleaut32.dll C:\Windows\System32\oleaut32.dll 6.1.7601.17676 ole32.dll C:\Windows\System32\ole32.dll 6.1.7601.17514 imm32.dll C:\Windows\System32\imm32.dll 6.1.7600.16385 msctf.dll C:\Windows\System32\msctf.dll 6.1.7600.16385 winmm.dll C:\Windows\System32\winmm.dll 6.1.7600.16385 winspool.drv C:\Windows\System32\winspool.drv 6.1.7601.17514 QtCore4.dll C:\QtHacked\qt\bin\QtCore4.dll 4.8.5.0 ws2_32.dll C:\Windows\System32\ws2_32.dll 6.1.7601.17514 nsi.dll C:\Windows\System32\nsi.dll 6.1.7600.16385 msvcp110.dll C:\Windows\System32\msvcp110.dll 11.0.51106.1 msvcr110.dll C:\Windows\System32\msvcr110.dll 11.0.51106.1 QtTesting.dll K:\SlicerWin64\CTK-build\QtTesting-build\Debug\QtTesting.dll 0.0.0.0 MSVCP110D.dll C:\Windows\System32\MSVCP110D.dll 11.0.51106.1 MSVCR110D.dll C:\Windows\System32\MSVCR110D.dll 11.0.51106.1 vtkCommon.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkCommon.dll 0.0.0.0 vtksys.dll K:\SlicerWin64\VTK-build\bin\Debug\vtksys.dll 0.0.0.0 wsock32.dll C:\Windows\System32\wsock32.dll 6.1.7600.16385 qSlicerBaseQTCore.dll K:\SlicerWin64\Slicer-build\bin\Debug\qSlicerBaseQTCore.dll 0.0.0.0 QtNetwork4.dll C:\QtHacked\qt\bin\QtNetwork4.dll 4.8.5.0 vtkFiltering.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkFiltering.dll 0.0.0.0 vtkPythonCore.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkPythonCore.dll 0.0.0.0 python27.dll K:\SlicerWin64\Slicer-build\bin\Debug\python27.dll 0.0.0.0 cabinet.dll C:\Windows\System32\cabinet.dll 6.1.7601.17514 msi.dll C:\Windows\System32\msi.dll 5.0.7601.17807 SlicerBaseLogic.dll K:\SlicerWin64\Slicer-build\bin\Debug\SlicerBaseLogic.dll 0.0.0.0 MRMLLogic.dll K:\SlicerWin64\Slicer-build\bin\Debug\MRMLLogic.dll 0.0.0.0 MRMLCore.dll K:\SlicerWin64\Slicer-build\bin\Debug\MRMLCore.dll 0.0.0.0 vtkITK.dll K:\SlicerWin64\Slicer-build\bin\Debug\vtkITK.dll 0.0.0.0 ITKCommon-4.4.dll K:\SlicerWin64\ITKv4-build\bin\Debug\ITKCommon-4.4.dll 0.0.0.0 vtkImaging.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkImaging.dll 0.0.0.0 vtkGraphics.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkGraphics.dll 0.0.0.0 vtkverdict.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkverdict.dll 0.0.0.0 vtkHybrid.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkHybrid.dll 0.0.0.0 vtkRendering.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkRendering.dll 0.0.0.0 vtkIO.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkIO.dll 0.0.0.0 vtkDICOMParser.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkDICOMParser.dll 0.0.0.0 vtkNetCDF.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkNetCDF.dll 0.0.0.0 vtkhdf5.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkhdf5.dll 0.0.0.0 vtkhdf5_hl.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkhdf5_hl.dll 0.0.0.0 vtkNetCDF_cxx.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkNetCDF_cxx.dll 0.0.0.0 LSDyna.dll K:\SlicerWin64\VTK-build\bin\Debug\LSDyna.dll 0.0.0.0 vtkmetaio.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkmetaio.dll 0.0.0.0 vtkpng.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkpng.dll 0.0.0.0 vtkjpeg.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkjpeg.dll 0.0.0.0 vtktiff.dll K:\SlicerWin64\VTK-build\bin\Debug\vtktiff.dll 0.0.0.0 vtkexpat.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkexpat.dll 0.0.0.0 avifil32.dll C:\Windows\System32\avifil32.dll 6.1.7600.16385 msacm32.dll C:\Windows\System32\msacm32.dll 6.1.7600.16385 msvfw32.dll C:\Windows\System32\msvfw32.dll 6.1.7600.16385 vtkftgl.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkftgl.dll 0.0.0.0 opengl32.dll C:\Windows\System32\opengl32.dll 6.1.7600.16385 glu32.dll C:\Windows\System32\glu32.dll 6.1.7600.16385 ddraw.dll C:\Windows\System32\ddraw.dll 6.1.7600.16385 dciman32.dll C:\Windows\System32\dciman32.dll 6.1.7600.16385 setupapi.dll C:\Windows\System32\setupapi.dll 6.1.7601.17514 cfgmgr32.dll C:\Windows\System32\cfgmgr32.dll 6.1.7601.17514 devobj.dll C:\Windows\System32\devobj.dll 6.1.7600.16385 dwmapi.dll C:\Windows\System32\dwmapi.dll 6.1.7600.16385 vtkfreetype.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkfreetype.dll 0.0.0.0 vtkParallel.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkParallel.dll 0.0.0.0 VPIC.dll K:\SlicerWin64\VTK-build\bin\Debug\VPIC.dll 0.0.0.0 Cosmo.dll K:\SlicerWin64\VTK-build\bin\Debug\Cosmo.dll 0.0.0.0 vtkexoIIc.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkexoIIc.dll 0.0.0.0 avicap32.dll C:\Windows\System32\avicap32.dll 6.1.7600.16385 version.dll C:\Windows\System32\version.dll 6.1.7600.16385 vtkInfovis.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkInfovis.dll 0.0.0.0 vtklibxml2.dll K:\SlicerWin64\VTK-build\bin\Debug\vtklibxml2.dll 0.0.0.0 vtkalglib.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkalglib.dll 0.0.0.0 FreeSurfer.dll K:\SlicerWin64\Slicer-build\bin\Debug\FreeSurfer.dll 0.0.0.0 vtkTeem.dll K:\SlicerWin64\Slicer-build\bin\Debug\vtkTeem.dll 0.0.0.0 teem.dll K:\SlicerWin64\teem-build\bin\Debug\teem.dll 0.0.0.0 RemoteIO.dll K:\SlicerWin64\Slicer-build\bin\Debug\RemoteIO.dll 0.0.0.0 archive.dll K:\SlicerWin64\LibArchive-install\bin\archive.dll 0.0.0.0 MRMLCLI.dll K:\SlicerWin64\Slicer-build\bin\Debug\MRMLCLI.dll 0.0.0.0 ModuleDescriptionParser.dll K:\SlicerWin64\SlicerExecutionModel-build\ModuleDescriptionParser\bin\Debug\ModuleDescriptionParser.dll 0.0.0.0 MRMLDisplayableManager.dll K:\SlicerWin64\Slicer-build\bin\Debug\MRMLDisplayableManager.dll 0.0.0.0 vtkWidgets.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkWidgets.dll 0.0.0.0 vtkVolumeRendering.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkVolumeRendering.dll 0.0.0.0 CTKCore.dll K:\SlicerWin64\CTK-build\CTK-build\bin\Debug\CTKCore.dll 0.0.0.0 dbghelp.dll C:\Windows\System32\dbghelp.dll 6.1.7601.17514 CTKImageProcessingITKCore.dll K:\SlicerWin64\CTK-build\CTK-build\bin\Debug\CTKImageProcessingITKCore.dll 0.0.0.0 CTKVisualizationVTKCore.dll K:\SlicerWin64\CTK-build\CTK-build\bin\Debug\CTKVisualizationVTKCore.dll 0.0.0.0 PythonQt.dll K:\SlicerWin64\CTK-build\PythonQt-build\Debug\PythonQt.dll 0.0.0.0 QtWebKit4.dll C:\QtHacked\qt\bin\QtWebKit4.dll 4.9.4.0 QtXml4.dll C:\QtHacked\qt\bin\QtXml4.dll 4.8.5.0 CTKScriptingPythonCore.dll K:\SlicerWin64\CTK-build\CTK-build\bin\Debug\CTKScriptingPythonCore.dll 0.0.0.0 QtScript4.dll C:\QtHacked\qt\bin\QtScript4.dll 4.8.5.0 qSlicerBaseQTGUI.dll K:\SlicerWin64\Slicer-build\bin\Debug\qSlicerBaseQTGUI.dll 0.0.0.0 qMRMLWidgets.dll K:\SlicerWin64\Slicer-build\bin\Debug\qMRMLWidgets.dll 0.0.0.0 CTKWidgets.dll K:\SlicerWin64\CTK-build\CTK-build\bin\Debug\CTKWidgets.dll 0.0.0.0 QtOpenGL4.dll C:\QtHacked\qt\bin\QtOpenGL4.dll 4.8.5.0 CTKVisualizationVTKWidgets.dll K:\SlicerWin64\CTK-build\CTK-build\bin\Debug\CTKVisualizationVTKWidgets.dll 0.0.0.0 vtkCharts.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkCharts.dll 0.0.0.0 vtkViews.dll K:\SlicerWin64\VTK-build\bin\Debug\vtkViews.dll 0.0.0.0 QVTK.dll K:\SlicerWin64\VTK-build\bin\Debug\QVTK.dll 0.0.0.0 QtSql4.dll C:\QtHacked\qt\bin\QtSql4.dll 4.8.5.0 CTKScriptingPythonWidgets.dll K:\SlicerWin64\CTK-build\CTK-build\bin\Debug\CTKScriptingPythonWidgets.dll 0.0.0.0 CTKQtTesting.dll K:\SlicerWin64\CTK-build\CTK-build\bin\Debug\CTKQtTesting.dll 0.0.0.0 QtXmlPatterns4.dll C:\QtHacked\qt\bin\QtXmlPatterns4.dll 4.8.5.0 qSlicerBaseQTApp.dll K:\SlicerWin64\Slicer-build\bin\Debug\qSlicerBaseQTApp.dll 0.0.0.0 qSlicerModulesCore.dll K:\SlicerWin64\Slicer-build\bin\Debug\qSlicerModulesCore.dll 0.0.0.0 ITKFactoryRegistration.dll K:\SlicerWin64\Slicer-build\bin\Debug\ITKFactoryRegistration.dll 0.0.0.0 psapi.dll C:\Windows\System32\psapi.dll 6.1.7600.16385 apphelp.dll C:\Windows\System32\apphelp.dll 6.1.7601.17514 AcXtrnal.dll C:\Windows\AppPatch\AppPatch64\AcXtrnal.dll 6.1.7601.18128 uxtheme.dll C:\Windows\System32\uxtheme.dll 6.1.7600.16385 tiptsf.dll C:\Program Files\Common Files\microsoft shared\ink\tiptsf.dll 6.1.7601.17514 CRYPTBASE.dll C:\Windows\System32\CRYPTBASE.dll 6.1.7600.16385 WinTab32.dll C:\Windows\System32\WinTab32.dll 5.3.2011.1014 hid.dll C:\Windows\System32\hid.dll 6.1.7600.16385 MenuWnd.dll C:\Windows\System32\MenuWnd.dll 2.0.2011.1011 userenv.dll C:\Windows\System32\userenv.dll 6.1.7601.17514 profapi.dll C:\Windows\System32\profapi.dll 6.1.7600.16385 MGHIOPlugin.dll K:\SlicerWin64\Slicer-build\lib\Slicer-4.2\ITKFactories\Debug\MGHIOPlugin.dll 0.0.0.0 MGHIO.dll K:\SlicerWin64\Slicer-build\bin\Debug\MGHIO.dll 0.0.0.0 MRMLIDIOPlugin.dll K:\SlicerWin64\Slicer-build\lib\Slicer-4.2\ITKFactories\Debug\MRMLIDIOPlugin.dll 0.0.0.0 MRMLIDIO.dll K:\SlicerWin64\Slicer-build\bin\Debug\MRMLIDIO.dll 0.0.0.0
- When I tried to include SimpleITK the linking step that produces SimpleITK_PYTHON.dir\Debug\SimpleITKPYTHON_wrap.obj took > 1 hour and I killed the linker. Perhaps it just takes a very long time.
- I was unsuccessful in running with debugger as per instructions]: it seems that
Slicer.exe --VisualStudio Slicer.sln /out buildlog.txt /build
contains flags that are not recognized (/out and /build) even when properly quoted in mingw (git bash) shell (doubling the forward slashes). The main problem is that VS doesn't start up!