[Insight-users] compiling on windows 7 64bit

Leila Baghdadi baghdadi at phenogenomics.ca
Fri Jan 11 12:07:51 EST 2013


Hi everyone,
 anyone knows about binaries for 64bit tiff library windows 7, or instructions on how to compile,

thanks

Leila

----- Original Message -----
From: Josem <jose at apollomit.com>
Sent: Tue, 1/8/2013 5:51pm
To: insight-users at itk.org
Subject: Re: [Insight-users] compiling on windows 7 64bit

This is how i did it:
 tested with Microsoft Visual Studio 2010 Express, which is a free version
downloadable from the web. Can be downloaded from
here:http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-products.
(The current guide has not been tested with MSVS 2012.)
•    Download the following software:
o    ITK Library: http://www.itk.org/ITK/resources/software.html
o    CMake: http://www.cmake.org/cmake/resources/software.html
•    Extract the ITK library into a folder.(Recommendation:  Keep the library
on a short path, something  like “c://ITK/” is the best option because MS VS
has problems with long paths).
•    Create another folder for the future ITK output. 
For instance: “c://ITKo/”orc://ITKoutput/”.
•    Install CMake. (Recommendation: Keep it in a short path. 
For instance: “c://cmake”).
•    Launch CMake and select the folders created, for the build and the output
folder.
•    Press Configure and select the compilation option.
o    For x86 select Visual Studio 10 (32 bits).
o    For x64 select Visual Studio 10 Win64.
•    Select use default native compilers.
•    Once the first configuration is done, CMake will show some options in red
that the user can select or deselect. Of these options disable the
following:
Disable BUILD_EXAMPLES
Disable BUILD_SHARED_LIBS
Disable BUILD_TESTING
o    Click on the “Configure” Button and wait until it finishes the
configuration, and the options are not in red anymore. 
o    Then click on the “Generate” Button.
o    After the generation of the binaries files, the output will be in the
“c://ITKo” folder.
o    Open the ITK.sln solution file with MS Visual Studio 2010. In this case it
was tested using the express version.
o    Once visual studio has loaded the entire solution, select build all and
click to build the entire library.
Additional Recommendations for ITK in Win 64
To be able to build ITK over a 64 bit environment using MS VS 2010 Express,
the computer must have the Microsoft Windows SDK 7 installed. Download this
software here:
http://www.microsoft.com/en-au/download/details.aspx?id=8279
And follow the following installation guide:
http://www.mathworks.com.au/support/solutions/en/data/1-FPLDGV/




--
View this message in context: http://itk-users.7.n7.nabble.com/compiling-on-windows-7-64bit-tp30490p30499.html
Sent from the ITK - Users mailing list archive at Nabble.com.
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list