Nie mogę zainstalować Smartcam

Grafika, film, dźwięk.
Wunder Wungiel
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 223
Rejestracja: 26 sty 2021, 07:57
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: KDE Plasma
Architektura: x86_64

Nie mogę zainstalować Smartcam

Post autor: Wunder Wungiel »

Witam!
Nie mogę zainstalować programu Smartcam. Rozpakowuję *.tar.gz, w folderze w terminalu piszę

Kod: Zaznacz cały

./configure
. Zwraca:

Kod: Zaznacz cały

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for intltool >= 0.40.0... 0.51.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.30.0
checking for XML::Parser... ok
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for GTHREAD... yes
checking for GTK... yes
checking for DBUS... yes
checking for GCONF... yes
checking for hci_open_dev in -lbluetooth... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating data/Makefile
config.status: creating data/smartcam.desktop.in
config.status: creating data/icons/Makefile
config.status: creating data/icons/16x16/Makefile
config.status: creating data/icons/22x22/Makefile
config.status: creating data/icons/24x24/Makefile
config.status: creating data/icons/32x32/Makefile
config.status: creating data/icons/48x48/Makefile
config.status: creating data/phone_installs/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing po/stamp-it commands
No to jadę z

Kod: Zaznacz cały

make
. I pierwszy error. Zwraca:

Kod: Zaznacz cały

make  all-recursive
make[1]: Wejście do katalogu '/home/krystian/Pobrane/smartcam-1.4.0'
Making all in src
make[2]: Wejście do katalogu '/home/krystian/Pobrane/smartcam-1.4.0/src'
make  all-am
make[3]: Wejście do katalogu '/home/krystian/Pobrane/smartcam-1.4.0/src'
g++ -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_DATADIR=\"/usr/local/share/smartcam\" -DDATADIR=\"/usr/local/share\"  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -MT smartcam-SmartEngine.o -MD -MP -MF .deps/smartcam-SmartEngine.Tpo -c -o smartcam-SmartEngine.o `test -f 'SmartEngine.cpp' || echo './'`SmartEngine.cpp
In file included from SmartEngine.cpp:36:
JpegHandler.h:26:10: fatal error: jpeglib.h: Nie ma takiego pliku ani katalogu
   26 | #include "jpeglib.h"
      |          ^~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:307: smartcam-SmartEngine.o] Błąd 1
make[3]: Opuszczenie katalogu '/home/krystian/Pobrane/smartcam-1.4.0/src'
make[2]: *** [Makefile:205: all] Błąd 2
make[2]: Opuszczenie katalogu '/home/krystian/Pobrane/smartcam-1.4.0/src'
make[1]: *** [Makefile:245: all-recursive] Błąd 1
make[1]: Opuszczenie katalogu '/home/krystian/Pobrane/smartcam-1.4.0'
make: *** [Makefile:184: all] Błąd 2
No to jadę z

Kod: Zaznacz cały

sudo make install
. I porażka:

Kod: Zaznacz cały

Making install in src
make[1]: Wejście do katalogu '/home/krystian/Pobrane/smartcam-1.4.0/src'
make  install-am
make[2]: Wejście do katalogu '/home/krystian/Pobrane/smartcam-1.4.0/src'
g++ -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_DATADIR=\"/usr/local/share/smartcam\" -DDATADIR=\"/usr/local/share\"  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -MT smartcam-SmartEngine.o -MD -MP -MF .deps/smartcam-SmartEngine.Tpo -c -o smartcam-SmartEngine.o `test -f 'SmartEngine.cpp' || echo './'`SmartEngine.cpp
In file included from SmartEngine.cpp:36:
JpegHandler.h:26:10: fatal error: jpeglib.h: Nie ma takiego pliku ani katalogu
   26 | #include "jpeglib.h"
      |          ^~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:307: smartcam-SmartEngine.o] Błąd 1
make[2]: Opuszczenie katalogu '/home/krystian/Pobrane/smartcam-1.4.0/src'
make[1]: *** [Makefile:458: install] Błąd 2
make[1]: Opuszczenie katalogu '/home/krystian/Pobrane/smartcam-1.4.0/src'
make: *** [Makefile:245: install-recursive] Błąd 1
I co mam z tym zrobić? Jak zainstalować to "coś? :pt36: :@##

