<?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 build up error on windows</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65286/pc-ble-driver-build-up-error-on-windows</link><description>Hi, 
 I want to build up a test software to test our product. 
 I find out pc-ble-driver that might be conformed our requirement and follow up below link to set up environment on windows 10 
 https://github.com/NordicSemiconductor/pc-ble-driver 
 And</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Sep 2020 03:19:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65286/pc-ble-driver-build-up-error-on-windows" /><item><title>RE: pc-ble-driver build up error on windows</title><link>https://devzone.nordicsemi.com/thread/268168?ContentTypeID=1</link><pubDate>Mon, 07 Sep 2020 03:19:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cc97187-1cb4-4586-ba73-666b7d359f34</guid><dc:creator>Ben</dc:creator><description>&lt;div class="author"&gt;
&lt;div class="avatar"&gt;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/countach"&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="content full threaded-reply-content user-defined-markup"&gt;
&lt;div class="content"&gt;
&lt;p&gt;Hi Susheel,&lt;/p&gt;
&lt;p&gt;It can be built after I add a loss environment variables &amp;quot;VCPKG_ROOT&amp;quot; and re-install CMake.&lt;/p&gt;
&lt;p&gt;Thank you for your assistance.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver build up error on windows</title><link>https://devzone.nordicsemi.com/thread/267989?ContentTypeID=1</link><pubDate>Fri, 04 Sep 2020 08:52:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80318553-04c2-46fa-bc3d-e7c60991f9f2</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I am not so familiar with the spdlog, but it seems like it has some environment variables missing as it cannot find the minimal files it needs to function.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver build up error on windows</title><link>https://devzone.nordicsemi.com/thread/267149?ContentTypeID=1</link><pubDate>Mon, 31 Aug 2020 08:30:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f48b47a-6882-4e05-8299-38f4cb5f80fe</guid><dc:creator>Ben</dc:creator><description>&lt;p&gt;Hi Susheel,&lt;/p&gt;
&lt;p&gt;I try to follow below link to install spdlog and set up environment variables:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/gabime/spdlog"&gt;https://github.com/gabime/spdlog&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But, it appears some error for finding makefile.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;C:\dev\spdlog-1.x\build&amp;gt;cmake .. &amp;amp;&amp;amp; make -j
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.17763.
-- Build spdlog: 1.7.0
-- Build type: Release
-- Generating example(s)
-- Generating install
-- Configuring done
-- Generating done
-- Build files have been written to: C:/dev/spdlog-1.x/build
make: *** No targets specified and no makefile found.  Stop.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;System environment variables by using windows GUI.&lt;/p&gt;
&lt;p&gt;C:\dev\spdlog-1.x\build &amp;amp;&amp;nbsp;C:\dev\spdlog-1.x in path&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I return the build folder and add &amp;quot;..&amp;quot; end of my command to let it return to upper layer path.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;D:\Delta\BLE\HCI\pc-ble-driver-master\build&amp;gt;cmake -DBOOST_ROOT=C:\boost\boost_1_68_0 -DBOOST_LIBRARYDIR=C:\boost\boost_1_68_0\stage\lib ..
-- NRF_BLE_DRIVER_VERSION not specified, setting it to 0.0.0
CMake Warning at C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:116 (message):
  Unable to determine target architecture, continuing without vcpkg.
Call Stack (most recent call first):
  build/CMakeFiles/3.18.2/CMakeSystem.cmake:6 (include)
  CMakeLists.txt:25 (project)


-- Architecture not set, using native 64-bit toolchain.
-- Building with build type: .
CMake Error at C:/dev/spdlog-1.x/build/spdlogConfig.cmake:15 (include):
  include could not find load file:

    C:/dev/spdlog-1.x/build/spdlogConfigTargets.cmake
Call Stack (most recent call first):
  test/CMakeLists.txt:14 (find_package)


CMake Error at test/CMakeLists.txt:16 (find_package):
  Could not find a package configuration file provided by &amp;quot;Catch2&amp;quot; with any
  of the following names:

    Catch2Config.cmake
    catch2-config.cmake

  Add the installation prefix of &amp;quot;Catch2&amp;quot; to CMAKE_PREFIX_PATH or set
  &amp;quot;Catch2_DIR&amp;quot; to a directory containing one of the above files.  If &amp;quot;Catch2&amp;quot;
  provides a separate development package or SDK, be sure it has been
  installed.&lt;/pre&gt;It looks like catch2 can&amp;#39;t be found that does mean the previous step of&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;vcpkg install asio catch2 spdlog not working?&lt;br /&gt;&lt;br /&gt;Thank you.&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver build up error on windows</title><link>https://devzone.nordicsemi.com/thread/267126?ContentTypeID=1</link><pubDate>Mon, 31 Aug 2020 07:17:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b22f8d40-66a1-4fe3-9082-c46c4635cb0f</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Ben,&lt;br /&gt;You need to point to a valid build directory in your command line&lt;/p&gt;
&lt;div&gt;&amp;quot;cmake -DBOOST_ROOT=C:\boost\boost_1_68_0 -DBOOST_LIBRARYDIR=C:\boost\boost_1_68_0\stage\lib &amp;quot; there&amp;#39;s no &amp;quot;..&amp;quot; in the end of your command.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;My colleague Håkon Alseth noticed it.&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver build up error on windows</title><link>https://devzone.nordicsemi.com/thread/267110?ContentTypeID=1</link><pubDate>Mon, 31 Aug 2020 03:11:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e283dbc4-6d2a-4dec-98a2-29d7ed531875</guid><dc:creator>Ben</dc:creator><description>&lt;p&gt;Hi Susheel,&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;I try to add environment variables in system variables of windows GUI, and add it directly in command line console. In command line, it displays as below:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;D:\Delta\BLE\HCI\pc-ble-driver-master\test&amp;gt;cmake -DBOOST_ROOT=C:\boost\boost_1_68_0 -DBOOST_LIBRARYDIR=C:\boost\boost_1_68_0\stage\lib
CMake Warning:
  No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note that this warning will
  become a fatal error in future CMake releases.


CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a &amp;quot;project(Project)&amp;quot; command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.17763.
CMake Error at CMakeLists.txt:16 (find_package):
  Could not find a package configuration file provided by &amp;quot;spdlog&amp;quot; with any
  of the following names:

    spdlogConfig.cmake
    spdlog-config.cmake

  Add the installation prefix of &amp;quot;spdlog&amp;quot; to CMAKE_PREFIX_PATH or set
  &amp;quot;spdlog_DIR&amp;quot; to a directory containing one of the above files.  If &amp;quot;spdlog&amp;quot;
  provides a separate development package or SDK, be sure it has been
  installed.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;In CMakeLists.txt file of text folder, the line 16 is&amp;nbsp;find_package(spdlog CONFIG REQUIRED).&lt;/p&gt;
&lt;p&gt;But, above this message, I get there is no source and projectName warning message&amp;nbsp;which project&amp;nbsp;name should I add in CMakeLists.txt?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver build up error on windows</title><link>https://devzone.nordicsemi.com/thread/266958?ContentTypeID=1</link><pubDate>Fri, 28 Aug 2020 10:35:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d59a83c-3360-48e9-9eff-c0c7083daca8</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Ben,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Have you tried&amp;nbsp;&lt;/span&gt;&lt;a href="https://stackoverflow.com/a/38905790"&gt;passing the variables directly to cMake&lt;/a&gt;&lt;span&gt;?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>