Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

pc-ble-driver: compile error on windows with visual studio 2015

When trying to compile the pc-ble-driver from "master" on Windows 10 with Visual Studio 14 2015, I get the following error:

ClCompile:
D:\Programme\Microsoft Visual Studio 14.0\VC\bin\CL.exe /c /I"D:\Projekte\Nordic\pc-ble-driver\pc-ble-driver\include\common" /I"D:\Projekte\Nordic\pc-ble-driver\pc-ble-driver\include\common\sdk_compat" /I"D:\Projekte\Nordic\pc-ble-driver\pc-ble-driver\include\common\internal" /I"D:\Projekte\No....

....

D:\Projekte\Nordic\pc-ble-driver\pc-ble-driver\include\common\internal\transport\uart_boost.h(112): error C2039: 'function': is not a member of 'boost' [D:\Projekte\Nordic\pc-ble-driver\pc-ble-driver\pc_ble_driver_obj_sd_api_v5.vcxproj]
D:\Projekte\Boost\boost_1_68_0\boost/thread/future.hpp(19): note: see declaration of 'boost'

Any ideal how to fix this?

Related