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

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

Open
iportilla opened this issue Jun 5, 2017 · 3 comments
Open
Assignees

Comments

@iportilla
Copy link
Contributor

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

  • (1/1) Configuring self
    -- The C compiler identification is GNU 4.9.2
    -- The CXX compiler identification is GNU 4.9.2
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Using qibuild 3.11.14
    -- Using qibuild 3.11.14
    -- Library: tinyxml_static
    -- Library: base64
    -- Library: crossguid
    -- Library: minizip
    -- Library: kafka
    CMake Error at /usr/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
    Could NOT find OPENSSL (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIRS)
    Call Stack (most recent call first):
    /usr/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
    /usr/local/share/cmake/qibuild/find.cmake:361 (find_package_handle_standard_args)
    /usr/local/share/cmake/qibuild/find.cmake:269 (_qi_call_fphsa)
    /usr/local/share/cmake/qibuild/modules/openssl-config.cmake:12 (export_lib)
    /usr/local/share/cmake/qibuild/internal/uselib.cmake:80 (find_package)
    /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)

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
Copy link
Contributor

rlyle commented Jun 5, 2017

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

@rlyle rlyle self-assigned this Jun 5, 2017
@carmengo
Copy link

carmengo commented Jun 27, 2017

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
Copy link
Contributor

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

takaomoriyama added a commit that referenced this issue Sep 20, 2017
* Incorporate recent changes in self plugins including support for Pepper's tablet and fix for build break in PCL

* Incorporate fix in plugins for issue #31

*  Incorporate pull request #5 of self-plugins

* Add change for pull request #7 from watson-intu/pcl_removed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants