[sldev] strange behaviour of cmake on Windows

Ambrosia chaosstar at gmail.com
Wed Oct 22 00:38:11 PDT 2008


You'll notice that one path says 'dev' while the other says 'Dev'.
Call it a hunch, but I think cmake, even under windows, is probably
case sensitive.

On Wed, Oct 22, 2008 at 04:47, Alissa Sabre <alissa_sabre at yahoo.co.jp> wrote:
> 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/
> _______________________________________________
> Policies and (un)subscribe information available here:
> http://wiki.secondlife.com/wiki/SLDev
> Please read the policies before posting to keep unmoderated posting privileges
>


More information about the SLDev mailing list