I am trying to cross-compile IoTivity (with scons) for yocto but have problems with boost library
I've followed the guidelines from https://wiki.iotivity.org/iotivity_porting_to_arm_based_platforms but again have the same problem that boost_thread cannot be found My next move was to cross-compile the boost library myself. Now I have a folder inside <iotivity folder>/extlibs/boost/boost with the source code and another <iotivity folder>/extlibs/boost/stage/lib with the cross-compiled static/shared libraries of boost My problem now is how to inform scons that my cross-compiled library files are at <iotivity folder>/extlibs/boost/stage/lib In order to compile for yocto I have created a batch file named compile.sh: export CC=arm-poky-linux-gnueabi-g++ echo $CC PATH=$PATH:~/certh-release-bsp/SGW_T/tmp/sysroots/x86_64-linux/usr/bin/cortexa9hf-vfp-neon-poky-linux-gnueabi export PATH echo $PATH LDFLAGS=$LDFLAGS export LDFLAGS echo $LDFLAGS scons TARGET_OS=yocto TARGET_ARCH=arm TC_ARCH=arm TC_PREFIX=arm-poky-linux-gnueabi- TC_PATH=~/certh-release-bsp/SGW_T/tmp/sysroots/x86_64-linux/usr/bin/cortexa9hf-vfp-neon-poky-linux-gnueabi -c VERBOSE=true
_______________________________________________ iotivity-dev mailing list iotivity-dev@lists.iotivity.org https://lists.iotivity.org/mailman/listinfo/iotivity-dev