Portál AbcLinuxu, 20. května 2024 17:15
Qt
, přesněji hlavičkové soubory této knihovny. Je třeba nainstalovat qt-devel
, nebo něco podobně pojmenovaného.
DCIconLoader::
.
P.S.: nemusíte používat tolik otazníků
DCIconLoader::
to co je - mam smazat a to co je plus pridat?Tak. V podstatě rozdíl mezi těmi řádky je jen v DCIconLoader::, což je třeba smazat, jak píše výše Doli. Zbytečně/pozdě jsem reagoval a zkomplikoval to.
$ cd /home/user/wherever/ $ cvs -d:pserver:anonymous@cvs.linuxdcpp.berlios.de:/cvsroot/linuxdcpp login $ cvs -z3 -d:pserver:anonymous@cvs.linuxdcpp.berlios.de:/cvsroot/linuxdcpp co linuxdcppno apotom zadas scons a potom scons install no akorat si budes muset nainstalovat scons
Checking for g++ >= 3.4...(cached) yes Checking for pkg-config... yes Checking for gtk+-2.0 >= 2.6... yes Checking for gthread-2.0 >= 2.4... yes Checking for libglade-2.0 >= 2.4... no libglade >= 2.4 not found. noticka:/home/petr/ldc/linuxdcpp # scons install scons: Reading SConscript files ... Checking for g++ >= 3.4...(cached) yes Checking for pkg-config... yes Checking for gtk+-2.0 >= 2.6... yes Checking for gthread-2.0 >= 2.4... yes Checking for libglade-2.0 >= 2.4... no libglade >= 2.4 not found. noticka:/home/petr/ldc/linuxdcpp #
noticka:/home/petr/ldc/linuxdcpp # apt-get install libglade Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: db1 gnome-libs orbit The following NEW packages will be installed: db1 gnome-libs libglade orbit 0 upgraded, 4 newly installed, 0 removed and 3 not upgraded. Need to get 1274kB of archives. After unpacking 3874kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 ftp://ftp4.gwdg.de SuSE/10.1-i386/base db1 1.85-99 [34.7kB] Get:2 ftp://ftp4.gwdg.de SuSE/10.1-i386/gnome orbit 0.5.17-351 [323kB] Get:3 ftp://ftp4.gwdg.de SuSE/10.1-i386/gnome gnome-libs 1.4.1.7-710 [842kB] Get:4 ftp://ftp4.gwdg.de SuSE/10.1-i386/base libglade 0.17-252 [74.5kB] Fetched 1274kB in 17s (71.1kB/s) Committing changes... Preparing... ########################################### [100%] 1:db1 ########################################### [ 25%] 2:orbit ########################################### [ 50%] 3:gnome-libs ########################################### [ 75%] 4:libglade ########################################### [100%] Done. noticka:/home/petr/ldc/linuxdcpp # scons scons: Reading SConscript files ... Checking for g++ >= 3.4...(cached) yes Checking for pkg-config... yes Checking for gtk+-2.0 >= 2.6... yes Checking for gthread-2.0 >= 2.4... yes Checking for libglade-2.0 >= 2.4... no libglade >= 2.4 not found. noticka:/home/petr/ldc/linuxdcpp # scons install scons: Reading SConscript files ... Checking for g++ >= 3.4...(cached) yes Checking for pkg-config... yes Checking for gtk+-2.0 >= 2.6... yes Checking for gthread-2.0 >= 2.4... yes Checking for libglade-2.0 >= 2.4... no libglade >= 2.4 not found. noticka:/home/petr/ldc/linuxdcpp # apt-get install libglade-dev Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package libglade-dev noticka:/home/petr/ldc/linuxdcpp # apt-get install libglade Reading Package Lists... Done Building Dependency Tree... Done libglade is already the newest version. 0 upgraded, 0 newly installed, 0 removed and 3 not upgraded. noticka:/home/petr/ldc/linuxdcpp #
noticka:/home/petr/ldc/linuxdcpp # apt-get install libglade2 Reading Package Lists... Done Building Dependency Tree... Done libglade2 is already the newest version. 0 upgraded, 0 newly installed, 0 removed and 3 not upgraded. noticka:/home/petr/ldc/linuxdcpp # apt-get install libglade2-dev Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package libglade2-dev noticka:/home/petr/ldc/linuxdcpp #
noticka:/home/petr/ldc/linuxdcpp # apt-get install libglade2 Reading Package Lists... Done Building Dependency Tree... Done libglade2 is already the newest version. 0 upgraded, 0 newly installed, 0 removed and 3 not upgraded. noticka:/home/petr/ldc/linuxdcpp # apt-get install libglade2-dev Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package libglade2-dev noticka:/home/petr/ldc/linuxdcpp #
pkg-config --list-all | grep libglade
noticka:/home/petr/ldc/linuxdcpp # pkg-config --list-all | grep libglade noticka:/home/petr/ldc/linuxdcpp # pkg-config --list-all | grep libglade noticka:/home/petr/ldc/linuxdcpp #
ldcpp
Loading: Hash database Loading: Shared Files Loading: Download Queue (ldcpp:1126): libglade-WARNING **: could not find glade file '/bin/glade/mainwindow.glade' . . . Neoprávněný přístup do paměti (SIGSEGV) petr@noticka:~>
ln -s /usr/share/ldcpp/glade /bin/gladesamozrejme tu cestu uprav podle toho kde to najdes
Tiskni Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.