[Insight-developers] ITK Modular: mingw build problem
Luis Ibanez
luis.ibanez at kitware.com
Fri Mar 11 16:12:29 EST 2011
Bill,
The real problem is that ITK should be used from an installed
directory instead of a build directory.
As more modules are added, that list of "-I" is just going to get
longer and longer (that is not scalable).
By installing ITK, (even if it is done in a user local directory),
all the .h and .txx will go to a flat directory, and then a single
-I will be needed (except for the third party libraries, of which
VXL is the largest provider of -I entries, something that we
probably would like to fix).
---
Of course, we need to first fix the installation process, before
we encourage users to always install ITK before using it.
Luis
------------------------------------------
On Fri, Mar 11, 2011 at 2:10 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> Before modularization a flags.make file contained 4266 characters,
> after 10029 characters.
>
>
>
> On Fri, Mar 11, 2011 at 1:17 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>> I am using the MinGW Makefiles generator, I get the error with both
>> make and mingw32-make
>>
>>
>> On Fri, Mar 11, 2011 at 12:57 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>>> I am trying to build the ITK Wiki Examples against ITK Modular.
>>>
>>> Everything configured fine.
>>>
>>> On mingw, when I do "make", I get:
>>>
>>> $ make
>>> Scanning dependencies of target ItkVtkGlue
>>> [ 0%] Building CXX object
>>> ItkVtkGlue/CMakeFiles/ItkVtkGlue.dir/QuickView.cxx.obj
>>> The input line is too long.
>>> make[2]: *** [ItkVtkGlue/CMakeFiles/ItkVtkGlue.dir/QuickView.cxx.obj] Error 255
>>> make[1]: *** [ItkVtkGlue/CMakeFiles/ItkVtkGlue.dir/all] Error 2
>>> make: *** [all] Error 2
>>>
>>> I suspect this is because the flags.make file has a very long line.
>>>
>>> Bill
>>>
>>
> _______________________________________________
> 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://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-developers
>
More information about the Insight-developers
mailing list