Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 24/02/2011, à 17:52

caracolito

Installation wxcam

Bonjour,

La doc wxcam précise qu'il n'y a pas de page créee pour ce logiciel
Mon problème:

J'aimerai utiliser une webcam connectée à mon PC avec la possibilité de detection de mouvement.
Il semble que le logiciel wxcam permet celà, mais je ne sais ou le trouver ni comment installer ce logiciel sous ubuntu Lucid.

Quelqu'un a-t-il une solution ou une réponse sur detection de mouvement avec une webcam ?

Merci,
Pierre


La mente es igual que un Paracaidas, Solo sirve si se abre . A.Eistein

Hors ligne

#2 Le 24/02/2011, à 20:06

Ayral

Re : Installation wxcam

Regardes là http://wxcam.sourceforge.net/ c'est en anglais mais bon c'est pas sorcier.


Pour mettre les retours de commande entre deux balises code, les explications sont là : https://forum.ubuntu-fr.org/viewtopic.php?id=1614731
Blog d'un retraité
Site de graphisme du fiston Loïc
Ubuntu 22.04 LTS sur un Thinkpad W540

Hors ligne

#3 Le 24/02/2011, à 21:51

caracolito

Re : Installation wxcam

Ayral a écrit :

Regardes là http://wxcam.sourceforge.net/ c'est en anglais mais bon c'est pas sorcier.

Effectivement, j'ai trouvé et téléchargé le source, mais je n'arrive pas à compiler j'ai des erreurs:
et comme je suis incompétent voici le resultat de la console.


pierre@pierre-Aspire-6930:~$ cd wxcam-1.0.7
pierre@pierre-Aspire-6930:~/wxcam-1.0.7$ ./configure
./configure: line 2140: config.log: Permission denied
./configure: line 2150: config.log: Permission denied
pierre@pierre-Aspire-6930:~/wxcam-1.0.7$ sudo ./configure
[sudo] password for pierre: 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking wxWidgets version... ./configure: line 5805: wx-config: command not found
not found
configure: error: wxWidgets is required. Try --with-wx-config.
pierre@pierre-Aspire-6930:~/wxcam-1.0.7$

La mente es igual que un Paracaidas, Solo sirve si se abre . A.Eistein

Hors ligne

#4 Le 25/02/2011, à 13:38

Ayral

Re : Installation wxcam

Le paquet WxWidgets est manquant

configure: error: wxWidgets is required

Il se trouve dans synaptic. Tu l'installes et tu recommences. C'est un peu fatal avec des paquets dénichés comme ça, qu'il faut compiler à la main: les dépendances de ces paquets ne sont pas toujours respectées, et il en manque au moment de la compilation. C'est pour ça que les débutants (dont moi, même en trois ans je ne compile pas) sont poussés à se contenter des paquets des dépôts ou des .deb conseillés dans la doc.


Pour mettre les retours de commande entre deux balises code, les explications sont là : https://forum.ubuntu-fr.org/viewtopic.php?id=1614731
Blog d'un retraité
Site de graphisme du fiston Loïc
Ubuntu 22.04 LTS sur un Thinkpad W540

Hors ligne

#5 Le 25/02/2011, à 13:52

caracolito

Re : Installation wxcam

Ayral a écrit :

Le paquet WxWidgets est manquant

configure: error: wxWidgets is required

Il se trouve dans synaptic. Tu l'installes et tu recommences. C'est un peu fatal avec des paquets dénichés comme ça, qu'il faut compiler à la main: les dépendances de ces paquets ne sont pas toujours respectées, et il en manque au moment de la compilation. C'est pour ça que les débutants (dont moi, même en trois ans je ne compile pas) sont poussés à se contenter des paquets des dépôts ou des .deb conseillés dans la doc.

Merci,

Je vais essayer - cependant entre temps, j'ai trouvé l'outil que je cherchai pour transformer une webcam en detecteur de mouvement ici: http://www.webupd8.org/2009/07/transfor … otion.html
en fait, je veux connecter une webcam utilisée comme systeme d'alarme à mon pc .

Pierre


La mente es igual que un Paracaidas, Solo sirve si se abre . A.Eistein

Hors ligne

#6 Le 25/02/2011, à 13:53

fabien26

Re : Installation wxcam

Moi je sais compiler sans problème, mais rien que pour mon usage personnel (et pour en faire profiter les autres d'ailleurs) je fais des paquets .deb car c'est vraiment trop ch*ant et pas propre d'installer via les sources.

Il a un intérêt particulier ce programme ? Il répond à une demande qu'aucun autre programme ne fait ?

Es-ce que quelqu'un est motivé pour faire une vraie page (avec mon aide) à ce programme dans ce cas ?

Si j'ai tout ça, je fais le paquet pour toi. (je ne peux pas faire la page de wiki moi même, je n'ai pas de webcam)


