Giter Site home page Giter Site logo

Comments (1)

scarf005 avatar scarf005 commented on August 20, 2024

Hypothesis: outdated SDL2 version

$ ldd ./build/src/cataclysm-tiles
        linux-vdso.so.1 (0x00007fffe4d9c000)
        libSDL2-2.0.so.0 => /lib/x86_64-linux-gnu/libSDL2-2.0.so.0 (0x00007f057da2e000)
        libSDL2_image-2.0.so.0 => /lib/x86_64-linux-gnu/libSDL2_image-2.0.so.0 (0x00007f0580444000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f0580428000)
        libSDL2_ttf-2.0.so.0 => /lib/x86_64-linux-gnu/libSDL2_ttf-2.0.so.0 (0x00007f0580415000)
        libSDL2_mixer-2.0.so.0 => /lib/x86_64-linux-gnu/libSDL2_mixer-2.0.so.0 (0x00007f05803f0000)

$ lsd -al /lib/x86_64-linux-gnu/libSDL2-2.0.so.0
lrwxrwxrwx root root 23 B 2024-01-28 일 05:34:05  /lib/x86_64-linux-gnu/libSDL2-2.0.so.0 ⇒ libSDL2-2.0.so.0.2800.5
$ lsd -al /lib/x86_64-linux-gnu/libSDL2-2.0.so.0.2800.5 
.rw-r--r-- root root 1.8 MB 2024-01-28 일 05:34:05  /lib/x86_64-linux-gnu/libSDL2-2.0.so.0.2800.5
$ sdl2-config --version
2.30.5

$ set -gx /usr/local/lib:/usr/include/SDL2:$LD_LIBRARY_PATH
$ cmake -DCMAKE_INSTALL_RPATH_USE_LINK_PATH # ...
$ ldd cataclysm-tiles
        linux-vdso.so.1 (0x00007ffd60d63000)
        libSDL2-2.0.so.0 => /usr/local/lib/libSDL2-2.0.so.0 (0x00007ee065c00000)
        libSDL2_image-2.0.so.0 => /lib/x86_64-linux-gnu/libSDL2_image-2.0.so.0 (0x00007ee06887c000)
$ SDL_IM_MODULE=ibus GTK_IM_MODULE=ibus QT_IM_MODULE=ibus ./build/src/cataclysm-tiles

result: no difference, failure. seems like to be the problem of SDL2 not cata.

from cataclysm-bn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.