I've tried to cross-compile alljoyn-core(AJSCL) on Ubuntu for raspberry-pi.
I used the below command.
scons OS=linux CPU=arm WS=off BD=on OE_BASE=/usr BINDINGS=cpp CROSS_COMPILE=~/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-
The compilation had been started. But, it was stopped searching for "openssl/aes.h" with the below error message. Actually, I installed "libssl-dev". I can find it on the location "/usr/include/openssl/aes.h".
Meanwhie, I can build it with other CPU options (like "openwrt", "x86_64"). Is there any missing parts to cross-compile AJSCL for raspberry-pi?
Please help me. Thanks in advance. :)
scons: Reading SConscript files ... Building bindings: cpp Building services: BULLSEYE_BIN not specified Using OpenSSL crypto GTEST_DIR not specified skipping common unit test build BULLSEYE_BIN not specified GTEST_DIR not specified skipping About Service unit test build GTEST_DIR not specified skipping alljoyn_core unit test build scons: done reading SConscript files. scons: Building targets ... [CXX] common/crypto/openssl/CryptoAES.cc In file included from common/crypto/openssl/CryptoAES.cc:36:0: common/crypto/openssl/OpenSsl.h:25:25: fatal error: openssl/aes.h: No such file or directory #include <openssl aes.h=""> ^ compilation terminated. scons: * [build/linux/arm/debug/obj/common/crypto/CryptoAES.o] Error 1 scons: building terminated because of errors.</openssl>