Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Settings aren't saved

Running Doomsday 2.0.0.1898+trusty (On Linux Mint 17.3, based on Ubuntu 14.04), obtained from ppa:sjke/doomsday.

No setting I change seems to be saved.

Output (although that doesn't seem to say anything).

To start, is it not possible to have a build of the newest version for Trusty?

Comments

  • I recall there was a bug that caused settings to not be saved, but I think it has since been fixed.

    Doomsday 2 will build on Trusty, but not out of the box. it requires a couple of backported packages (Qt, GCC).

    Currently no prebuilt Doomsday binaries are available for Trusty.

    I believe your best option is to build Doomsday manually from source. Here are the required setup and commands that the Travis CI system uses for test builds:
    # Configuration for Travis CI
    language: cpp
    os: linux
    sudo: required
    dist: trusty
    cache: ccache
    
    before_install:
        - sudo add-apt-repository ppa:zoogie/sdl2-snapshots -y
        - sudo add-apt-repository ppa:beineri/opt-qt551-trusty -y
        - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
        - sudo apt-get -qq update
        - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.9; fi
        - if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
        - sudo apt-get -y install cmake libsdl2-dev libsdl2-mixer-dev libxrandr-dev libxxf86vm-dev libfluidsynth-dev ncurses-dev 
        - sudo apt-get -y install qt55base qt55imageformats qt55x11extras
    
    before_script:
        - mkdir build-travis
    
    script:
        - source /opt/qt55/bin/qt55-env.sh
        - cd build-travis && cmake -DQMAKE=/opt/qt55/bin/qmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DDENG_ENABLE_TESTS=ON ../doomsday && make -j4
    

    A few things to note:
    • Qt 5.5 or later is required. I think the Qt that comes with Trusty is older than that.
    • Likewise, GCC 4.9 has good enough support for C++11 to compile Doomsday.
    • You'll want to use the option "-DCMAKE_BUILD_TYPE=Release" when building for normal use. The DENG_ENABLE_TESTS is not needed.

    Good luck, and let me know if you need help with the build.
Sign In or Register to comment.