SmartCam kompilacja

Przenośne komputery i problemy z nimi związane
dwademony
Sędziwy Jeż
Sędziwy Jeż
Posty: 75
Rejestracja: 02 kwie 2008, 19:45
Płeć: Mężczyzna
Wersja Ubuntu: 14.04
Środowisko graficzne: GNOME
Architektura: x86_64
Kontakt:

SmartCam kompilacja

Post autor: dwademony »

Witam kompilował ktoś może ten program na 10.04? bo mi sypie błędami

Kod: Zaznacz cały

wojtek@wojtek-laptop:~/Pulpit/smartcam-1.4.0$ make -C /lib/modules/`uname -r`/build M=`pwd`
make: Wejście do katalogu `/usr/src/linux-headers-2.6.33-020633-generic'
scripts/Makefile.build:49: *** CFLAGS was changed in "/home/wojtek/Pulpit/smartcam-1.4.0/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make: *** [_module_/home/wojtek/Pulpit/smartcam-1.4.0] Błąd 2
make: Opuszczenie katalogu `/usr/src/linux-headers-2.6.33-020633-generic'
wojtek@wojtek-laptop:~/Pulpit/smartcam-1.4.0$ make
make  all-recursive
make[1]: Wejście do katalogu `/home/wojtek/Pulpit/smartcam-1.4.0'
Making all in src
make[2]: Wejście do katalogu `/home/wojtek/Pulpit/smartcam-1.4.0/src'
make  all-am
make[3]: Wejście do katalogu `/home/wojtek/Pulpit/smartcam-1.4.0/src'
g++ -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_DATADIR=\"/usr/share/smartcam\" -DDATADIR=\"/usr/share\"  -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/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 SmartEngine.h:28,
                 from smartcam.cpp:20:
CommHandler.h:25:27: error: bluetooth/sdp.h: No such file or directory
CommHandler.h:26:31: error: bluetooth/sdp_lib.h: No such file or directory
In file included from SmartEngine.h:28,
                 from smartcam.cpp:20:
CommHandler.h:68: error: ?uint8_t? has not been declared
CommHandler.h:69: error: ?uint8_t? has not been declared
CommHandler.h:77: error: ISO C++ forbids declaration of ?sdp_record_t? with no type
CommHandler.h:77: error: expected ?;? before ?*? token
CommHandler.h:78: error: ISO C++ forbids declaration of ?sdp_session_t? with no type
CommHandler.h:78: error: expected ?;? before ?*? token
make[3]: *** [smartcam-smartcam.o] Błąd 1
make[3]: Opuszczenie katalogu `/home/wojtek/Pulpit/smartcam-1.4.0/src'
make[2]: *** [all] Błąd 2
make[2]: Opuszczenie katalogu `/home/wojtek/Pulpit/smartcam-1.4.0/src'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/home/wojtek/Pulpit/smartcam-1.4.0'
make: *** [all] Błąd 2
wojtek@wojtek-laptop:~/Pulpit/smartcam-1.4.0$ 
Awatar użytkownika
Ibin
Sędziwy Jeż
Sędziwy Jeż
Posty: 30
Rejestracja: 18 cze 2007, 18:39
Płeć: Mężczyzna
Wersja Ubuntu: 20.04
Środowisko graficzne: Unity
Architektura: x86_64
Kontakt:

Odp: SmartCam kompilacja

Post autor: Ibin »

Ostatnio też szukałem jak to zainstalować ze źródeł, nie bardzo jednak mi się to udało. Ale znalazłem paczkę deb specjalnie pod 10.04, która rozwiązała mój problem:

Kod: Zaznacz cały

https://launchpad.net/~mgorven/+archive/ppa/+sourcepub/1088680/+listing-archive-extra
Potem wystarczy załadować moduł "smartcam":

Kod: Zaznacz cały

sudo /sbin/modprobe smartcam
Albo dodać go do pliku "/etc/modules", aby ładował się automatycznie przy starcie systemu:

Kod: Zaznacz cały

sudo bash -c "echo smartcam >> /etc/modules"
Ubuntu: #18664, Linux: #457547
Gigabyte GA-H87M-HD3 | i5 4430 | Gigabyte GTX 750 Ti | Kingston 8GB 1600 | WD10EZEX | DRW-1814BLT | BE QUIET L7-530W
dwademony
Sędziwy Jeż
Sędziwy Jeż
Posty: 75
Rejestracja: 02 kwie 2008, 19:45
Płeć: Mężczyzna
Wersja Ubuntu: 14.04
Środowisko graficzne: GNOME
Architektura: x86_64
Kontakt:

Odp: SmartCam kompilacja

Post autor: dwademony »

Dzięki pomogło tyko szkoda ze rozdzielczość taka mała i że świeci dioda w w telefonie

Po dodaniu do "/etc/modules" i restarcie Cheese nie wstaje przy starcie systemu sypie błędami
cheese

Kod: Zaznacz cały

wojtek@wojtek-laptop:~$ cheese
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
Segmentation fault
ODPOWIEDZ

Wróć do „Laptopy”

Kto jest online

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