[Insight-users] Trouble with building ITK

Manuel David Tabas Calle manueldavid.tabas at hotmail.es
Wed Nov 11 13:06:59 EST 2009



 Hi Tamas,

 

I think you did everything ok, but like you did not compile the examples, you can only find HelloWorld.cxx in "F:\itk\src\insight\\Examples\Installation".

 

Regards.


Date: Wed, 11 Nov 2009 17:58:53 +0100
From: tamas.utasi at freemail.hu
To: insight-users at itk.org
Subject: [Insight-users] Trouble with building ITK

Hi Folks,

Sorry for double posting... I missed the subject :S

I am beginner in Visual Studio, Cmake and in ITK also.
I usually compiling with Code::blocks, before that I used to use Dev-C++. Not so many experiance in MS VS... yet.

I started my day with downloading the lastest CMake (2.6.4), the latest ITK sourcode files (InsightApplications-3.16.0.zip).
I also gathered an MS Visual Studio (2008 pro). I followed the instructions as I found in: http://www.itk.org/CourseWare/Training/GettingStarted-I.pdf
* I installed cmake (C:\Program Files\CMake 2.6), 
* then I unzipped InsightApplications-3.16.0.zip into "F:\itk\src\insight\" and then 
* created F:\itk\bin\insight\.

* CMakeSetup with parameters:
 - source code: F:\itk\src\insight\
 - binary files destination: F:\itk\bin\insight\
 - compiler: visual studio 9 (2008).
 - BUILD_DOXYGEN: OFF
 - BUILD_EXAMPLES: OFF
 - BUILD_SHARED_LIBS: OFF
 - BUILD_TESTING: OFF
 - CMAKE_BQCKWARDS_COMPATIBILITY: 2.4
 - CMAKE_INSTALL_PREFIX: C:PRogram Files\ITK
 - ITK_USE_KWSTYLE: OFF
After "Configure" pushed 2nd time all of them is gray. Great.
After 3th push: Configuration done. :) OK, all the project files are done. 

* Then I open the solution file in VS, right click on ALL_BUILD -> Build, It tooks like 10 minutes to build, result:
========== Build: 33 succeeded, 0 failed, 2 up-to-date, 0 skipped ==========

* Step 5: "Verify the Built"... There are no directories in F:\itk\bin\insight\bin\Debug\, only files... and I didn't find HelloWorld.cxx neither.
Then I pushed right click on INSTALL -> Build.
========== Build: 1 succeeded, 0 failed, 35 up-to-date, 0 skipped ==========
It has created the directories and files in the target directory: C:\Program Files\ITK, but in the bin directory there are only the next files:
itkTestDriver.exe
Microsoft.VC90.CRT.manifest
msvcm90.dll
msvcp90.dll
msvcr90.dll

Is it normal? 

I had that impression I should find the same directory structure in bin like in src...
Did I something wrong?

Thanks in advice.
Tamas


________________________________________________________
Ne hagyja ki az utolsó nagy, novemberi kötelező biztosító váltást! Számoljon, hogy spóroljon!  		 	   		  
_________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091111/73f88971/attachment.htm>


More information about the Insight-users mailing list