Problem installing OpenALPR on Raspberry Pi

1,824 views
Skip to first unread message

BenH

unread,
Dec 14, 2015, 8:24:41 AM12/14/15
to OpenALPR
I am totally new to Linux, image processing and OpenCV so please be patient with me!

I'm trying to install OpenALPR in a Raspberry Pi 2.

I'm following to instructions in this link...


Everything seems to work OK until to section 8.

I change directory to /usr/local/src/openalpr/openalpr/ and try to edit CMakeLists.txt  to add the lines...

  • SET(OpenCV_DIR "/usr/local/lib")
  • SET(Tesseract_DIR "/usr/local/src/openalpr/tesseract-ocr")

but there is no CMakeLists.txt in /usr/local/src/openalpr/openalpr/

There is however a CMakeLists.txt in  /usr/local/src/openalpr/openalpr/src/ so I added the lines to that one and issued cmake ./ but I get lots of errors like this...

pi@raspberrypi:/usr/local/src/openalpr/openalpr/src $ sudo cmake ./
-- Found Tesseract
log4cplus_INCLUDE_DIR
=log4cplus_INCLUDE_DIR-NOTFOUND
log4cplus_LIB
=log4cplus_LIB-NOTFOUND
CMake Error at cmake_modules/LibFindMacros.cmake:74 (message):
 
Required library log4cplus NOT FOUND.


 
Install the library (dev version) and try again.  If the library is already
  installed
, use ccmake to set the missing variables manually.
Call Stack (most recent call first):
  cmake_modules
/Findlog4cplus.cmake:34 (libfind_process)
 
CMakeLists.txt:143 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred!
See also "/usr/local/src/openalpr/openalpr/src/CMakeFiles/CMakeOutput.log".

Could someone please tell me where I'm going wrong?

Matt

unread,
Dec 14, 2015, 9:10:48 PM12/14/15
to OpenALPR
It looks like it found Tesseract, but did not find log4cplus.  You'll need to install that from APT, or compile it and install it manually.

Ahmed Al-attar

unread,
Dec 28, 2015, 4:24:59 AM12/28/15
to OpenALPR
hello ,

try to install the missing libraries :

 sudo apt-get install liblog4cplus-dev libtesseract-dev


i think you have to install java libraries to , to make it short in bug tracking install ecalipse.

best regards
Reply all
Reply to author
Forward
0 new messages