UIKit0 / gmlive

Automatically exported from code.google.com/p/gmlive
GNU General Public License v2.0
0 stars 0 forks source link

make 通不过?缺少头文件 #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./configure
2. make

What is the expected output? What do you see instead?
1. success.
2. MainWindow.cpp:657: error: no matching function for call to
‘Gtk::Builder::create_from_file(const char [37], const char [12])’

What version of the product are you using? On what operating system?
0.22 beta

Please provide any additional information below.
貌似没包含 libglademm.h
然后手动添加说找不到 这个头文件,
我装了 libglademm-2.4-dev的,
而且头文件确实存在于 /usr/include/libglademm-2.4/
configue加 CPPFLAG=-I/usr/include/libglademm-2.4  也没有用?

Original issue reported on code.google.com by junren.d...@gmail.com on 26 Aug 2009 at 4:47

GoogleCodeExporter commented 9 years ago
configue改加了 

CPPFLAGS="-I/usr/include/libglademm-2.4 -I/usr/lib/libglademm-2.4/include
-I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include 
-I/usr/include/libglade-2.0
-I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4
-I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6
-I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include
-I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo
-I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12
-I/usr/include/pixman-1 -I/usr/include/atk-1.0 -I/usr/include/libxml2"
LIBS="-lglademm-2.4 -lgtkmm-2.4 -lglade-2.0 -lgdkmm-2.4 -latkmm-1.6 
-lpangomm-1.4
-lcairomm-1.0 -lglibmm-2.4 -lsigc-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 
-latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 
-lgmodule-2.0
-ldl -lglib-2.0"

就是 pkg-config libglademm-2.4 的 --clfags 和 --libs 的输出
头文件是可以找到,但是步骤2的问题。。。

Original comment by junren.d...@gmail.com on 26 Aug 2009 at 4:49

GoogleCodeExporter commented 9 years ago
新版本对gtk+的版本要求提高了。请确认2.14以上

Original comment by lero...@gmail.com on 31 Aug 2009 at 7:20

GoogleCodeExporter commented 9 years ago
哦,原来是gtk的问题,不是glade的么。
我的Debian lenny gtk是2.12的,有机会再试吧。

Original comment by junren.d...@gmail.com on 31 Aug 2009 at 9:44

GoogleCodeExporter commented 9 years ago
低版本的安装gloose版本试试。

Original comment by lero...@gmail.com on 27 Sep 2009 at 5:11