<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>pc-ble-driver cannot be built with current instructions</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79840/pc-ble-driver-cannot-be-built-with-current-instructions</link><description>The instructions at https://github.com/NordicSemiconductor/pc-ble-driver do not allow building the driver or the examples on a Windows system. Following the instructions takes you to a point where you create a &amp;quot;build&amp;quot; subdirectory, run cmake --G Ninja</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Dec 2021 11:49:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79840/pc-ble-driver-cannot-be-built-with-current-instructions" /><item><title>RE: pc-ble-driver cannot be built with current instructions</title><link>https://devzone.nordicsemi.com/thread/345095?ContentTypeID=1</link><pubDate>Mon, 27 Dec 2021 11:49:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c67b557-eaac-4c67-b146-163bfd522f1b</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;On macOS there are similar issues, with a bit different resolution:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;export spdlog_DIR=/usr/local/var/vcpkg/packages/spdlog_x64-osx
export fmt_DIR=/usr/local/var/vcpkg/packages/fmt_x64-osx
export Catch2_DIR=/usr/local/var/vcpkg/packages/catch2_x64-osx

cmake -G Ninja -DCOMPILE_CONNECTIVITY=1 -DCONNECTIVITY_VERSION=4.1.4 -DNRF_BLE_DRIVER_VERSION=4.1.4 -DASIO_INCLUDE_DIR=/usr/local/var/vcpkg/packages/asio_x64-osx/include ..&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And make sure to have &lt;strong&gt;GNUARMEMB_TOOLCHAIN_PATH&lt;/strong&gt; pointing to &lt;strong&gt;gcc-arm-none-eabi-7-2018-q2-update&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver cannot be built with current instructions</title><link>https://devzone.nordicsemi.com/thread/332033?ContentTypeID=1</link><pubDate>Thu, 30 Sep 2021 23:52:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:657e2e30-5536-4ed9-bed0-b4150ee9bcb3</guid><dc:creator>Pierre Landau</dc:creator><description>&lt;p&gt;So I finally figured this out.&amp;nbsp; Short answer: NONE of the above installers correctly update the necessary environment variables for Windows.&amp;nbsp; You need to go into the system environment variables and do the following:&lt;/p&gt;
&lt;p&gt;1) Add the following to PATH: c:\cmake\bin; c:\program files\git\bin; c: \program files (x86)\Microsoft Visual Studio 10.0\VC\bin&lt;/p&gt;
&lt;p&gt;2) Set CMAKE_C_COMPILER to &amp;quot;cl.exe&amp;quot; and CMAKE_CXX_COMPILER to &amp;quot;cl.exe&amp;quot;&lt;/p&gt;
&lt;p&gt;3) Set ASIO_INCLUDE_DIR to the include directory you created during VCPKG install at ...\vcpkg\packages\asio_x64-windows\include&lt;/p&gt;
&lt;p&gt;4) Set spdlog_DIR to the include directory you created during VCPKG install at ...\vcpkg\packages|spdlog_x64-windows\share\spdlog&lt;/p&gt;
&lt;p&gt;5) in CMakeLists.txt, make sure that you add the path to spdlog to CMAKE_PREFIX_PATH, e.g. set (CMAKE_PREFIX_PATH &amp;quot;c:/projects/vcpkg/spdlog_65-windows:${CMAKE_PREFIX_PATH}&amp;quot;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver cannot be built with current instructions</title><link>https://devzone.nordicsemi.com/thread/330513?ContentTypeID=1</link><pubDate>Tue, 21 Sep 2021 14:24:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ccd3b8d-5fe6-4777-a3e2-8d5058d2a3cb</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Pierre,&lt;/p&gt;
&lt;p&gt;Thanks for reporting this. I have forwarded this to the pc-ble-driver developers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>