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

Issues during pc-ble-driver build

I am following this tutorial to be able to run the ble_connectovity example on the Nordic: github.com/.../pc-ble-driver

I can build and install Boost and cmake runs successfully. However, when I hit "make" I get the following error: before I dig in the generated makefiles...: what can be the issue?

> user@user-vm:/.../nordic/pc-ble-driver/build$ make
Scanning dependencies of target pc_ble_driver_obj_sd_api_v3
CMakeFiles/pc_ble_driver_obj_sd_api_v3.dir/depend.make:4: *** missing separator.  Stop.
CMakeFiles/Makefile2:289: recipe for target 'CMakeFiles/pc_ble_driver_obj_sd_api_v3.dir/all' failed
make[1]: *** [CMakeFiles/pc_ble_driver_obj_sd_api_v3.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

The offending file contains:

> \# CMAKE generated file: DO NOT EDIT!
> 
> \# Generated by "Unix Makefiles" Generator, CMake Version 3.5
> 
CMakeFiles/pc_ble_driver_obj_sd_api_v3.dir/src/sd_api_v3/sdk/components/serialization/application/codecs/s132/serializers/app_ble_user_mem.c.o: ../include/common/adapter.h
CMakeFiles/pc_ble_driver_obj_sd_api_v3.dir/src/sd_api_v3/sdk/components/serialization/application/codecs/s132/serializers/app_ble_user_mem.c.o: ../include/common/config/platform.h

Here's info regarding my setup:

  • Xubuntu: 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
  • Boost 1.61.0
  • cmake version 3.5.1
  • GNU Make 4.1
  • gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609

Thanks, Dirk

Parents Reply Children
Related