Revision history [back]

click to hide/show revision 1
initial version

Error building OS=android CPU=arm BINDINGS=cpp,java on Linux

I can build just fine running:

scons BINDINGS=cpp WS=off

However, when attempt to build targeting Android by running:

scons OS=android CPU=arm BINDINGS=cpp,java ANDROID_SDK=~/Development/adt-bundle-linux-x86-20140702/sdk ANDROID_NDK=~/Development/android-ndk-r9d ANDROID_SRC=~/Development/Android-Source WS=off`

I get the following error:

[CXX]     common/os/posix/SslSocket.cc
In file included from common/os/posix/SslSocket.cc:35:0:
common/os/posix/../../crypto/openssl/OpenSsl.h:25:25: fatal error: openssl/aes.h: No such file or directory
compilation terminated.
scons: *** [common/build/android/arm/debug/obj/os/SslSocket.o] Error 1
scons: building terminated because of errors.

I have libssl-dev installed. I could imagine link errors, but not an error finding this header file.

What am I missing?

Thanks in advance, John

Error building OS=android CPU=arm BINDINGS=cpp,java on Linux

I can build just fine running:

scons BINDINGS=cpp WS=off

However, when attempt to build targeting Android by running:

scons OS=android CPU=arm BINDINGS=cpp,java ANDROID_SDK=~/Development/adt-bundle-linux-x86-20140702/sdk ANDROID_NDK=~/Development/android-ndk-r9d ANDROID_SRC=~/Development/Android-Source WS=off`

I get the following error:

[CXX]     common/os/posix/SslSocket.cc
In file included from common/os/posix/SslSocket.cc:35:0:
common/os/posix/../../crypto/openssl/OpenSsl.h:25:25: fatal error: openssl/aes.h: No such file or directory
compilation terminated.
scons: *** [common/build/android/arm/debug/obj/os/SslSocket.o] Error 1
scons: building terminated because of errors.

I have libssl-dev installed. I could imagine link errors, but not an error finding this header file.

What am I missing?

Thanks in advance, John

P.S. I am running Ubuntu 14.04 LTS. I have also tried this on OSX Mavericks with similar results.