Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pam-face-authentication not compiling on fedora core 20 #131

Open
GoogleCodeExporter opened this issue Mar 21, 2016 · 2 comments
Open

Pam-face-authentication not compiling on fedora core 20 #131

GoogleCodeExporter opened this issue Mar 21, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

Try to compile program on fedora 20 with all deps installed

What is the expected output? What do you see instead?

I would expect it to compile, but insteed it says:





-- Checking GNUCXX version 3/4 to determine  OpenCV /opt/net/ path
CMake Error at cmake/modules/FindOpenCV.cmake:240 (MESSAGE):
  OpenCV required but some headers or libs not found.  Please specify it's
  location with OpenCV_ROOT_DIR env.  variable.
Call Stack (most recent call first):
  CMakeLists.txt:75 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
See also "/tmp/pam-face-authentication-0.3/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/pam-face-authentication-0.3/build/CMakeFiles/CMakeError.log".




What version of the product are you using? On what operating system?

I am using latest opencv pam-face-authentication-0.3.tar.gz on fedora core 20.

Original issue reported on code.google.com by 2801...@etude.ca on 5 Mar 2014 at 11:18

@GoogleCodeExporter
Copy link
Author

Hi,
This problem is due to the way the FindOpenCV.cmake search the opencv files. 
IMHO this script should rely on the Linux File Hierarchy Standard.
So you have to make sure that all OpenCV*-devel and pam-devel packages are 
installed and add those lines at the end of the FindOpenCV.cmake file before 
this line : 

# display help message
IF(NOT OPENCV_FOUND)

LINES TO ADD FOR FEDORA : 


SET(OPENCV_LIBRARIES   
    /usr/lib64/
    /usr/lib)
SET(OPENCV_INCLUDE_DIR
    /usr/include/opencv
    /usr/include/opencv2)
SET(OPENCV_FOUND ON)



Original comment by Nolaa...@gmail.com on 9 Jul 2014 at 7:04

@GoogleCodeExporter
Copy link
Author

You can also clone my github repo 
https://github.com/Nolaan/pam-face-authentication

Original comment by Nolaa...@gmail.com on 9 Jul 2014 at 8:38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant