adonthell-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Adonthell-general] not able to run cmake


From: Kai Sterker
Subject: Re: [Adonthell-general] not able to run cmake
Date: Mon, 18 Mar 2013 07:56:39 +0100

On Sun, Mar 17, 2013 at 10:45 PM, shirish शिरीष <address@hidden> wrote:
> Hi all,
> Tried again today and didn't get far :-

> /home/shirish/games/adonthell/adonthell/src/base/logging.cc: In member
> function ‘void base::stderr_to_log::write(const char*)’:
> /home/shirish/games/adonthell/adonthell/src/base/logging.cc:36:29:
> error: ‘strchr’ was not declared in this scope
> make[2]: *** [src/base/CMakeFiles/adonthell_base.dir/logging.cc.o] Error 1
> make[1]: *** [src/base/CMakeFiles/adonthell_base.dir/all] Error 2
> make: *** [all] Error 2
>
> Looking forward to know if I did something wrong.

No problem on your side. Add

#include <cstring>

at the top of base/logging.cc and you should be good. Will make the
change tonight myself.

Kai



reply via email to

[Prev in Thread] Current Thread [Next in Thread]