Stranica: 1/1.

Kompajliranje

Postano: 15 sij 2011, 22:10
Postao/la Nele
Pokusavam na PCLinuxOS da instaliram PAM face authentication,
Sve dobro prodje do make-a.
Kad uradim make dobijem ovo:

Kod: Označi sve

[ 21%] Building CXX object CMakeFiles/pam_face_authentication.dir/src/webcamImagePaint.cpp.o
/home/nedim/pam-face-authentication-0.3/src/webcamImagePaint.cpp: In member function `void webcamImagePaint::paintEllipse(IplImage*, CvPoint, CvPoint)':
/home/nedim/pam-face-authentication-0.3/src/webcamImagePaint.cpp:38: warning: converting to `int' from `double'
/home/nedim/pam-face-authentication-0.3/src/webcamImagePaint.cpp:45: warning: converting to `int' from `double'
/home/nedim/pam-face-authentication-0.3/src/webcamImagePaint.cpp:46: warning: converting to `int' from `double'
/home/nedim/pam-face-authentication-0.3/src/webcamImagePaint.cpp:53: warning: converting to `int' from `double'
/home/nedim/pam-face-authentication-0.3/src/webcamImagePaint.cpp:54: warning: converting to `int' from `double'
/home/nedim/pam-face-authentication-0.3/src/webcamImagePaint.cpp:56: warning: converting to `int' from `double'
/home/nedim/pam-face-authentication-0.3/src/webcamImagePaint.cpp:56: warning: converting to `int' from `double'
/home/nedim/pam-face-authentication-0.3/src/webcamImagePaint.cpp: In member function `void webcamImagePaint::paintCyclops(IplImage*, CvPoint, CvPoint)':
/home/nedim/pam-face-authentication-0.3/src/webcamImagePaint.cpp:92: warning: converting to `int' from `double'
/home/nedim/pam-face-authentication-0.3/src/webcamImagePaint.cpp:132: warning: converting to `int' from `double'
/home/nedim/pam-face-authentication-0.3/src/webcamImagePaint.cpp:133: warning: converting to `int' from `double'
/home/nedim/pam-face-authentication-0.3/src/webcamImagePaint.cpp:135: warning: converting to `int' from `double'
/home/nedim/pam-face-authentication-0.3/src/webcamImagePaint.cpp:136: warning: converting to `int' from `double'
/home/nedim/pam-face-authentication-0.3/src/webcamImagePaint.cpp:138: warning: converting to `int' from `double'
/home/nedim/pam-face-authentication-0.3/src/webcamImagePaint.cpp:139: warning: converting to `int' from `double'
/home/nedim/pam-face-authentication-0.3/src/webcamImagePaint.cpp:141: warning: converting to `int' from `double'
/home/nedim/pam-face-authentication-0.3/src/webcamImagePaint.cpp:142: warning: converting to `int' from `double'
/home/nedim/pam-face-authentication-0.3/src/webcamImagePaint.cpp:229: error: syntax error before `/' token
/home/nedim/pam-face-authentication-0.3/src/webcamImagePaint.cpp:229: error: syntax error before `)' token
make[2]: *** [CMakeFiles/pam_face_authentication.dir/src/webcamImagePaint.cpp.o] Error 1
make[1]: *** [CMakeFiles/pam_face_authentication.dir/all] Error 2
make: *** [all] Error 2
Radim po ovome uputstvu:

Kod: Označi sve

http://lifeasiknow-it.blogspot.com/2009/08/pam-face-authentication-musings-how-to.html

Re: Kompajliranje

Postano: 15 sij 2011, 23:40
Postao/la madone
Ovo si sve instalirao i *-dev ?

Kod: Označi sve

for pam-face-authentication-0.3.tar.gz

    Opencv 1.0.0 +

    libpam ( also the devel package)

    libX11 (also the devel package )

    Qt4.5 (Not tested with lower versions)

for kdm-plugin-pam-face-authentication-0.1.tar.gz

    libX11 (also the devel package )
    KDE4 (and dev package )