Results 1 to 2 of 2

Thread: Compiling problem - can't find a header file in /usr/include/gtk-2.0/

  1. #1

    Default Compiling problem - can't find a header file in /usr/include/gtk-2.0/

    Compiling Amarok from git gives error "gdk-pixbuf/gdk-pixbuf.h: No such file or directory" it is installed in /usr/include/gtk-2.0/gdk.

    I just up'ed to openSuse 11.4 and KDE 4.6.1 - compiled fine last time I tried which was probably last weekend or so (March 2nd or third)

    Wondering if /usr/include/gtk-2.0/ is new in 11.4 because of the upcoming gtk3.0 and the problem is it's not some path and not being compiling proficient I'm a bit lost.

    thanks,

    full error
    Code:
    /home/smiley/MyTemp/amarok/src/core-impl/collections/ipodcollection/handler/IpodHandler.cpp:35:35: fatal error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory
    compilation terminated.
    make[2]: *** [src/core-impl/collections/ipodcollection/CMakeFiles/amarok_collection-ipodcollection.dir/handler/IpodHandler.o] Error 1
    make[1]: *** [src/core-impl/collections/ipodcollection/CMakeFiles/amarok_collection-ipodcollection.dir/all] Error 2
    make: *** [all] Error 2
    openSUSE Leap 42.1 x64, Plasma 5 & KDE 4.14.x, pretty current proprietary Nvidia drivers (self-compiled)

  2. #2

    Default Re: Compiling problem - can't find a header file in /usr/include/gtk-2.0/

    It was a location problem - after countless Googles found a Ubuntu thread with a solution

    chromium - How to resolve 'gdk-pixbuf/gdk-pixbuf.h: No such file or directory' - Ask Ubuntu - Stack Exchange ... -directory

    "... In 10.10 it seems that the gdk-pixbuf includes are stored in their own directory off of /usr/include, whereas in previous versions they had been lumped in with gtk-2.0. If you have installed libgtk2.0-dev and libgdk-pixbuf2.0-dev then you'll need to execute:
    sudo ln -s /usr/include/gdk-pixbuf-2.0/gdk-pixbuf /usr/include/gtk-2.0/gdk-pixbuf"
    openSUSE Leap 42.1 x64, Plasma 5 & KDE 4.14.x, pretty current proprietary Nvidia drivers (self-compiled)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •