[Insight-users] Fixed ... build question: Souce/Binary & Eclipse
Luis Ibanez
luis.ibanez at kitware.com
Wed Jun 25 03:54:20 EDT 2008
Hi Maureen,
Having the source and binary directory to be siblings
is not a requirement.
It is interesting to see that having the binary directory
as a child of the source directory produces any problems.
I don't see a reason why the binary directory couldn't be
a child of the source directory... I have done this very
often with small projects, but I'll have to give it a try
using ITK to see if I can reproduce the problem that you
are reporting.
About Eclipse,
my understanding is that CMake supports Eclipse already.
(but haven't tried it myself).
Any takers ?
Thanks
Luis
-----------------------
Maureen Haining wrote:
> Hi Luis,
>
> The build failed when the itk src and bin directories were parent (src)
> and child (bin). When I made the directories siblings I was then able to
> build without any problems.
>
> Is it intended that the out of source build directory must be a sibling
> to the source?
>
> Also, I am now trying to set up a development environment for itk in
> Eclipse CDT. Do you know of any good documentation that describes the
> best way to do this? I have found bits and pieces on the internet but my
> biggest sticking point is the fact that Eclipse does not like the out of
> source build. How can I get the source code imported as well for
> debugging purposes?
>
> Thanks
> Maureen
>
>
> On 6/23/08, *Luis Ibanez* <luis.ibanez at kitware.com
> <mailto:luis.ibanez at kitware.com>> wrote:
>
> Hi Maureen,
>
> Thanks for the update.
>
> It is however strange, that changing from in-source to out-source
> should have an effect on getting the build to fail.
>
> If that's the case, this may indicate a bug in our configuration
> process.
>
> Could you please confirm that the build only fails in your system
> when building in-source ?
>
>
> Thanks
>
>
> Luis
>
>
>
> ---------------------
> Maureen Haining wrote:
>
> The out of source build must be in the same folder as the source
> ... this seems to have eliminated any configure problems and I
> have successfully generated make files!
> Thanks
> Maureen
>
> On 6/18/08, *Luis Ibanez* <luis.ibanez at kitware.com
> <mailto:luis.ibanez at kitware.com> <mailto:luis.ibanez at kitware.com
> <mailto:luis.ibanez at kitware.com>>> wrote:
>
>
> Hi Maureen,
>
> By "latest versions" of ITK and CMake,
>
> do you mean:
>
> a) ITK 3.6 and CMake 2.6
>
> OR
>
> b) ITK CVS and CMake CVS
>
>
> Please let us know,
>
>
> Thanks
>
>
> Luis
>
>
> -----------------------
> Maureen Haining wrote:
>
> I am attempting to build ITK on a mac 0SX 10 and received the
> following error when building using cmake. This is a
> first try
> after downloading the latest versions of cmake and itk.
> Can you
> give me any help?
> Thank you
>
>
> CMake Error at Common/CMakeLists.txt:166 (INSTALL):
> install TARGETS given no ARCHIVE DESTINATION for static
> library
> target
> "ITKCommon".
>
>
> CMake Error at Numerics/CMakeLists.txt:42 (INSTALL):
> install TARGETS given no ARCHIVE DESTINATION for static
> library
> target
> "ITKNumerics".
>
>
> CMake Error at Numerics/Statistics/CMakeLists.txt:43
> (INSTALL):
> install TARGETS given no ARCHIVE DESTINATION for static
> library
> target
> "ITKStatistics".
>
>
> CMake Error at Numerics/FEM/CMakeLists.txt:171 (INCLUDE):
> include could not find load file:
>
> /CMake/itkCheckCXXAcceptsFlags.cmake
>
>
> CMake Error at Numerics/FEM/CMakeLists.txt:172
> (itkCHECK_CXX_ACCEPTS_FLAGS):
> Unknown CMake command "itkCHECK_CXX_ACCEPTS_FLAGS".
>
>
> Configuring done
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org <mailto:Insight-users at itk.org>
> <mailto:Insight-users at itk.org <mailto:Insight-users at itk.org>>
> http://www.itk.org/mailman/listinfo/insight-users
>
>
>
More information about the Insight-users
mailing list