<?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>Cannot build example code for NRF5340</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/99116/cannot-build-example-code-for-nrf5340</link><description>Running on Mac OS 11.6 
 Using NRF Connect SDK V2.3.0 
 
 1. Installed NRF Connect for Desktop as well as NRF Command line tools and SEGGER 
 2. Installed Nordic extension for VSCode 
 3. Tried to start a new application with extension and it fails 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Apr 2023 00:35:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/99116/cannot-build-example-code-for-nrf5340" /><item><title>RE: Cannot build example code for NRF5340</title><link>https://devzone.nordicsemi.com/thread/422609?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2023 00:35:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfb1248a-f06a-4a56-8ed5-91c649af5ed1</guid><dc:creator>jthmp-whistle</dc:creator><description>&lt;p&gt;So, after updating my Mac OS to 13 everything works!&lt;/p&gt;
&lt;p&gt;Looks like some of the libraries needed by nrf connect were not compatible with Mac OS 11.6&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot build example code for NRF5340</title><link>https://devzone.nordicsemi.com/thread/422534?ContentTypeID=1</link><pubDate>Wed, 26 Apr 2023 13:02:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:024a918f-d515-43db-a19d-c663d1d6a27b</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="jthmp-whistle"] dyld: Symbol not found: __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv[/quote]
&lt;p&gt;Does your Mac have an M1 chip? By looking at similar issues online, this seems to be an issue with M1 Macs with macOS 11.&lt;/p&gt;
&lt;p&gt;If you look in &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.3.0/nrf/getting_started/recommended_versions.html#supported-operating-systems"&gt;nRF Connect SDK - Supported operating systems&lt;/a&gt;, you can see that macOS 11 with M1 is not supported. If your Mac has an M1 chip, you must upgrade to macOS 12.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot build example code for NRF5340</title><link>https://devzone.nordicsemi.com/thread/422390?ContentTypeID=1</link><pubDate>Tue, 25 Apr 2023 23:47:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f00891a-6cbd-4a26-bd04-874622e44f63</guid><dc:creator>jthmp-whistle</dc:creator><description>&lt;p&gt;When I try to run west flash I get:&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&amp;nbsp;&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&amp;nbsp; dyld: Symbol not found: __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &lt;/span&gt;Referenced from: /usr/local/bin/nrfjprog (which was built for Mac OS X 13.0)&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &lt;/span&gt;Expected in: /usr/lib/libc++.1.dylib&lt;br /&gt;&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;since I have mac os 11.6 this could be the issue&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;should I downgrade my command line too?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot build example code for NRF5340</title><link>https://devzone.nordicsemi.com/thread/422387?ContentTypeID=1</link><pubDate>Tue, 25 Apr 2023 23:30:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c93dc7f-918b-4631-b3ff-9626773a3877</guid><dc:creator>jthmp-whistle</dc:creator><description>&lt;p&gt;I&amp;#39;m attempting to use the &amp;#39;Update SDK&amp;#39; button on the toolchain manager to see if that resolves anything.&lt;/p&gt;
&lt;p&gt;After updating, it looks like building with &amp;#39;west&amp;#39; works&lt;/p&gt;
&lt;p&gt;BUT, the vscode extension still doesn&amp;#39;t work - same error&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>