You are not logged in.
Pages: 1
I'm trying to compile subtitleeditor and it can't find libglademm.h - I have already installed libglademm-dev.
So
tux@slitaz:/usr/include$ ls libglade*
libglademm libglademm.h
tux@slitaz:/usr/include$ ls libglade* -la
total 24
drwxr-xr-x 3 root root 4096 Aug 6 17:29 .
drwxr-xr-x 116 root root 12288 Aug 6 17:30 ..
drwxr-xr-x 3 root root 4096 Aug 6 17:29 libglademm
-rw-r--r-- 1 root root 1145 Feb 26 2012 libglademm.h
tux@slitaz:/usr/include$ cd libglademm
/bin/sh: cd: can't cd to libglademm
What the hell?? ls says the directory exists, but in reality it doesn't exist. Is there something wrong my filesystem?
TIA!
Offline
http://pkgs.slitaz.org/search.sh?file=libglademm.h
/usr/include/libglademm-2.4/libglademm.h
Offline
Thanks mojo. Yes, I installed libglademm-2.4
The thing is, that package puts the files in
/usr/include/libglademm-2.4/libglademm.h
/usr/include/libglademm-2.4/libglademm/***
but subtitleeditor's source says
#include <libglademm.h>
so as far as I can tell, subtitleeditor expects the library includes to be at
/usr/include/libglademm.h
/usr/include/libglademm/***
I first put a couple of symlinks
/usr/include/libglademm.h -- > /usr/include/libglademm-2.4/libglademm.h
but that didnt work so I directly moved the stuff from
/usr/include/libglademm-2.4/***
to
/usr/include/***
And that worked. Sort of. Now, Im getting lots of these two errors
subtitleeditor-application.o: In function `Statusbar* Gnome::Glade::Xml::get_widget_derived<Statusbar>(Glib::ustring const&, Statusbar*&)':
/usr/include/libglademm/xml.h:279: undefined reference to `Gnome::Glade::Xml::get_cwidget(Glib::ustring const&)'
subtitleeditor-application.o: In function `Gtk::VBox* Gnome::Glade::Xml::get_widget<Gtk::VBox>(Glib::ustring const&, Gtk::VBox*&)':
/usr/include/libglademm/xml.h:246: undefined reference to `Gnome::Glade::Xml::get_widget_checked(Glib::ustring const&, unsigned long)'
Offline
(Im going to try some "hello world" tutorial for glade to learn how it's supposed to be compiled)
Offline
Well, I was missing libglade-dev although the configure script (subtitleeditor's configure) didn't complain...Going to try compilation again.
Offline
Pages: 1
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]