0

How build from source static libs?

asked 2015-02-09 00:30:26 -0800

dvs gravatar image

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?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-02-11 01:11:08 -0800

dvs gravatar image

Answer to my question I found here โ€” https://build.allseenalliance.org/ci/

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-02-09 00:30:26 -0800

Seen: 100 times

Last updated: Feb 11 '15