This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

pc-ble-driver-py cmake error

Hi,

I'm using a nrf52 as pheripheral BLE in embedded system with sensors. I need a ble central to receive the data from the sensors by connecting to the nrf52. I'm trying to use pc-ble-driver-py for my raspberry 3 by following this GITHUB but without success. I've got an error when i'm trying the cmake command in the /pc-ble-driver-py/build/

I've a Raspberry 3 and raspian stretch lite 4.14.62-v7+ (i've made a fresh install). I have list all the command i typed.

INSTALL BOOST

- sudo apt-get install git make gcc g++

- sudo wget dl.bintray.com/.../boost_1_67_0.tar.gz
- tar xzvf boost_1_67_0.tar.gz
- export BOOST_ROOT=/home/pi/boost/boost_1_67_0
- cd $BOOST_ROOT
- ./bootstrap.sh
- ./b2 toolset=gcc cxxflags=-fPIC cflags=-fPIC address-model=32 link=static --with-thread --with-system --with-regex --with-date_time --with-chrono

BUILD pc-ble-driver-py

- sudo apt-get install cmake swig libudev-dev python python-dev
- git clone github.com/.../pc-ble-driver-py
- git submodule init
- git submodule update
- cd build
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DARCH=x86_32 -DBOOST_LIBRARYDIR=/home/pi/boost/boost_1_67_0 ..

.. And there it is where i get error.

Screenshoot of terminal after cmake command 

My guess is that boost library is not linked or something like that but i can't think of a solution. I need help to make it work...

Thank

Related