Haiku - Un système totalement libre (MIT/BSD) inspiré par BeOS. Ce n'est pas Linux, ce n'est pas vraiment un Unix, c'est un Système d'exploitation Graphique. Un très bon projet que je vous conseil de tester dans Virtualbox ou sur un vieux PC.

Ma page utilisateur

Hors ligne

#7 Le 25/02/2011, à 23:18

caracolito

Re : Installation wxcam

J'ai cherché dans synaptic et je ne trouve pas le paquet. wxWidgets donc, je ne peux pas faire l'essai !
Ce qui m'interesse dans ce logiciel c'est la détection de mouvement en particulier la définition des zones sensibles, fonction que je n'ai pas trouvé dans un autre programme.
Faire un paquet .deb pour un débutant comme moi ca n'est pas la volonté qui me manque, mais le temps pour acquérir la compétence.
Merci
Pierre


La mente es igual que un Paracaidas, Solo sirve si se abre . A.Eistein

Hors ligne

#8 Le 26/02/2011, à 02:18

Ayral

Re : Installation wxcam

caracolito a écrit :

J'ai cherché dans synaptic et je ne trouve pas le paquet. wxWidgets donc, je ne peux pas faire l'essai !

Ben si, ou alors je me gourre complètement, il y a libalien-wxWidgets-perl. Bon c'est peut être pas ça...


Pour mettre les retours de commande entre deux balises code, les explications sont là : https://forum.ubuntu-fr.org/viewtopic.php?id=1614731
Blog d'un retraité
Site de graphisme du fiston Loïc
Ubuntu 22.04 LTS sur un Thinkpad W540

Hors ligne

#9 Le 26/02/2011, à 05:23

caracolito

Re : Installation wxcam

Ayral a écrit :
caracolito a écrit :

J'ai cherché dans synaptic et je ne trouve pas le paquet. wxWidgets donc, je ne peux pas faire l'essai !

Ben si, ou alors je me gourre complètement, il y a libalien-wxWidgets-perl. Bon c'est peut être pas ça...

essai apres installation du fichier cité ci-dessus.
Il y a progression mais toujours une erreur -

pierre@pierre-Aspire-6930:~/wxcam-1.0.7$ sudo ./configure;make
[sudo] password for pierre: 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking wxWidgets version... 2.8.11
checking how to run the C preprocessor... gcc -E
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 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 locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.41.1 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... (cached) /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.10.1
checking for XML::Parser... ok
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/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 default-1 commands
config.status: executing libtool commands
config.status: executing po/stamp-it commands
make  all-recursive
make[1]: entrant dans le répertoire « /home/pierre/wxcam-1.0.7 »
Making all in src
make[2]: entrant dans le répertoire « /home/pierre/wxcam-1.0.7/src »
  CC     ccvt.o
ccvt.c:23: fatal error: mjpegtools/jpegutils.h: Aucun fichier ou dossier de ce type
compilation terminated.
make[2]: *** [ccvt.o] Erreur 1
make[2]: quittant le répertoire « /home/pierre/wxcam-1.0.7/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/pierre/wxcam-1.0.7 »
make: *** [all] Erreur 2
pierre@pierre-Aspire-6930:~/wxcam-1.0.7$ 

La mente es igual que un Paracaidas, Solo sirve si se abre . A.Eistein

Hors ligne

#10 Le 26/02/2011, à 12:09

Ayral

Re : Installation wxcam

Je crois que l'erreur est indiquée là

ccvt.c:23: fatal error: mjpegtools/jpegutils.h: Aucun fichier ou dossier de ce type

mais je n'en sais pas plus.


Pour mettre les retours de commande entre deux balises code, les explications sont là : https://forum.ubuntu-fr.org/viewtopic.php?id=1614731
Blog d'un retraité
Site de graphisme du fiston Loïc
Ubuntu 22.04 LTS sur un Thinkpad W540

Hors ligne

#11 Le 27/02/2011, à 09:45

fabien26

Re : Installation wxcam

Non mais c'est moi qui ferrait le paquet .deb ! Moi ce dont j'ai besoin c'est de quelqu'un pour écrire la doc. (la page de doc de wxcam, présentation du logiciel, ces fonctions, les bugs connus si tu en trouves, les liens vers les pages sur le programme sur d'autres sites comme le site officiel. C'est pas trop de boulot.)

Sinon pour wxwidget, c'est le paquet: libwxgtk2.8-dev

Pour l'erreur d'après, c'est qu'il manque les mjpeg-tools !

Paquet: libmjpegtools-dev

Dernière modification par fabien26 (Le 27/02/2011, à 09:51)


Haiku - Un système totalement libre (MIT/BSD) inspiré par BeOS. Ce n'est pas Linux, ce n'est pas vraiment un Unix, c'est un Système d'exploitation Graphique. Un très bon projet que je vous conseil de tester dans Virtualbox ou sur un vieux PC.

Ma page utilisateur

Hors ligne