gtk/gtk.h가 설치되어 있어도 링크할 수 없습니다

gtk/gtk.h가 설치되어 있어도 링크할 수 없습니다

데비안 jessie에서 CEF(chromiumembedded)를 빌드하려고 합니다.

##########
Linking CXX static library libcef_dll_wrapper.a
[ 81%] Built target libcef_dll_wrapper
[ 81%] Building CXX object cefclient/CMakeFiles/cefclient.dir/binding_test.cpp.o
In file included from /home/netbrain/tools/cef_binary_3.2171.1979_linux64/cefclient/binding_test.h:9:0,
                 from /home/netbrain/tools/cef_binary_3.2171.1979_linux64/cefclient/binding_test.cpp:5:
/home/netbrain/tools/cef_binary_3.2171.1979_linux64/cefclient/client_handler.h:21:21: fatal error: gtk/gtk.h: No such file or directory
 #include <gtk/gtk.h>
                     ^
compilation terminated.
cefclient/CMakeFiles/cefclient.dir/build.make:54: recipe for target 'cefclient/CMakeFiles/cefclient.dir/binding_test.cpp.o' failed
make[2]: *** [cefclient/CMakeFiles/cefclient.dir/binding_test.cpp.o] Error 1
CMakeFiles/Makefile2:125: recipe for target 'cefclient/CMakeFiles/cefclient.dir/all' failed
make[1]: *** [cefclient/CMakeFiles/cefclient.dir/all] Error 2
Makefile:78: recipe for target 'all' failed
make: *** [all] Error 2
##########

##########
find / | egrep ".*gtk/gtk.h$"
/usr/include/gtk-2.0/gtk/gtk.h
##########

##########
pkg-config --cflags gtk+-2.0
-pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 
##########

나는 소스에서 빌드하는 것에 익숙하지 않지만, 내가 알 수 있는 바에 따르면 내 시스템에 무엇이 문제인지, 왜 CEF가 이 라이브러리를 허용하지 않는지 알 수 없습니다.

이 문제를 추가로 디버깅하는 방법에 대한 아이디어가 있습니까?

답변1

Ubuntu 16.04를 사용하고 있는데 동일한 오류가 발생합니다. 나는 다음으로 전환한다닌자시스템을 구축하면 작동합니다.

관련 정보