[Insight-developers] CMake not building on Cygwin

Lydia Ng lng@insightful.com
Wed, 12 Sep 2001 17:19:00 -0700


Hi,

I am having problems building CMake on Cygwin -
see error message below.

Thanks,
Lydia

/cygdrive/e/users/lng/Insight/CMake/Source/cmDSPWriter.cxx: In method `void
cmDS
PWriter::OutputDSPFile()':
/cygdrive/e/users/lng/Insight/CMake/Source/cmDSPWriter.cxx:76:
initialization of
 non-const reference type `class string &'
/cygdrive/e/users/lng/Insight/CMake/Source/cmDSPWriter.cxx:76: from rvalue
of ty
pe
`basic_string<char,string_char_traits<char>,__default_alloc_template<false,0
>
 >'
/cygdrive/e/users/lng/Insight/CMake/Source/cmSystemTools.h:117: in passing
argum
ent 1 of `cmSystemTools::ConvertToWindowsSlashesAndCleanUp(string &)'
make[1]: *** [cmDSPWriter.o] Error 1
make[1]: Leaving directory
`/cygdrive/e/users/lng/Insight/CMake-Cygwin/Source'
make: *** [depend_Source] Error 2