watson-intu / self

Intu is a Cognitive Embodiment Middleware for AI on the edge.
Other
29 stars 28 forks source link

Build for Raspberry Pi not compiling, detailed errors listed below #5

Open iportilla opened 7 years ago

iportilla commented 7 years ago

Known toolchains are: Creating toolchain for target: raspi... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 201M 100 201M 0 0 3445k 0 0:00:59 0:00:59 --:--:-- 3910k Installing toolchains... Installing boost-raspi-0.1.zip into toolchain... [WARN ]: --name ignored when using modern format Current build worktree: /home/pi/self Using toolchain: raspi

CMake Error at /usr/local/share/cmake/qibuild/internal/uselib.cmake:80 (find_package): Found package configuration file:

/usr/local/share/cmake/qibuild/modules/openssl-config.cmake

but it set OPENSSL_FOUND to FALSE so package "OPENSSL" is considered to be NOT FOUND. Call Stack (most recent call first): /usr/local/share/cmake/qibuild/internal/uselib.cmake:158 (_qi_use_lib_get_deps) /usr/local/share/cmake/qibuild/stage.cmake:247 (_qi_use_lib_internal) lib/cpp-sdk/lib/CMakeLists.txt:39 (qi_use_lib)

-- Configuring incomplete, errors occurred! See also "/home/pi/self/build-raspi/CMakeFiles/CMakeOutput.log". [ERROR]: ConfigureFailed Error occurred when configuring project self

rlyle commented 7 years ago

I wonder if openssl needs to be installed into the Raspberry PI before you try to compile.. Take a look at this, try it and see if that fixes your issue:

http://www.raspberry-projects.com/pi/programming-in-c/security/open-ssl-c-library/installing-openssl-c-library

carmengo commented 7 years ago

I have installed the following packages

pi@raspberrypi:~/self $ sudo apt-get install python-openssl libssl-dev

After that the OPENSSL error was gone, but several others started to pileup, To make it simpler, I am consolidating the list of key package required that I found by trial/error approach:

sudo apt-get install libopencv-dev libboost-python-dev libboost-filesystem-dev libboost-thread-dev libcv2.4 python-openssl libssl-dev

takaomoriyama commented 7 years ago

@iportilla Can you close this issue if you are OK ?