[Insight-developers] [ITK + Wrapping (Python)] Wrappingclasses proposal - V.3

Gaetan Lehmann gaetan.lehmann at jouy.inra.fr
Tue Aug 2 09:34:48 EDT 2005


On Tue, 02 Aug 2005 15:26:22 +0200, Benoit Regrain  
<benoit.regrain at creatis.insa-lyon.fr> wrote:
>> Why is it a multi-pass process?   Seems like you could build up the  
>> file in a cmake
>> variable, then use CONFIGURE_FILE with one variable in it.  
>> @FILE_CONTENTS@
>> SET(FILE_CONTENTS ${FILE_CONTENTS} .....)

I'm trying to do that, but I can't use CONFIGURE_FILE. I get the following  
error :

  CMake Error: File  
/home/glehmann/itk/itk/Insight/Wrapping/CSwig/wrap_.cxx.in, does not exist.

  CMake Error: Error in cmake code at
  /home/glehmann/itk/itk/Insight/Wrapping/CSwig/WrapITK.cmake:32:
  CONFIGURE_FILE Problem configuring file

  CMake Error: Error in cmake code at
  /home/glehmann/itk/itk/Insight/Wrapping/CSwig/CommonA/wrap_itkArray.cmake:22:
  A command failed during the invocation of macro "WRITE_WRAP_END".

  CMake Error: Error in cmake code at
  /home/glehmann/itk/itk/Insight/Wrapping/CSwig/CommonA/wrap_itkArray.cmake:22:
  WRITE_WRAP_END unknown error.


for all files, but  
/home/glehmann/itk/itk/Insight/Wrapping/CSwig/wrap_.cxx.in exists...
Is it a bug ? Have I missed something ?



More information about the Insight-developers mailing list