[Insight-users] Installing ITK (absolute paths in ITKConfig.cmake)
Luis Ibanez
luis.ibanez at kitware.com
Fri Apr 11 19:26:05 EDT 2008
Hi Matthias,
The installation process has been fixed recently in ITK
for making it relocatable, which is exactly what you need.
Paths in ITKConfig.cmake are now relative.
http://www.itk.org/cgi-bin/viewcvs.cgi/ITKConfig.cmake.in?root=Insight&r1=1.25&r2=1.26
Please try an updated CVS version of ITK.
(no earlier than April 9 2008).
With this version, it should be possible to install ITK
in any directory, and then move it to a new location.
Note also that you can now use cpack in order to pack
ITK if you install NSIS:
http://nsis.sourceforge.net/Main_Page
The "Package" project will appear as one of the possible
projects to use in your visual studio build.
Let us know if you still find any problem.
Thanks
Luis
--------------------------
Matthias Riechmann wrote:
> Hi,
>
> within the ITK cmake project there is also the possibility to install
> the library after compiling. Under windows this copies all files to
> "c:\program files\ITK\..." and creates a file ITKConfig.cmake where all
> necessary paths and files are configured. Now my question: I would like
> to copy this files to a server so everybody in our group can access ITK
> without someone having to recompile it on or copy it to every machine.
> Problem is: in the ITKConfig.cmake all paths are absolute. I managed to
> convert them to relative ones by hand (like it is done in
> VTKConfig.cmake by default!) and as far as I have been testing right now
> everything seems to work fine. Are there any reasons why you hardcoded
> all the paths absolutely? Or is there eny switch in CMake that results
> in relative paths?
>
>
> Matthias
>
>
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list