where to find gtk+-x11-2.0 package? #2

Closed
dancrew32 opened this Issue Jul 17, 2012 · 2 comments

Comments

Projects
None yet
2 participants
gcc -shared -fPIC `pkg-config gtk+-x11-2.0 --cflags --libs` -o libvi.so vi.c
Package gtk+-x11-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-x11-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-x11-2.0' found
vi.c:5:21: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
make: *** [libvi] Error 1

ubuntu 11.10

any idea?

ah

sudo apt-get install libgtk2.0-dev

fixes

@dancrew32 dancrew32 closed this Jul 17, 2012

Owner

polachok commented Jul 17, 2012

  • Dan Masquelier reply@reply.github.com [120717 18:37]:

    gcc -shared -fPIC pkg-config gtk+-x11-2.0 --cflags --libs -o libvi.so vi.c
    Package gtk+-x11-2.0 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `gtk+-x11-2.0.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'gtk+-x11-2.0' found
    vi.c:5:21: fatal error: gtk/gtk.h: No such file or directory
    compilation terminated.
    make: *** [libvi] Error 1

    ubuntu 11.10

    any idea?

Install libgtk2.0-dev.

Alexander Polakov | plhk.ru

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment