Pages : 1
#1 Le 30/06/2010, à 11:00
- elPacha
Eviacam : problème de compilation [Résolu]
Bonjour à tous,
Je suis novice sous ubuntu et je vien d'installer la version 10.04.
Je souhaite utiliser le logiciel Eviacam (logiciel pour gérer la souri depuis la webcam) et pour cela j'ai suivi le tutoriel d'installation dans la documentation : http://doc.ubuntu-fr.org/eviacam , cependant il me signale une erreur que je ne comprend pas, si quelqu'un peu m'éclairer se serait sympas.
Voici ce que me met le terminal après avoir entré le ./configure :
elpacha@portable-de-elpacha:~/eviacam-1.2.1$ ./configure
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 build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
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 how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... 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... no
configure: creating libtool
appending configuration tag "CXX" to libtool
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
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... 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
appending configuration tag "F77" to libtool
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 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... gcc -E
checking for gawk... (cached) gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for main in -lX11... yes
checking for main in -lXext... yes
checking for main in -lXtst... yes
checking for pow... no
checking for sqrt... no
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking gdk version... 2.20.1
checking wxWidgets version... 2.8.10
checking opencv version... 2.0.0
checking for X... libraries , headers
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating doc/Makefile
config.status: creating wxutil/Makefile
config.status: creating creavision/Makefile
config.status: creating wxcamwindow/Makefile
config.status: creating src/Makefile
config.status: creating src/version.h
config.status: creating src/eviacam.desktop
config.status: creating rpm/Makefile
config.status: creating rpm/eviacam.spec
config.status: creating debian/changelog
config.status: creating win32/installer.iss
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
Jusque la pas de soucis, je fais make :
elpacha@portable-de-elpacha:~/eviacam-1.2.1$ make
make all-recursive
make[1]: entrant dans le répertoire « /home/elpacha/eviacam-1.2.1 »
Making all in creavision
make[2]: entrant dans le répertoire « /home/elpacha/eviacam-1.2.1/creavision »
make[2]: Rien à faire pour « all ».
make[2]: quittant le répertoire « /home/elpacha/eviacam-1.2.1/creavision »
Making all in wxutil
make[2]: entrant dans le répertoire « /home/elpacha/eviacam-1.2.1/wxutil »
make[2]: Rien à faire pour « all ».
make[2]: quittant le répertoire « /home/elpacha/eviacam-1.2.1/wxutil »
Making all in wxcamwindow
make[2]: entrant dans le répertoire « /home/elpacha/eviacam-1.2.1/wxcamwindow »
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../creavision -Wall -fexceptions -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/usr/include/opencv -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -DNDEBUG -g -O2 -Wall -fexceptions -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/usr/include/opencv -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -DNDEBUG -MT camwindow.lo -MD -MP -MF .deps/camwindow.Tpo -c -o camwindow.lo camwindow.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I../creavision -Wall -fexceptions -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/usr/include/opencv -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -DNDEBUG -g -O2 -Wall -fexceptions -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/usr/include/opencv -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -DNDEBUG -MT camwindow.lo -MD -MP -MF .deps/camwindow.Tpo -c camwindow.cpp -fPIC -DPIC -o .libs/camwindow.o
camwindow.cpp:36:19: error: cvaux.h: No such file or directory
camwindow.cpp: In constructor 'CCamWindow::CCamWindow(wxWindow*, const wxPoint&, const wxSize&)':
camwindow.cpp:71: warning: deprecated conversion from string constant to 'char*'
camwindow.cpp:72: warning: deprecated conversion from string constant to 'char*'
camwindow.cpp: In member function 'void CCamWindow::DrawCam(IplImage*)':
camwindow.cpp:155: warning: deprecated conversion from string constant to 'char*'
camwindow.cpp: In member function 'void CCamWindow::OnPaint(wxPaintEvent&)':
camwindow.cpp:240: warning: deprecated conversion from string constant to 'char*'
make[2]: *** [camwindow.lo] Erreur 1
make[2]: quittant le répertoire « /home/elpacha/eviacam-1.2.1/wxcamwindow »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/elpacha/eviacam-1.2.1 »
make: *** [all] Erreur 2
C'est ici qu'apparaisse les erreurs, je fais sudo make install :
elpacha@portable-de-elpacha:~/eviacam-1.2.1$ sudo make install
[sudo] password for elpacha:
Making install in creavision
make[1]: entrant dans le répertoire « /home/elpacha/eviacam-1.2.1/creavision »
make[2]: entrant dans le répertoire « /home/elpacha/eviacam-1.2.1/creavision »
make[2]: Rien à faire pour « install-exec-am ».
make[2]: Rien à faire pour « install-data-am ».
make[2]: quittant le répertoire « /home/elpacha/eviacam-1.2.1/creavision »
make[1]: quittant le répertoire « /home/elpacha/eviacam-1.2.1/creavision »
Making install in wxutil
make[1]: entrant dans le répertoire « /home/elpacha/eviacam-1.2.1/wxutil »
make[2]: entrant dans le répertoire « /home/elpacha/eviacam-1.2.1/wxutil »
make[2]: Rien à faire pour « install-exec-am ».
make[2]: Rien à faire pour « install-data-am ».
make[2]: quittant le répertoire « /home/elpacha/eviacam-1.2.1/wxutil »
make[1]: quittant le répertoire « /home/elpacha/eviacam-1.2.1/wxutil »
Making install in wxcamwindow
make[1]: entrant dans le répertoire « /home/elpacha/eviacam-1.2.1/wxcamwindow »
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../creavision -Wall -fexceptions -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/usr/include/opencv -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -DNDEBUG -g -O2 -Wall -fexceptions -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/usr/include/opencv -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -DNDEBUG -MT camwindow.lo -MD -MP -MF .deps/camwindow.Tpo -c -o camwindow.lo camwindow.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I../creavision -Wall -fexceptions -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/usr/include/opencv -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -DNDEBUG -g -O2 -Wall -fexceptions -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/usr/include/opencv -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -DNDEBUG -MT camwindow.lo -MD -MP -MF .deps/camwindow.Tpo -c camwindow.cpp -fPIC -DPIC -o .libs/camwindow.o
camwindow.cpp:36:19: error: cvaux.h: No such file or directory
camwindow.cpp: In constructor 'CCamWindow::CCamWindow(wxWindow*, const wxPoint&, const wxSize&)':
camwindow.cpp:71: warning: deprecated conversion from string constant to 'char*'
camwindow.cpp:72: warning: deprecated conversion from string constant to 'char*'
camwindow.cpp: In member function 'void CCamWindow::DrawCam(IplImage*)':
camwindow.cpp:155: warning: deprecated conversion from string constant to 'char*'
camwindow.cpp: In member function 'void CCamWindow::OnPaint(wxPaintEvent&)':
camwindow.cpp:240: warning: deprecated conversion from string constant to 'char*'
make[1]: *** [camwindow.lo] Erreur 1
make[1]: quittant le répertoire « /home/elpacha/eviacam-1.2.1/wxcamwindow »
make: *** [install-recursive] Erreur 1
Et une fois cela fait sa ne marche pas, c'est du chinois pour moi donc si quelqu'un comprend, je veut bien une explication.
Merci de votre aide
Dernière modification par elPacha (Le 08/10/2010, à 15:36)
Merci de ton aide,
el Pacha
Hors ligne
#2 Le 22/07/2010, à 05:28
- YannUbuntu
Re : Eviacam : problème de compilation [Résolu]
Bonjour
pour info j'avais essayé de compiler eViacam sur lucid et j'avais eu aussi un probleme.
Mais maintenant eViacam est dispo en DEB pour Lucid (et Karmic), et il fonctionne parfaitement !
(il reste juste quelques mots en anglais, j'ai fait un rapport de bug).
à consulter/améliorer: Guide du Débutant, Logiciels, Ecole, Travail, Maison
Hors ligne
#3 Le 22/07/2010, à 05:39
- alej
Re : Eviacam : problème de compilation [Résolu]
camwindow.cpp:36:19: error: cvaux.h: No such file or directory
Sans réfléchir + que ça , ni essayer, je commencerais quand même par installer le paquet libcvaux-dev...
$ apt-file search cvaux.h
libcvaux-dev: /usr/include/opencv/cvaux.h
libcvaux-dev: /usr/include/opencv/cvaux.hpp
...
P.S. édité : l'installation du .deb demande libcvaux4. Ça corrobore ...
$ sudo apt-get -s install eviacam
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les paquets supplémentaires suivants seront installés :
libcv4 libcvaux4 libhighgui4
Les NOUVEAUX paquets suivants seront installés :
eviacam libcv4 libcvaux4 libhighgui4
0 mis à jour, 4 nouvellement installés, 0 à enlever et 0 non mis à jour.
Inst libcv4 (2.0.0-3ubuntu2 Ubuntu:10.04/lucid)
Inst libcvaux4 (2.0.0-3ubuntu2 Ubuntu:10.04/lucid)
Inst libhighgui4 (2.0.0-3ubuntu2 Ubuntu:10.04/lucid)
Inst eviacam (1.3 localhost)
Conf libcv4 (2.0.0-3ubuntu2 Ubuntu:10.04/lucid)
Conf libcvaux4 (2.0.0-3ubuntu2 Ubuntu:10.04/lucid)
Conf libhighgui4 (2.0.0-3ubuntu2 Ubuntu:10.04/lucid)
Conf eviacam (1.3 localhost)
Dernière modification par alej (Le 22/07/2010, à 05:59)
Hors ligne
#4 Le 23/07/2010, à 04:00
- YannUbuntu
Re : Eviacam : problème de compilation [Résolu]
Bonjour
est-ce que l'un d'entre vous a réussi à compiler sur 64bits ?
à consulter/améliorer: Guide du Débutant, Logiciels, Ecole, Travail, Maison
Hors ligne
Pages : 1