[Insight-users] Trouble with building ITK

Utasi Tamás tamas.utasi at freemail.hu
Wed Nov 11 15:09:13 EST 2009


Thank you!

I see, I was a BIT lame :) It's working now.
Tamas

Luis Ibanez <luis.ibanez at kitware.com> írta: 


> Hi Utasi,
> 
> 
>                     Welcome to ITK !
> 
> 
> It is normal not to have subdirectories inside
> 
>           F:\itk\bin\insight\bin\Debug
> 
> 
> what you should see there is a collection of
> shared libraries with extensions    ".dll"
> 
> 
> The HelloWorld.cxx is not supposed to be there.
> (as Manuel just pointed out).
> 
> If you see files like  ITKCommon.dll, then you
> are in the right path.
> 
> 
> Follow carefully the instructions in the Tutorial.
> 
> What you should do at this point, is to put the
> HelloWorld.cxx example, in a directory OUTSIDE
> of ITK, and follow the tutorial directions on how
> to write a CMakeLists.txt file for it, and how to
> configure that small example with CMake.
> 
> 
>        Regards,
> 
> 
>              Luis
> 
> 
> ---------------------------------------------------------------
> 2009/11/11 Utasi Tamás <tamas.utasi at freemail.hu>:
> > 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!
> > _____________________________________
> > 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.html
> >
> > 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
> >
> >
> 

<br><br>________________________________________________________<br><a 
href="http://ad.adverticum.net/b/cl,1,6022,363077,448722/click.prm">
Ne hagyja ki az utolsó nagy, novemberi kötelező biztosító váltást! Számoljon, hogy spóroljon!
</a>

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


More information about the Insight-users mailing list