Kompajliranje

Novi ste u svijetu Linuxa? Imate hrpu početničkih pitanja?

Moderator/ica: Moderatori/ce

Pravila foruma
PRAVILA ZA NOVE KORISNIKE LINUXA!
Prije otvaranja bilo kakve diskusije svaki novi korisnik u svijetu Linuxa obavezan je učiniti sljedeće korake:
Pročitati ove tekstove iz naše Wikipedije:
- Sve uvodne tekstove Linuxa za početnike (njih 5)
- Sve što trebate znati o radu s diskovima
- Pročitati ovu temu za početnike
- Pokušati pronaći riješenje problema u Enciklopediji znanja

Nakon toga korisnik smije otvoriti temu s naslovom svog problema uz obaveznu naznaku Linux distribucije koju koristi u formi:
[Linux distribucija, broj verzije, grafičko okruženje]: Naslov problema
U prvom postu korisnik obavezno mora odgovoriti na ova pitanja:
- Da li ima instalirane Windowse?
- Što ga je motiviralo na instaliranje i korištenje Linux distribucije?
- Obavezno je potrebno navesti specifikacije hardvera (Ime Laptopa, tip procesora, grafičke i mrežne kartice, količina RAM-a i diska)

Bez učinjenih ovih prvih koraka, na teme se neće odgovarati i one će biti izbrisane s foruma!
Odgovori
Nele
Postovi: 248
Pridružen/a: 07 lip 2009, 12:55
Spol: M

Kompajliranje

Post 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
Avatar
madone
Postovi: 1594
Pridružen/a: 09 srp 2008, 09:49
Spol: M
OS: Debian
Lokacija: Zagreb

Re: Kompajliranje

Post 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 )
Odgovori