<?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>StudioDir variable issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71678/studiodir-variable-issue</link><description>I am attempting to install the nRF Connect SDK on my CentOS 8 machine. It looked like it installed correctly, but when I attempt to load the zephyr sample &amp;quot;Hello World&amp;quot; in the SES application, it errors out with the below messages. My initial guess is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Feb 2021 13:37:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71678/studiodir-variable-issue" /><item><title>RE: StudioDir variable issue</title><link>https://devzone.nordicsemi.com/thread/295598?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2021 13:37:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a4784c3-d673-422f-95f3-9399cc1b64d2</guid><dc:creator>RSemple</dc:creator><description>&lt;p&gt;That did seem to fix the issue! Thank you for your support!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: StudioDir variable issue</title><link>https://devzone.nordicsemi.com/thread/295585?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2021 13:17:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dae0580e-7aad-436d-981f-59ae1abc4691</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi, could you try updating to&amp;nbsp;&lt;span&gt;version 9-2019-q4-major of the&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads"&gt;GNU Arm Embedded Toolchain&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I see from the log you are using an older version.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: StudioDir variable issue</title><link>https://devzone.nordicsemi.com/thread/295571?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2021 12:55:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f384dcb-2a84-47ef-8fc3-a6a3620313b6</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Could you send me the full build folder so I can take a look at the error messages from CMake?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I believe you need to initialize the &amp;quot;nrf&amp;quot; directory (ncs/nrf) as the west workspace, not &amp;quot;ncs&amp;quot;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: StudioDir variable issue</title><link>https://devzone.nordicsemi.com/thread/295358?ContentTypeID=1</link><pubDate>Fri, 19 Feb 2021 13:44:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cb7116c-6899-49ef-810a-6e7c677bedac</guid><dc:creator>RSemple</dc:creator><description>&lt;p&gt;Here is an updated error code after removing the other false directories.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Creating solution hello_world.emProject
cmake -GNinja -DBOARD=thingy91_nrf9160ns -DBOARD_DIR=/home/rs/Downloads/ncs/nrf/boards/arm/thingy91_nrf9160 -B/home/rs/Downloads/ncs/zephyr/samples/hello_world/build_thingy91_nrf9160ns -S/home/rs/Downloads/ncs/zephyr/samples/hello_world -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=/opt/gnuarmemb -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=/home/rs/Downloads/EmbeddedStudio_ARM_Nordic_v534a_linux_x64/arm_segger_embedded_studio_v534a_linux_x64_nordic/html/configure_nordic_project_menuconfig.py
-- The C compiler identification is GNU 8.3.1
-- The CXX compiler identification is GNU 8.3.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /opt/gnuarmemb/bin/arm-none-eabi-gcc
-- Check for working C compiler: /opt/gnuarmemb/bin/arm-none-eabi-gcc - broken
-- Configuring incomplete, errors occurred!
See also &amp;quot;/home/rs/Downloads/ncs/zephyr/samples/hello_world/build_thingy91_nrf9160ns/CMakeFiles/CMakeOutput.log&amp;quot;.
See also &amp;quot;/home/rs/Downloads/ncs/zephyr/samples/hello_world/build_thingy91_nrf9160ns/CMakeFiles/CMakeError.log&amp;quot;.
Including boilerplate (Zephyr base (cached)): /home/rs/Downloads/zephyr/cmake/app/boilerplate.cmake
CMake Error at /home/rs/Downloads/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include):
include could not find load file:

/home/rs/Downloads/zephyr/cmake/app/boilerplate.cmake
Call Stack (most recent call first):
/home/rs/Downloads/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:40 (include_boilerplate)
CMakeLists.txt:5 (find_package)


CMake Error at /usr/local/share/cmake-3.19/Modules/CMakeTestCCompiler.cmake:66 (message):
The C compiler

&amp;quot;/opt/gnuarmemb/bin/arm-none-eabi-gcc&amp;quot;

is not able to compile a simple test program.

It fails with the following output:

Change Dir: /home/rs/Downloads/ncs/zephyr/samples/hello_world/build_thingy91_nrf9160ns/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja-build cmTC_758a5 &amp;amp;&amp;amp; [1/2] Building C object CMakeFiles/cmTC_758a5.dir/testCCompiler.c.o
[2/2] Linking C executable cmTC_758a5
FAILED: cmTC_758a5
: &amp;amp;&amp;amp; /opt/gnuarmemb/bin/arm-none-eabi-gcc CMakeFiles/cmTC_758a5.dir/testCCompiler.c.o -o cmTC_758a5 &amp;amp;&amp;amp; :
/opt/gnuarmemb/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/bin/ld: /opt/gnuarmemb/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/lib/libc.a(lib_a-exit.o): in function `exit&amp;#39;:
exit.c:(.text.exit+0x2c): undefined reference to `_exit&amp;#39;
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.





CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:6 (project)



error: cmake failed
create_nordic_project.py failed (1)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: StudioDir variable issue</title><link>https://devzone.nordicsemi.com/thread/294881?ContentTypeID=1</link><pubDate>Wed, 17 Feb 2021 13:49:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a8510e2-8bd4-4e38-87cd-05ea55505a75</guid><dc:creator>RSemple</dc:creator><description>&lt;p&gt;I have set up the west repository, just in the /home/rs/Downloads/ncs directory instead of the /zephyr directory above. How do I change that variable to update the path specifics?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: StudioDir variable issue</title><link>https://devzone.nordicsemi.com/thread/294744?ContentTypeID=1</link><pubDate>Wed, 17 Feb 2021 05:08:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa03186c-6c06-4003-8e98-9a5844ea4ef3</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It looks like you haven&amp;#39;t set up west yet.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_installing.html?highlight=west#id1"&gt;Cloning the repositories&lt;/a&gt;, do steps 4, 5 and 6 to set ncs as a west workspace and your first fatal error should disappear.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>