<?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>variables &amp;quot;not declared in this scope&amp;quot;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11439/variables-not-declared-in-this-scope</link><description>Hello, 
 I am using Eclipse to create a project using code from ble_app_hrs and I am developing for a nrf52832 chip. Unfortunately, I am getting a &amp;quot;was not declared in this scope&amp;quot; for almost every variable I am including from another file of the SDK</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Jan 2019 10:53:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11439/variables-not-declared-in-this-scope" /><item><title>RE: variables "not declared in this scope"</title><link>https://devzone.nordicsemi.com/thread/167337?ContentTypeID=1</link><pubDate>Wed, 23 Jan 2019 10:53:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5938e531-5f14-4b15-a1b0-031ddfd4a4c9</guid><dc:creator>Jorg_976</dc:creator><description>&lt;div class="floatingSponsor"&gt;&lt;span&gt;In my last&amp;nbsp;article I wrote about&amp;nbsp; Eclipse&amp;nbsp;platform (I work in &lt;a href="https://adsy.com/"&gt;Adsy&lt;/a&gt;) &lt;/span&gt;&lt;/div&gt;
&lt;div class="floatingSponsor"&gt;&lt;span&gt;The Eclipse platform is a generic integrated development environment (IDE) foundation without a specific programming language. The platform contains IDE functionality and is built with components creating applications by using component subsets.&lt;/span&gt;
&lt;div&gt;
&lt;div itemprop="description"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: variables "not declared in this scope"</title><link>https://devzone.nordicsemi.com/thread/43162?ContentTypeID=1</link><pubDate>Fri, 22 Jan 2016 21:28:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e40df4ee-12a5-4b84-be48-1ef909d90403</guid><dc:creator>seanbites</dc:creator><description>&lt;p&gt;I believe the tutorial I followed has an error in it! When creating a new project (under the &amp;#39;&amp;#39;create a new eclipse project&amp;#39;&amp;#39; title) using the code provided in the Nordic SDK, you have to uncheck the C++ checkbox, but the screen shot shows this box as checked. If it is unchecked at the creation of the project, the code complies nicely :) Just a friendly heads up to the people that created this tutorial.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: variables "not declared in this scope"</title><link>https://devzone.nordicsemi.com/thread/43161?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2016 14:17:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ebe63a2-91ec-4bdc-985d-0fe7f013ab48</guid><dc:creator>seanbites</dc:creator><description>&lt;p&gt;Hmm well that has set me on the right path, thank you very much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: variables "not declared in this scope"</title><link>https://devzone.nordicsemi.com/thread/43160?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2016 14:16:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ce26448-8bdd-4398-8f08-08b8e8877a0b</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;AFAIK, Nordic SDK is prepared to be used with clean C, not C++. I have not seen any C++ in any functions&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: variables "not declared in this scope"</title><link>https://devzone.nordicsemi.com/thread/43159?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2016 14:01:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:151ed257-6b4b-4bb2-9889-e2c89c8814a0</guid><dc:creator>seanbites</dc:creator><description>&lt;p&gt;I am using code provided from nordic&amp;#39;s SDK (copy-pasted into a new C++ project). Why would it work for them to use c and C++ in the same function and not work properly for me? Is there a project setting that I have not seen?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: variables "not declared in this scope"</title><link>https://devzone.nordicsemi.com/thread/43158?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2016 13:45:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f4a0591-acc6-42a8-9fbe-26a034545314</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Oh it&amp;#39;s c++, you need to use std::memset and you need to ensure all the other c-only headers are enclosed in extern &amp;quot;C&amp;quot; { ... }&lt;/p&gt;
&lt;p&gt;are you sure you want to be using c++&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: variables "not declared in this scope"</title><link>https://devzone.nordicsemi.com/thread/43157?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2016 01:27:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba7bc57f-2e83-432d-83dd-3815fdabacdc</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;You need to post an example of a few lines of code which isn&amp;#39;t compiling and the full actual error message it&amp;#39;s generating, without that it&amp;#39;s really impossible to give you very much advice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>