Pozdrawiam :)
Moje OS-y = Arch Linux || Windows 10 Pro
Linux'y, które miałem: MX Linux, AntiX, ZorinOS, wszystkie *ubuntu :), Linux Lite, Linux Mint, KDE Neon, Debian, Fedora, Manjaro, LinuxFX, LMDE, OpenSUSE, Arch
Awatar użytkownika
320
Wytworny Kaczor
Wytworny Kaczor
Posty: 292
Rejestracja: 20 lis 2020, 00:03
Wersja Ubuntu: inny OS
Środowisko graficzne: Xfce
Architektura: x86_64

Re: Nie mogę zainstalować Smartcam

Post autor: 320 »

https://sourceforge.net/projects/smartcam/files/
O ten program chodzi?
Jest paczka .DEB można spróbować zainstalować przez gDebi.
Albo poczekaj co na Askubuntu napiszą.
Wunder Wungiel
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 223
Rejestracja: 26 sty 2021, 07:57
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: KDE Plasma
Architektura: x86_64

Re: Nie mogę zainstalować Smartcam

Post autor: Wunder Wungiel »

Jest paczka .DEB można spróbować zainstalować przez gDebi.
O to chodzi?

Kod: Zaznacz cały

smartcam_1.4.0_i386.deb
Po pierwsze, mam amd64 :( a gdy otwieram przez GDebi wywala błąd:

Kod: Zaznacz cały

Błąd: Zależność nie może być spełniona: libgconf2-4 (>= 2.13.5)
Przez

Kod: Zaznacz cały

sudo dpkg -i smartcam_1.4.0_i386.deb
wywala:

Kod: Zaznacz cały

Wybieranie wcześniej niewybranego pakietu smartcam:i386.
(Odczytywanie bazy danych ... 239251 plików i katalogów obecnie zainstalowanych.)
Przygotowywanie do rozpakowania pakietu smartcam_1.4.0_i386.deb ...
Rozpakowywanie pakietu smartcam:i386 (1.4.0) ...
dpkg: problemy z zależnościami uniemożliwiają skonfigurowanie pakietu smartcam:i386:
 smartcam:i386 zależy od libatk1.0-0 (>= 1.20.0).
 smartcam:i386 zależy od libbluetooth3 (>= 4.9).
 smartcam:i386 zależy od libc6 (>= 2.4).
 smartcam:i386 zależy od libcairo2 (>= 1.2.4).
 smartcam:i386 zależy od libdbus-1-3 (>= 1.0.2).
 smartcam:i386 zależy od libdbus-glib-1-2 (>= 0.78).
 smartcam:i386 zależy od libfontconfig1 (>= 2.4.0).
 smartcam:i386 zależy od libfreetype6 (>= 2.2.1).
 smartcam:i386 zależy od libgcc1 (>= 1:4.1.1).
 smartcam:i386 zależy od libgconf2-4 (>= 2.13.5).
 smartcam:i386 zależy od libglib2.0-0 (>= 2.16.0).
 smartcam:i386 zależy od libgtk2.0-0 (>= 2.16.0).
 smartcam:i386 zależy od libjpeg62.
 smartcam:i386 zależy od libpango1.0-0 (>= 1.14.0).
 smartcam:i386 zależy od libstdc++6 (>= 4.1.1).

dpkg: błąd przetwarzania pakietu smartcam:i386 (--install):
 problemy z zależnościami - pozostawianie nieskonfigurowanego
Przetwarzanie wyzwalaczy pakietu hicolor-icon-theme (0.17-2)...
Przetwarzanie wyzwalaczy pakietu gnome-menus (3.36.0-1ubuntu1)...
Przetwarzanie wyzwalaczy pakietu desktop-file-utils (0.24-1ubuntu3)...
Przetwarzanie wyzwalaczy pakietu mime-support (3.64ubuntu1)...
Wystąpiły błędy podczas przetwarzania:
 smartcam:i386
Rady jakieś?
Moje OS-y = Arch Linux || Windows 10 Pro
Linux'y, które miałem: MX Linux, AntiX, ZorinOS, wszystkie *ubuntu :), Linux Lite, Linux Mint, KDE Neon, Debian, Fedora, Manjaro, LinuxFX, LMDE, OpenSUSE, Arch
kjur
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 120
Rejestracja: 18 lut 2007, 03:51
Płeć: Mężczyzna
Wersja Ubuntu: 22.10
Środowisko graficzne: Xfce
Architektura: x86_64

Re: Nie mogę zainstalować Smartcam

Post autor: kjur »

Troche offtopic, ale na sourceforge ostatnia wersja pod linuxa (1.4.0) jest z 2009 roku. Nie ma jakiegos nowszego zamiennika robiacego to samo?
Wunder Wungiel
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 223
Rejestracja: 26 sty 2021, 07:57
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: KDE Plasma
Architektura: x86_64

Re: Nie mogę zainstalować Smartcam

Post autor: Wunder Wungiel »

Mam telefon Nokia 808 z Symbianem i na niego właśnie jest Smartcam
Moje OS-y = Arch Linux || Windows 10 Pro
Linux'y, które miałem: MX Linux, AntiX, ZorinOS, wszystkie *ubuntu :), Linux Lite, Linux Mint, KDE Neon, Debian, Fedora, Manjaro, LinuxFX, LMDE, OpenSUSE, Arch
Wunder Wungiel
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 223
Rejestracja: 26 sty 2021, 07:57
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: KDE Plasma
Architektura: x86_64

Re: Nie mogę zainstalować Smartcam

Post autor: Wunder Wungiel »

Innych nie ma, jedynie z klientem na Windows/MacOS
Moje OS-y = Arch Linux || Windows 10 Pro
Linux'y, które miałem: MX Linux, AntiX, ZorinOS, wszystkie *ubuntu :), Linux Lite, Linux Mint, KDE Neon, Debian, Fedora, Manjaro, LinuxFX, LMDE, OpenSUSE, Arch
Awatar użytkownika
kobrawerde
Gibki Gibbon
Gibki Gibbon
Posty: 2041
Rejestracja: 10 wrz 2006, 16:00
Płeć: Mężczyzna
Wersja Ubuntu: 22.04
Środowisko graficzne: Cinnamon
Architektura: x86_64
Kontakt:

Re: Nie mogę zainstalować Smartcam

Post autor: kobrawerde »

A DroidCam nie jest alternatywą ?
https://www.dev47apps.com/
Wunder Wungiel
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 223
Rejestracja: 26 sty 2021, 07:57
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: KDE Plasma
Architektura: x86_64

Re: Nie mogę zainstalować Smartcam

Post autor: Wunder Wungiel »

Mam Symbiana
Moje OS-y = Arch Linux || Windows 10 Pro
Linux'y, które miałem: MX Linux, AntiX, ZorinOS, wszystkie *ubuntu :), Linux Lite, Linux Mint, KDE Neon, Debian, Fedora, Manjaro, LinuxFX, LMDE, OpenSUSE, Arch
Wunder Wungiel
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 223
Rejestracja: 26 sty 2021, 07:57
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: KDE Plasma
Architektura: x86_64

Re: Nie mogę zainstalować Smartcam

Post autor: Wunder Wungiel »

Rady jakieś?
Moje OS-y = Arch Linux || Windows 10 Pro
Linux'y, które miałem: MX Linux, AntiX, ZorinOS, wszystkie *ubuntu :), Linux Lite, Linux Mint, KDE Neon, Debian, Fedora, Manjaro, LinuxFX, LMDE, OpenSUSE, Arch
Awatar użytkownika
320
Wytworny Kaczor
Wytworny Kaczor
Posty: 292
Rejestracja: 20 lis 2020, 00:03
Wersja Ubuntu: inny OS
Środowisko graficzne: Xfce
Architektura: x86_64

Re: Nie mogę zainstalować Smartcam

Post autor: 320 »

https://askubuntu.com/questions/1311030 ... m-on-linux

Kod: Zaznacz cały

sudo apt-get install libjpeg-dev
Instalacja tego nie pomogła?
Wunder Wungiel
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 223
Rejestracja: 26 sty 2021, 07:57
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: KDE Plasma
Architektura: x86_64

Re: Nie mogę zainstalować Smartcam

Post autor: Wunder Wungiel »

Nie :( Wpisuję

Kod: Zaznacz cały

make
i zwraca:

Kod: Zaznacz cały

make  all-recursive
make[1]: Wejście do katalogu '/home/krystian/Pobrane/smartcam-1.4.0'
Making all in src
make[2]: Wejście do katalogu '/home/krystian/Pobrane/smartcam-1.4.0/src'
dbus-binding-tool --prefix=smartcam_dbus --mode=glib-server smartcam-dbus.xml> smartcam-dbus.h
WARNING: Using --header and --body at the same time is deprecated; use --body --prototypes instead
INFO: Reading /tmp/dbus-binding-tool-c-marshallers.DQGYX0...
make  all-am
make[3]: Wejście do katalogu '/home/krystian/Pobrane/smartcam-1.4.0/src'
g++ -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_DATADIR=\"/usr/local/share/smartcam\" -DDATADIR=\"/usr/local/share\"  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -MT smartcam-smartcam.o -MD -MP -MF .deps/smartcam-smartcam.Tpo -c -o smartcam-smartcam.o `test -f 'smartcam.cpp' || echo './'`smartcam.cpp
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from SmartEngine.h:25,
                 from smartcam.cpp:20:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      |                                                                ^
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from SmartEngine.h:25,
                 from smartcam.cpp:20:
/usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here
  685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36;
      |   ^~~~~~~~~~~~~~~
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126,
                 from SmartEngine.h:25,
                 from smartcam.cpp:20:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |            ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from SmartEngine.h:25,
                 from smartcam.cpp:20:
/usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here
  545 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
      |                          ^~~~~~~~
smartcam.cpp: In function ‘int main(int, char**)’:
smartcam.cpp:31:23: warning: ‘void g_thread_init(gpointer)’ is deprecated [-Wdeprecated-declarations]
   31 |     g_thread_init(NULL);
      |                       ^
In file included from /usr/include/glib-2.0/glib.h:111,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from SmartEngine.h:25,
                 from smartcam.cpp:20:
/usr/include/glib-2.0/glib/deprecated/gthread.h:261:10: note: declared here
  261 | void     g_thread_init                   (gpointer vtable);
      |          ^~~~~~~~~~~~~
smartcam.cpp:31:23: warning: ‘void g_thread_init(gpointer)’ is deprecated [-Wdeprecated-declarations]
   31 |     g_thread_init(NULL);
      |                       ^
In file included from /usr/include/glib-2.0/glib.h:111,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from SmartEngine.h:25,
                 from smartcam.cpp:20:
/usr/include/glib-2.0/glib/deprecated/gthread.h:261:10: note: declared here
  261 | void     g_thread_init                   (gpointer vtable);
      |          ^~~~~~~~~~~~~
mv -f .deps/smartcam-smartcam.Tpo .deps/smartcam-smartcam.Po
g++ -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_DATADIR=\"/usr/local/share/smartcam\" -DDATADIR=\"/usr/local/share\"  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -MT smartcam-SmartEngine.o -MD -MP -MF .deps/smartcam-SmartEngine.Tpo -c -o smartcam-SmartEngine.o `test -f 'SmartEngine.cpp' || echo './'`SmartEngine.cpp
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from SmartEngine.h:25,
                 from SmartEngine.cpp:33:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      |                                                                ^
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/dbus-1.0/dbus/dbus-glib.h:27,
                 from /usr/include/dbus-1.0/dbus/dbus-glib-lowlevel.h:27,
                 from SmartEngine.cpp:30:
/usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here
  685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36;
      |   ^~~~~~~~~~~~~~~
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126,
                 from SmartEngine.h:25,
                 from SmartEngine.cpp:33:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |            ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/dbus-1.0/dbus/dbus-glib.h:27,
                 from /usr/include/dbus-1.0/dbus/dbus-glib-lowlevel.h:27,
                 from SmartEngine.cpp:30:
/usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here
  545 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
      |                          ^~~~~~~~
SmartEngine.cpp: In member function ‘int CSmartEngine::StartCommThread()’:
SmartEngine.cpp:286:68: warning: ‘GThread* g_thread_create(GThreadFunc, gpointer, gboolean, GError**)’ is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations]
  286 |     commThread = g_thread_create(CommThreadProc, NULL, TRUE, &error);
      |                                                                    ^
In file included from /usr/include/glib-2.0/glib.h:111,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/dbus-1.0/dbus/dbus-glib.h:27,
                 from /usr/include/dbus-1.0/dbus/dbus-glib-lowlevel.h:27,
                 from SmartEngine.cpp:30:
/usr/include/glib-2.0/glib/deprecated/gthread.h:100:10: note: declared here
  100 | GThread *g_thread_create       (GThreadFunc       func,
      |          ^~~~~~~~~~~~~~~
SmartEngine.cpp:286:68: warning: ‘GThread* g_thread_create(GThreadFunc, gpointer, gboolean, GError**)’ is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations]
  286 |     commThread = g_thread_create(CommThreadProc, NULL, TRUE, &error);
      |                                                                    ^
In file included from /usr/include/glib-2.0/glib.h:111,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/dbus-1.0/dbus/dbus-glib.h:27,
                 from /usr/include/dbus-1.0/dbus/dbus-glib-lowlevel.h:27,
                 from SmartEngine.cpp:30:
/usr/include/glib-2.0/glib/deprecated/gthread.h:100:10: note: declared here
  100 | GThread *g_thread_create       (GThreadFunc       func,
      |          ^~~~~~~~~~~~~~~
mv -f .deps/smartcam-SmartEngine.Tpo .deps/smartcam-SmartEngine.Po
g++ -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_DATADIR=\"/usr/local/share/smartcam\" -DDATADIR=\"/usr/local/share\"  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -MT smartcam-CommHandler.o -MD -MP -MF .deps/smartcam-CommHandler.Tpo -c -o smartcam-CommHandler.o `test -f 'CommHandler.cpp' || echo './'`CommHandler.cpp
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from SmartEngine.h:25,
                 from CommHandler.cpp:33:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      |                                                                ^
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from SmartEngine.h:25,
                 from CommHandler.cpp:33:
/usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here
  685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36;
      |   ^~~~~~~~~~~~~~~
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126,
                 from SmartEngine.h:25,
                 from CommHandler.cpp:33:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |            ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from SmartEngine.h:25,
                 from CommHandler.cpp:33:
/usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here
  545 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
      |                          ^~~~~~~~
In file included from CommHandler.cpp:29:
CommHandler.cpp: In member function ‘void CCommHandler::RegisterBtService(uint8_t)’:
CommHandler.cpp:153:30: error: taking address of rvalue [-fpermissive]
  153 |     sdpSession = sdp_connect(BDADDR_ANY, BDADDR_LOCAL, SDP_RETRY_IF_BUSY);
      |                              ^~~~~~~~~~
CommHandler.cpp:153:42: error: taking address of rvalue [-fpermissive]
  153 |     sdpSession = sdp_connect(BDADDR_ANY, BDADDR_LOCAL, SDP_RETRY_IF_BUSY);
      |                                          ^~~~~~~~~~~~
CommHandler.cpp: In member function ‘int CCommHandler::StartBtServer()’:
CommHandler.cpp:193:28: error: taking address of rvalue [-fpermissive]
  193 |     localAddr.rc_bdaddr = *BDADDR_ANY;
      |                            ^~~~~~~~~~
make[3]: *** [Makefile:321: smartcam-CommHandler.o] Błąd 1
make[3]: Opuszczenie katalogu '/home/krystian/Pobrane/smartcam-1.4.0/src'
make[2]: *** [Makefile:205: all] Błąd 2
make[2]: Opuszczenie katalogu '/home/krystian/Pobrane/smartcam-1.4.0/src'
make[1]: *** [Makefile:245: all-recursive] Błąd 1
make[1]: Opuszczenie katalogu '/home/krystian/Pobrane/smartcam-1.4.0'
make: *** [Makefile:184: all] Błąd 2
Moje OS-y = Arch Linux || Windows 10 Pro
Linux'y, które miałem: MX Linux, AntiX, ZorinOS, wszystkie *ubuntu :), Linux Lite, Linux Mint, KDE Neon, Debian, Fedora, Manjaro, LinuxFX, LMDE, OpenSUSE, Arch
ODPOWIEDZ

Wróć do „Muzyka, filmy, zdjęcia, grafika”

Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 45 gości