[Insight-developers] Installation under Linux
Holmes, David R., Ph.D.
Holmes.David3@mayo.edu
Thu, 3 Apr 2003 09:20:43 -0600
Hi Dr Blezek-
We have also had the desire to get all of the include files into one directory. Right now, our make file is kind of a bear with all of the -I flags. I started writing a script to do that for our project. Actually, we wanted to get a single include directory which could be used by all of the platforms because right now we have 6 copies of the same files around. As far as we were able to tell there are only 3-6 platform specific files. One is the itkConfigure.h and the others are in the vnl code.
I also like your second suggestion. So far, we have dug around into the makefiles generated by cmake for itk in order to find the flags. Not real efficient, but it works.
Hope all is well with you and your family.
thanks
david
====================================================================
David R Holmes III holmes.david3@mayo.edu
Mayo Foundation voice: (507)538-5503
Rochester, MN fax: (507)284-9171
====================================================================
> -----Original Message-----
> From: Blezek, Daniel J (Research) [mailto:blezek@crd.ge.com]
> Sent: Thursday, April 03, 2003 8:55 AM
> To: insight-developers@public.kitware.com; 'insight@public.kitware.com'
> Subject: [Insight-developers] Installation under Linux
>
> Hi all,
>
> When I install Insight under Unix, I get this
> /usr/local/InsightToolkit/{Common,Numerics,Utilities,...} requiring
> multiple -I flags on the command line (when not using CMake). I have two
> suggestions for folks like me who don't always use CMake:
>
> 1) Could all the .h and .txx files be put into
> /usr/local/InsightToolkit?
> Then I only need one -I flag in my makefile. This is consistent with
> many
> other packages, and eases the burden for non-CMake users.
>
> 2) Could CMake write out any Insight specific flags in a "Readme.txt"
> type
> file? I could then use those flags in my makefile, and still be
> compatible.
> This file could be placed in the install include directory.
>
> In part, this request to make Insight more "compatible" with the way I
> commonly do things under Unix, which I suspect is fairly common among
> Unix
> developers.
>
> Thanks,
> -dan
>
> --
> Daniel Blezek, Ph.D.
> blezek@crd.ge.com
> Visualization and Computer Vision Lab, Imaging Technologies
> GE Corporate Research & Development
>
>
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers