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: shirish शिरीष
Subject: Re: [Adonthell-general] not able to run cmake
Date: Mon, 18 Mar 2013 03:19:07 +0530

at bottom :-

On Mon, Mar 18, 2013 at 3:15 AM, shirish शिरीष <address@hidden> wrote:
> Hi all,
> Tried again today and didn't get far :-
>
> ~/games/adonthell/adonthell-build$ cmake
> -DCMAKE_INSTALL_PREFIX=/home/shirish/games/adonthell/ ../adonthell
> -- The C compiler identification is GNU 4.8.0
> -- The CXX compiler identification is GNU 4.7.2
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Adonthell data directory: 
> /home/shirish/games/adonthell/share/games/adonthell
> -- Check if the system is big endian
> -- Searching 16 bit integer
> -- Looking for sys/types.h
> -- Looking for sys/types.h - found
> -- Looking for stdint.h
> -- Looking for stdint.h - found
> -- Looking for stddef.h
> -- Looking for stddef.h - found
> -- Check size of unsigned short
> -- Check size of unsigned short - done
> -- Using unsigned short
> -- Check if the system is big endian - little endian
> -- SDL 1.2 has been found:
> --      CFLAGS : /usr/include/SDL
> --      LDFLAGS: -lSDL
> -- Found SDL_mixer: /usr/lib/x86_64-linux-gnu/libSDL_mixer.so (found
> version "1.2.12")
> -- SDL Mixer has been found:
> --      CFLAGS : /usr/include/SDL
> --      LDFLAGS: /usr/lib/x86_64-linux-gnu/libSDL_mixer.so
> -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found
> version "2.7.3")
> -- Python has been found:
> --      CFLAGS : /usr/include/python2.7
> --      LDFLAGS: /usr/lib/x86_64-linux-gnu/libpython2.7.so
> -- Found PythonInterp: /usr/bin/python (found version "2.7.3")
> --      VERSION: python2.7
> --      LDEXTRA: -lm;-lpthread -ldl  -lutil
> --      SITEPKG: /usr/lib/python2.7/dist-packages
> -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.7")
> -- PNG has been found:
> --      CFLAGS : /usr/include/libpng12
> --      LDFLAGS: -lpng12
> -- Found SWIG: /usr/bin/swig2.0 (found version "2.0.7")
> -- SWIG is present on the system.
> -- LibXml2 has been found:
> --      CFLAGS : /usr/include/libxml2
> --      LDFLAGS: -lxml2
> -- LibFreetype2 has been found:
> --      CFLAGS : -I/usr/include/freetype2
> --      LDFLAGS: -lfreetype
> -- libglog not found.  Logging disabled
> -- Looking for include file dlfcn.h
> -- Looking for include file dlfcn.h - found
> -- Looking for include file inttypes.h
> -- Looking for include file inttypes.h - found
> -- Looking for include file memory.h
> -- Looking for include file memory.h - found
> -- Looking for include file malloc.h
> -- Looking for include file malloc.h - found
> -- Looking for include file stdlib.h
> -- Looking for include file stdlib.h - found
> -- Looking for include file strings.h
> -- Looking for include file strings.h - found
> -- Looking for include file sys/stat.h
> -- Looking for include file sys/stat.h - found
> -- Looking for include file unistd.h
> -- Looking for include file unistd.h - found
> -- Looking for 3 include files stdlib.h, ..., string.h
> -- Looking for 3 include files stdlib.h, ..., string.h - found
> -- Looking for nanosleep
> -- Looking for nanosleep - found
> -- Looking for lt_dlerror in ltdl
> -- Looking for lt_dlerror in ltdl - found
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /home/shirish/games/adonthell/adonthell-build
>
>
> So as far as the above can be seen it worked out :-
>
> I did a make clean then :-
>
> ~/games/adonthell/adonthell-build$ make clean
> ~/games/adonthell/adonthell-build$
>
> As can be seen there was nothing on the output so it's all good.
>
> Now tried make :-
>
> ~/games/adonthell/adonthell-build$ make
> Scanning dependencies of target headersymlink
> [  0%] Built target headersymlink
> Scanning dependencies of target adonthell_base
> [  1%] Building CXX object src/base/CMakeFiles/adonthell_base.dir/base.cc.o
> [  1%] Building CXX object 
> src/base/CMakeFiles/adonthell_base.dir/callback.cc.o
> [  2%] Building CXX object
> src/base/CMakeFiles/adonthell_base.dir/configuration.cc.o
> [  3%] Building CXX object 
> src/base/CMakeFiles/adonthell_base.dir/configio.cc.o
> [  3%] Building CXX object src/base/CMakeFiles/adonthell_base.dir/diskio.cc.o
> [  4%] Building CXX object
> src/base/CMakeFiles/adonthell_base.dir/diskwriter_gz.cc.o
> [  5%] Building CXX object
> src/base/CMakeFiles/adonthell_base.dir/diskwriter_xml.cc.o
> [  5%] Building CXX object src/base/CMakeFiles/adonthell_base.dir/file.cc.o
> [  6%] Building CXX object src/base/CMakeFiles/adonthell_base.dir/flat.cc.o
> [  7%] Building CXX object src/base/CMakeFiles/adonthell_base.dir/logging.cc.o
> /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.

This is with the latest git master :-

~/games/adonthell/adonthell$ git log
commit a8b6d9660ab61eccff3ea79f26879311a9a4e522
Author: Kai Sterker <address@hidden>
Date:   Sun Mar 17 22:09:07 2013 +0100

    REMOVED gfxtest test program. Does much less than worldtest and depends
    on graphics that are not easily available.
-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17



reply via email to

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