Git Product home page Git Product logo

Comments (4)

i-rinat avatar i-rinat commented on August 25, 2024

Hi.

I've checked now, and I have the same error on Debian testing. That's not due to alsa-lib update, but because of GLib. In 64-bit version GLib headers define guint64 as unsigned long, which is 64-bit unsigned. But in 32-bit mode unsigned long is 32-bit. Still compiling in 32-bit mode uses headers designed for 64-bit installations. Compilation-time assertion just makes error clear.

from apulse.

i-rinat avatar i-rinat commented on August 25, 2024

Try setting PKG_CONFIG_PATH=/usr/lib/pkgconfig before calling cmake. That will make pkg-config to look into /usr/lib/pkgconfig before /usr/lib64/pkgconfig and it will catch flags from glib-devel-32bit rather than from glib-devel.

from apulse.

IlyaIndigo avatar IlyaIndigo commented on August 25, 2024

d=apulse && cd /tmp && git clone git://github.com/i-rinat/$d.git && cd $d && F="-m32 -march=native -msse3 -O3 -fomit-frame-pointer -pipe -DNDEBUG" && PKG_CONFIG_PATH=/usr/lib/pkgconfig cmake -LA -DCMAKE_C_FLAGS_RELEASE="$F" -DCMAKE_CXX_FLAGS_RELEASE="$F" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr && make -j4 && sudo make install && cd .. && rm -rf $d

Thank you, its work. :-)

from apulse.

i-rinat avatar i-rinat commented on August 25, 2024

I can't see how it could be fixed in apulse, since it's caused by external library, GLib.

from apulse.

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.