I'm looking how to build with scons static libs which is using for samples.
At the end I want to have in specific build folders (like services/base/controlpanel/build or services/base/services_commin/build) static libs for darwin/arm*/(PLATFORM)/(VARIANT)/(cpp and objc).
I'm trying play with command line from this page — https://wiki.allseenalliance.org/develop/building_and_running section Darwin
export CONFIGURATION=release scons OS=darwin CPU=x86 WS=off VARIANT=release BINDINGS=cpp SERVICES="about,config,controlpanel,notification" SDKROOT=`pwd`
For x86 it's work fine and nice. But when I trying, for example, to do this:
export CONFIGURATION=debug export PLATFORM_NAME=iphonesimulator scons -u OS=darwin CPU=arm WS=off VARIANT=debug BINDINGS="objc" SERVICES="" SDKROOT=`pwd`
I'm getting next error message
scons: Reading SConscript files ... Using debug settings for darwin build... Using flags for iOS simulator... debug Using iOS debug configuration Building bindings: Building services: BULLSEYE_BIN not specified GTEST_DIR not specified skipping common unit test build BULLSEYE_BIN not specified Not building unit tests for iOS... scons: done reading SConscript files. scons: Building targets ... [CXX] services/about/cpp/src/AboutClient.cc services/about/cpp/src/AboutClient.cc:17:10: fatal error: 'stdio.h' file not found #include <stdio.h> ^ 1 error generated. scons: *** [alljoyn_core/build/darwin/arm/iphonesimulator/debug/obj/about/cpp/src/AboutClient.o] Error 1 scons: building terminated because of errors.
How to do this in the right way?