[Insight-users] building examples with visual c++ 2008 express

Sharath Venkatesha sharath20284 at yahoo.com
Tue Jul 7 17:26:59 EDT 2009


There is a EXECUTABLE_OUTPUT_PATH in the CMake configuration
window. The exe will be generated at the path specified there. The .lib
files are also generated there.
The files created here are sufficient are execution of program

Sharath 





________________________________
From: Toni Uusimäki <tonimuusimaki at gmail.com>
To: insight-users at itk.org
Sent: Tuesday, July 7, 2009 1:46:53 PM
Subject: [Insight-users] building examples with visual c++ 2008 express

Hello everybody!


I know this problem has subsequently popped up but i still think there is something wrong with the process.
I configured the insight-toolkit files with cmake and made an out of source build for visual studio 9 2008.
But when i pressed all_build in visual studio the building process took about 2 to 3 hours with my not so new/old machine.
The HelloWorld example worked fine but when i went to the examples folder for the other example files i found these for every example (here are files for only one):

C:\Program Files\itk\bin\insight\Examples\Registration :


ImageRegistration1.vcproj
ImageRegistration1.vcproj.ANONYMOUS.Administrator.user

C:\Program Files\itk\bin\insight\Examples\Registration\ImageRegistration1.dir\Debug  :

BuildLog.htm
ImageRegistration1.exe.embed.manifest
ImageRegistration1.exe.embed.manifest.res
ImageRegistration1.exe.intermediate.manifest
ImageRegistration1.obj
mt.dep



with the buildlog as an attachment..

Where are the .exe files ???
Now what should i do with these files? 
Where did i go wrong?
And what are these files anyway?

Cheers and many thanks for any reply!!

T: Don I

im using cmake 2.6 patch 4
build_examples  on
build_shared_libs off
build_testing on


-----Inline Attachment Follows-----

 

Build Log
 
    Build started: Project: ImageRegistration1, Configuration: Debug|Win32 

Command Lines
 
    Creating temporary file "c:\Program Files\itk\bin\insight\Examples\Registration\ImageRegistration1.dir\Debug\RSP00069116803748.rsp" with contents
