Results 1 to 3 of 3

Thread: glib.h Make error --- ompiling ZLGtkTime.o ...ZLGtkTime.cpp:20:18: fatal error: glib.

  1. #1
    Join Date
    Jan 2015
    Beans
    7

    glib.h Make error --- ompiling ZLGtkTime.o ...ZLGtkTime.cpp:20:18: fatal error: glib.

    Compiling fbreader open source
    when i type make command it gives an error like fatal error: glib.h: No such file or directory
    i searched it on the internet then i came to the following solution.

    I added the output of pkg-config --cflags glib-2.0 to the root make file like this --> GCC = -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -lglib-2.0 but still the error occurs.
    please tell me where i am lacking. ?

  2. #2
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: glib.h Make error --- ompiling ZLGtkTime.o ...ZLGtkTime.cpp:20:18: fatal error: g

    This will install build-dependencies of fbreader, among them libgtk2.0-dev and libglib2.0-dev:
    Code:
    sudo apt-get build-dep fbreader

  3. #3
    Join Date
    Jan 2015
    Beans
    7

    Re: glib.h Make error --- ompiling ZLGtkTime.o ...ZLGtkTime.cpp:20:18: fatal error: g

    Thank you.. i solved it

Tags for this Thread

Bookmarks

Posting Permissions

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