[Cmake] possible bug with dependencies and nmake generator

Marco Nolden m . nolden at dkfz-heidelberg . de
Wed, 12 Nov 2003 19:22:27 +0100 (CET)


Hi Amitha,

I forgot the most important thing in my first post, sorry. I have a
subdirectory named 'utility' as well in my working directory.

Marco

On Wed, 12 Nov 2003, Amitha Perera wrote:

> On Wed 12 Nov 2003, Marco Nolden wrote:
> > test.cpp:
> > #include <utility>
> > static void foo() { }
> [...]
> > CMake Error: Cannot open G:/home/nolden/tmp/cmake-example/src/utility
> > NMAKE : fatal error U1077: 'C:\PROGRA~1\CMake\bin\cmake.exe' : return
> > code '0xffffffff'
> > Stop.
>
> Can the header file "utility" be found in the include directories that
> CMake knows about? AFAIK, during the header dependency generation,
> CMake will search the include directories for the header file, and
> default to the current directory if it can't be found in any of the
> "system" ones.
>
> > The problem vanishes under certain circumstances which are unclear, but
> > it's the second time now the dashboard for our project fails for the
> > windows-nmake builds and we can't make it go away.
>
> Perhaps the presence or absence of the file in the search path?
>
> Amitha.
>