[
/Od /I "C:\Program Files\itk\bin\insight" /I "C:\Program Files\itk\InsightToolkit-3.14.0\Code\Algorithms" /I "C:\Program Files\itk\InsightToolkit-3.14.0\Code\BasicFilters" /I "C:\Program Files\itk\InsightToolkit-3.14.0\Code\Common" /I "C:\Program Files\itk\InsightToolkit-3.14.0\Code\Numerics" /I "C:\Program Files\itk\InsightToolkit-3.14.0\Code\IO" /I "C:\Program Files\itk\InsightToolkit-3.14.0\Code\Numerics\FEM" /I "C:\Program Files\itk\InsightToolkit-3.14.0\Code\Numerics\NeuralNetworks" /I "C:\Program Files\itk\InsightToolkit-3.14.0\Code\SpatialObject" /I "C:\Program Files\itk\InsightToolkit-3.14.0\Utilities\MetaIO" /I "C:\Program Files\itk\InsightToolkit-3.14.0\Utilities\NrrdIO" /I "C:\Program Files\itk\bin\insight\Utilities\NrrdIO" /I "C:\Program Files\itk\InsightToolkit-3..14.0\Utilities\DICOMParser" /I "C:\Program Files\itk\bin\insight\Utilities\DICOMParser" /I "C:\Program Files\itk\bin\insight\Utilities\expat" /I "C:\Program
 Files\itk\InsightToolkit-3.14.0\Utilities\expat" /I "C:\Program Files\itk\InsightToolkit-3.14.0\Utilities\nifti\niftilib" /I "C:\Program Files\itk\InsightToolkit-3.14.0\Utilities\nifti\znzlib" /I "C:\Program Files\itk\InsightToolkit-3.14.0\Utilities\itkExtHdrs" /I "C:\Program Files\itk\bin\insight\Utilities" /I "C:\Program Files\itk\InsightToolkit-3.14.0\Utilities" /I "C:\Program Files\itk\InsightToolkit-3.14.0\Code\Numerics\Statistics" /I "C:\Program Files\itk\InsightToolkit-3.14.0\Utilities\vxl\v3p\netlib" /I "C:\Program Files\itk\InsightToolkit-3.14.0\Utilities\vxl\vcl" /I "C:\Program Files\itk\InsightToolkit-3.14.0\Utilities\vxl\core" /I "C:\Program Files\itk\bin\insight\Utilities\vxl\v3p\netlib" /I "C:\Program Files\itk\bin\insight\Utilities\vxl\vcl" /I "C:\Program Files\itk\bin\insight\Utilities\vxl\core" /I "C:\Program Files\itk\bin\insight\Utilities\gdcm" /I "C:\Program Files\itk\InsightToolkit-3.14.0\Utilities\gdcm\src" /D "WIN32" /D "_WINDOWS"
 /D "NOMINMAX" /D "_DEBUG" /D "_CRT_FAR_MAPPINGS_NO_DEPRECATE" /D "_CRT_IS_WCTYPE_NO_DEPRECATE" /D "_CRT_MANAGED_FP_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_SECURE_NO_DEPRECATE_GLOBALS" /D "_CRT_SETERRORMODE_BEEP_SLEEP_NO_DEPRECATE" /D "_CRT_TIME_FUNCTIONS_NO_DEPRECATE" /D "_CRT_VCCLRIT_NO_DEPRECATE" /D "_SCL_SECURE_NO_DEPRECATE" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /EHsc /RTC1 /MDd /Fo"ImageRegistration1.dir\Debug\\" /Fd"C:/Program Files/itk/bin/insight/bin/Debug/ImageRegistration1.pdb" /W3 /c /Zi /TP   /Zm1000

"..\..\..\..\InsightToolkit-3.14.0\Examples\Registration\ImageRegistration1.cxx"
]
Creating command line "cl.exe @"c:\Program Files\itk\bin\insight\Examples\Registration\ImageRegistration1.dir\Debug\RSP00069116803748.rsp" /nologo /errorReport:prompt"
Creating temporary file "c:\Program Files\itk\bin\insight\Examples\Registration\ImageRegistration1.dir\Debug\TMP00069216803748.tmp" with contents
[
1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */ ".\\ImageRegistration1.dir\\Debug\\ImageRegistration1.exe.embed.manifest"
]
Creating command line "rc.exe /fo".\ImageRegistration1.dir\Debug\ImageRegistration1.exe.embed.manifest.res" "c:\Program Files\itk\bin\insight\Examples\Registration\ImageRegistration1.dir\Debug\TMP00069216803748.tmp""
Creating temporary file "c:\Program Files\itk\bin\insight\Examples\Registration\ImageRegistration1.dir\Debug\RSP00069316803748.rsp" with contents
[
/OUT:"C:\Program Files\itk\bin\insight\bin\Debug\ImageRegistration1.exe" /VERSION:0.0 /INCREMENTAL /LIBPATH:".\Debug" /LIBPATH:"." /MANIFEST /MANIFESTFILE:"ImageRegistration1.dir\Debug\ImageRegistration1.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:/Program Files/itk/bin/insight/bin/Debug/ImageRegistration1.pdb" /SUBSYSTEM:CONSOLE /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Program Files\itk\bin\insight\bin\Debug\ImageRegistration1.lib"  /STACK:10000000 /machine:I386 /debug kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib  ..\..\bin\Debug\ITKIO.lib ..\..\bin\Debug\ITKNumerics.lib ..\..\bin\Debug\ITKNrrdIO.lib ..\..\bin\Debug\itkgdcm.lib ..\..\bin\Debug\itkjpeg12.lib ..\..\bin\Debug\itkjpeg16.lib ..\..\bin\Debug\itkopenjpeg.lib snmpapi.lib rpcrt4.lib ..\..\bin\Debug\itkpng.lib ..\...\bin\Debug\itktiff.lib ..\..\bin\Debug\itkjpeg8.lib
 ..\..\bin\Debug\ITKSpatialObject.lib ..\..\bin\Debug\ITKMetaIO.lib comctl32.lib wsock32.lib ..\..\bin\Debug\ITKDICOMParser.lib ..\..\bin\Debug\ITKEXPAT.lib ..\..\bin\Debug\ITKniftiio.lib ..\..\bin\Debug\ITKznz.lib ..\..\bin\Debug\itkzlib.lib ..\..\bin\Debug\ITKCommon.lib ..\..\bin\Debug\itksys.lib ws2_32.lib ..\..\bin\Debug\itkvnl_inst.lib ..\..\bin\Debug\itkvnl_algo.lib ...\..\bin\Debug\itkv3p_netlib.lib ..\..\bin\Debug\itkvnl.lib ..\..\bin\Debug\itkvcl.lib

".\ImageRegistration1.dir\Debug\ImageRegistration1.obj"

".\ImageRegistration1.dir\Debug\ImageRegistration1.exe.embed.manifest..res"
]
Creating command line "link.exe @"c:\Program Files\itk\bin\insight\Examples\Registration\ImageRegistration1.dir\Debug\RSP00069316803748.rsp" /NOLOGO /ERRORREPORT:PROMPT"
Creating temporary file "c:\Program Files\itk\bin\insight\Examples\Registration\ImageRegistration1.dir\Debug\RSP00069416803748.rsp" with contents
[
/out:".\ImageRegistration1.dir\Debug\ImageRegistration1.exe.embed.manifest" /notify_update /manifest

".\ImageRegistration1.dir\Debug\ImageRegistration1.exe.intermediate.manifest"
]
Creating command line "mt.exe @"c:\Program Files\itk\bin\insight\Examples\Registration\ImageRegistration1.dir\Debug\RSP00069416803748.rsp" /nologo"
Creating temporary file "c:\Program Files\itk\bin\insight\Examples\Registration\ImageRegistration1.dir\Debug\BAT00069516803748.bat" with contents
[
@echo Manifest resource last updated at %TIME% on %DATE% > ".\ImageRegistration1.dir\Debug\mt.dep"
]
Creating command line """c:\Program Files\itk\bin\insight\Examples\Registration\ImageRegistration1.dir\Debug\BAT00069516803748.bat"""
Creating temporary file "c:\Program Files\itk\bin\insight\Examples\Registration\ImageRegistration1.dir\Debug\TMP00069616803748.tmp" with contents
[
1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */ ".\\ImageRegistration1.dir\\Debug\\ImageRegistration1.exe.embed.manifest"
]
Creating command line "rc.exe /fo".\ImageRegistration1.dir\Debug\ImageRegistration1.exe.embed.manifest.res" "c:\Program Files\itk\bin\insight\Examples\Registration\ImageRegistration1.dir\Debug\TMP00069616803748.tmp""
Creating temporary file "c:\Program Files\itk\bin\insight\Examples\Registration\ImageRegistration1.dir\Debug\RSP00069716803748.rsp" with contents
[
/OUT:"C:\Program Files\itk\bin\insight\bin\Debug\ImageRegistration1.exe" /VERSION:0.0 /INCREMENTAL /LIBPATH:".\Debug" /LIBPATH:"." /MANIFEST /MANIFESTFILE:"ImageRegistration1.dir\Debug\ImageRegistration1.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:/Program Files/itk/bin/insight/bin/Debug/ImageRegistration1.pdb" /SUBSYSTEM:CONSOLE /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Program Files\itk\bin\insight\bin\Debug\ImageRegistration1.lib"  /STACK:10000000 /machine:I386 /debug kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32..lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib  ..\..\bin\Debug\ITKIO..lib ..\..\bin\Debug\ITKNumerics.lib ..\..\bin\Debug\ITKNrrdIO.lib ..\..\bin\Debug\itkgdcm.lib ..\..\bin\Debug\itkjpeg12.lib ..\..\bin\Debug\itkjpeg16..lib ..\..\bin\Debug\itkopenjpeg.lib snmpapi.lib rpcrt4.lib ..\..\bin\Debug\itkpng.lib ..\..\bin\Debug\itktiff.lib ..\..\bin\Debug\itkjpeg8.lib
 ..\..\bin\Debug\ITKSpatialObject.lib ..\..\bin\Debug\ITKMetaIO.lib comctl32.lib wsock32.lib ..\..\bin\Debug\ITKDICOMParser.lib ..\..\bin\Debug\ITKEXPAT.lib ..\..\bin\Debug\ITKniftiio.lib ..\..\bin\Debug\ITKznz.lib ..\..\bin\Debug\itkzlib.lib ..\..\bin\Debug\ITKCommon.lib ..\..\bin\Debug\itksys.lib ws2_32.lib ..\..\bin\Debug\itkvnl_inst.lib ..\..\bin\Debug\itkvnl_algo.lib ...\..\bin\Debug\itkv3p_netlib.lib ..\..\bin\Debug\itkvnl.lib ..\..\bin\Debug\itkvcl.lib

".\ImageRegistration1.dir\Debug\ImageRegistration1.obj"

".\ImageRegistration1.dir\Debug\ImageRegistration1.exe.embed.manifest..res"
]
Creating command line "link.exe @"c:\Program Files\itk\bin\insight\Examples\Registration\ImageRegistration1.dir\Debug\RSP00069716803748.rsp" /NOLOGO /ERRORREPORT:PROMPT"
 

Output Window
 
    Compiling....
ImageRegistration1.cxx
Compiling manifest to resources...
Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
Copyright (C) Microsoft Corporation.  All rights reserved.
Linking...
   Creating library C:\Program Files\itk\bin\insight\bin\Debug\ImageRegistration1.lib and object C:\Program Files\itk\bin\insight\bin\Debug\ImageRegistration1.exp
Embedding manifest...
Microsoft (R) Windows (R) Resource Compiler Version 6.1..6723.1
Copyright (C) Microsoft Corporation.  All rights reserved.
 

Results
 
    Build log was saved at "file://c:\Program Files\itk\bin\insight\Examples\Registration\ImageRegistration1.dir\Debug\BuildLog.htm"
ImageRegistration1 - 0 error(s), 0 warning(s)


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090707/8cd01d4f/attachment-0001.htm>


More information about the Insight-users mailing list