• Michał Janiszewski's avatar
    Breakpad integration · e28de49a
    Michał Janiszewski authored
    Provide your own breakpad and point cmake at it.
    
    git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
    mkdir breakpad && cd breakpad
    ../depot_tools/fetch breakpad # edit the script to use python2
    cd src
    LDFLAGS="-m32" CXXFLAGS="-m32" CFLAGS="-m32" CPPFLAGS="-m32" ./configure
    LDFLAGS="-m32" CXXFLAGS="-m32" CFLAGS="-m32" CPPFLAGS="-m32" make -j 8
    
    Run cmake on openrct2:
    cd openrct2
    vim CMakeLists.txt # provide your path to breakpad
    mkdir build && cd build
    cmake ../ -DWITH_BREAKPAD=ON
    make -j 8
    ./openrct2 # open a game, select "about openrct2", crash
    e28de49a