Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Compiling #7568
    disciple
    Participant

    Thanks, tried a couple of things. Think what worked was this previous post:

    In Ubuntu 16.04 for KeeperRL Alpha 20.1 I had to deviate a little from the Github instructions. I had to install:

    libboost1.58-all-dev (instead of libboost1.56-all-dev)
    llvm-3.5 (instead of llvm-3.4, newer versions are available, but I haven’t tested)
    libcurl4-openssl-dev (was not listed)

    Then
    sudo update-alternatives –config cc
    sudo update-alternatives –config c++

    There are 2 choices for the alternative cc (providing /usr/bin/cc).

    Selection Path Priority Status
    ————————————————————
    0 /usr/bin/gcc 20 auto mode
    * 1 /usr/bin/clang 10 manual mode
    2 /usr/bin/gcc 20 manual mode

    Press <enter> to keep the current choice[*], or type selection number:

    Had to run gen_version.sh as version.h was missing.
    “Then it compiled correctly with make -j 8 OPT=true RELEASE=true CLANG=true”

    And run: keeper

    Hope that helps.

    in reply to: Compiling #7564
    disciple
    Participant

    Any help here? I installed all the dependencies, I’m on Mint 18.2.

    Using built-in specs.
    COLLECT_GCC=g++
    cat gen_version.sh >gen_version
    chmod a+x gen_version
    g++ -x c++-header stdafx.h -MMD -Wall -std=c++1y -Wno-sign-compare -Wno-unused-variable -Wno-shift-count-overflow -Wno-tautological-constant-out-of-range-compare -Wno-mismatched-tags -ftemplate-depth=512 -Werror -Wimplicit-fallthrough -g -I. -I./extern -o obj/stdafx.h.gch
    g++: error: unrecognized command line option ‘-Wimplicit-fallthrough’
    Makefile:116: recipe for target ‘obj/stdafx.h.gch’ failed
    make[1]: *** [obj/stdafx.h.gch] Error 1
    Makefile:110: recipe for target ‘all’ failed
    make: *** [all] Error 2

Viewing 2 posts - 1 through 2 (of 2 total)