[sldev] strange behaviour of cmake on Windows

Alissa Sabre alissa_sabre at yahoo.co.jp
Tue Oct 21 19:47:29 PDT 2008


I'm having a build problem on Windows.

I'm working on 1.21.6 using Visual C++ Express 2005 on Windows XP.

When I run develop.py with -GVC80 after modifying develop.py as
suggested in Victor's mail (
https://lists.secondlife.com/pipermail/sldev/2008-September/011628.html ),
I got a series of similar error messages from cmake.  The first one is:

CMake Error at CMakeLists.txt:34 (add_subdirectory):
  add_subdirectory not given a binary directory but the given source
  directory "C:/alissa/dev/1.21.6/linden/indra/llcharacter" is not a
  subdirectory of "c:/alissa/Dev/1.21.6/linden/indra".  When specifying an
  out-of-tree source a binary directory must be explicitly specified.

The strange thing is that, the first directory

  C:/alissa/dev/1.21.6/linden/indra/llcharacter

is surely a subdirectory of

  c:/alissa/Dev/1.21.6/linden/indra

where CMake says it isn't.  I'm afraid that the case differences
in the path components (i.e., "c:" vs "C:" and "/Dev/" vs "/dev/") and
cmake simply goes mad with it, but I don't even know why cmake
understood the same upper directory path differently.

How can I solve this?  Any clue is appreciated.

   Alissa Sabre



--------------------------------------
Enjoy MLB with MAJOR.JP! Ichiro, Matsuzaka, Matsui, and more!
http://pr.mail.yahoo.co.jp/mlb/


More information about the SLDev mailing list