<?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>Eclipse cannot find &amp;lt;stdint.h&amp;gt; &amp;amp; &amp;lt;string.h&amp;gt; on Mac OS X</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14343/eclipse-cannot-find-stdint-h-string-h-on-mac-os-x</link><description>Hello everyone~ 
 I&amp;#39;m setting up an eclipse and gcc development environment on Mac OS X following Vidar Berg&amp;#39;s tutorial here: https://devzone.nordicsemi.com/tutorials/7/development-with-gcc-and-eclipse/ 
 However, I met two problems. 
 1.According</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 10 Jul 2016 08:23:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14343/eclipse-cannot-find-stdint-h-string-h-on-mac-os-x" /><item><title>RE: Eclipse cannot find &lt;stdint.h&gt; &amp; &lt;string.h&gt; on Mac OS X</title><link>https://devzone.nordicsemi.com/thread/54782?ContentTypeID=1</link><pubDate>Sun, 10 Jul 2016 08:23:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a655554-88d2-46ee-bee8-c115b7f9089a</guid><dc:creator>ndr</dc:creator><description>&lt;p&gt;Hi, thank you for the replay. Yes I read all the answers before making a new one, but still not able to know the reason.
I have set the
Build tools folder to: /usr/bin
and the
Toolchain folder to: /some_path/gcc-arm-none-eabi-5_4-2016q2/bin&lt;/p&gt;
&lt;p&gt;I also tried using the GNU toolchain for ARM version 4.9 but no luck.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eclipse cannot find &lt;stdint.h&gt; &amp; &lt;string.h&gt; on Mac OS X</title><link>https://devzone.nordicsemi.com/thread/54781?ContentTypeID=1</link><pubDate>Sun, 10 Jul 2016 01:25:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19c93842-3673-436c-a6c4-2421601f85d7</guid><dc:creator>Bee</dc:creator><description>&lt;p&gt;Hi ndr. First you can check if you set the right build tool folder. If you are using Mac OS X, the correct path is /usr/bin.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eclipse cannot find &lt;stdint.h&gt; &amp; &lt;string.h&gt; on Mac OS X</title><link>https://devzone.nordicsemi.com/thread/54780?ContentTypeID=1</link><pubDate>Sat, 09 Jul 2016 20:45:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75ca25ef-6042-4ceb-82f8-299fdeb39d26</guid><dc:creator>ndr</dc:creator><description>&lt;p&gt;I am having the same issue. I don&amp;#39;t know if I should post a new question or write here, but I&amp;#39;ll give it a try here first.&lt;/p&gt;
&lt;p&gt;So, the project builds without problems. The only problem is that eclipse is unable to resolve the inclusions. I went through the tutorial a couple of times and I am quite sure that I double checked everything. Any ideas?
Thank you in advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eclipse cannot find &lt;stdint.h&gt; &amp; &lt;string.h&gt; on Mac OS X</title><link>https://devzone.nordicsemi.com/thread/54784?ContentTypeID=1</link><pubDate>Sun, 19 Jun 2016 08:50:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:598d9176-0705-4085-8a74-f5fbe30dcab0</guid><dc:creator>Bee</dc:creator><description>&lt;p&gt;Thank you, Vidar. I&amp;#39;ve solved the problem. The reason is that my build tool folder: /usr/bin/make is wrong. The correct path is /usr/bin. Thank you for your reminding.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eclipse cannot find &lt;stdint.h&gt; &amp; &lt;string.h&gt; on Mac OS X</title><link>https://devzone.nordicsemi.com/thread/54779?ContentTypeID=1</link><pubDate>Sun, 19 Jun 2016 08:49:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e10400cc-64c5-4b71-b1eb-d1cc2c80d170</guid><dc:creator>Bee</dc:creator><description>&lt;p&gt;Thank you, Vidar. I&amp;#39;ve solved the problem. The reason is that my build tool folder: &lt;strong&gt;/usr/bin/make&lt;/strong&gt; is wrong. The correct path is &lt;strong&gt;/usr/bin&lt;/strong&gt;. Thank you for your reminding.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eclipse cannot find &lt;stdint.h&gt; &amp; &lt;string.h&gt; on Mac OS X</title><link>https://devzone.nordicsemi.com/thread/54778?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2016 11:21:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2be9768e-d1e0-4c38-872f-73f370f00003</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Sounds like it is related to the project setup since the example projects work. Unfortunately it is a bit hard to pinpoint what setting is wrong. I would suggest to compare your project settings against the working one and see if there are any differences that may be relevant.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eclipse cannot find &lt;stdint.h&gt; &amp; &lt;string.h&gt; on Mac OS X</title><link>https://devzone.nordicsemi.com/thread/54777?ContentTypeID=1</link><pubDate>Mon, 13 Jun 2016 14:39:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:377f494a-3377-433a-8033-f3e5ea24d96a</guid><dc:creator>Bee</dc:creator><description>&lt;p&gt;I set Eclipse global preferences like this:
Build tool folder: &lt;strong&gt;/usr/bin/make&lt;/strong&gt;
Toolchain folder:&lt;strong&gt;/usr/local/gcc-arm-none-eabi-4_9-2015q3/bin&lt;/strong&gt;
I&amp;#39;m not sure if it&amp;#39;s right because this is a mac os x path. But I&amp;#39;m sure both the examples you gave in the tutorial works fine, no problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eclipse cannot find &lt;stdint.h&gt; &amp; &lt;string.h&gt; on Mac OS X</title><link>https://devzone.nordicsemi.com/thread/54776?ContentTypeID=1</link><pubDate>Mon, 13 Jun 2016 14:29:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:568efb16-bb4e-45f2-91cc-57a8ccbb9aea</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;hm, please make sure you have set the correct path to your toolchain in preferences -&amp;gt; C/C++ -&amp;gt; Build -&amp;gt; Global tool paths. On my windows system it is C:\Program Files (x86)\GNU Tools ARM Embedded\4.9 2015q3\bin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eclipse cannot find &lt;stdint.h&gt; &amp; &lt;string.h&gt; on Mac OS X</title><link>https://devzone.nordicsemi.com/thread/54775?ContentTypeID=1</link><pubDate>Mon, 13 Jun 2016 14:26:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dc78d7a-6453-4007-8345-d19f3a7f895d</guid><dc:creator>Bee</dc:creator><description>&lt;p&gt;Sorry, I have to tell you it won&amp;#39;t work. I have to Macs, a Mac mini and a Macbook Pro. Both of them met this problem and I&amp;#39;m sure I just followed that tutorial. Are there any other potential reasons?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eclipse cannot find &lt;stdint.h&gt; &amp; &lt;string.h&gt; on Mac OS X</title><link>https://devzone.nordicsemi.com/thread/54774?ContentTypeID=1</link><pubDate>Mon, 13 Jun 2016 09:23:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:224a500c-6747-4946-83c2-48f3bd9ed462</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Paths to the standard libraries should be added automatically if you enable CDT Built-in Compiler Settings Cross ARM as described in the &amp;quot;Enable auto discovery of symbols, include paths and compiler settings&amp;quot; of the tutorial.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eclipse cannot find &lt;stdint.h&gt; &amp; &lt;string.h&gt; on Mac OS X</title><link>https://devzone.nordicsemi.com/thread/54783?ContentTypeID=1</link><pubDate>Tue, 07 Jun 2016 12:32:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b8b2526-7b2b-4802-a1a6-4a4a888a144f</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Q1: Did you download the &amp;quot;template project&amp;quot; for blinky located in the end of the tutorial and point to it? If you point directly to the standard SDK, it will not have anything else than a makefile, and eclipse will state it&amp;#39;s empty.&lt;/p&gt;
&lt;p&gt;Q2: These are standard includes, which shall be provided by the compiler.
It&amp;#39;s the eclipse c/c++ indexer that triggers, as this is not a path that is included in the Makefile.&lt;/p&gt;
&lt;p&gt;You can add the path to stdint/string etc by adding a include in the c/c++ indexer:
&lt;a href="http://www.eclipse.org/community/eclipse_newsletter/2013/october/article4.php"&gt;www.eclipse.org/.../article4.php&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;These are in the include folder to the compiler. I&amp;#39;m not sure where its located on osx by default, but on windows it&amp;#39;s located here:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;C:\Program Files (x86)\GNU Tools ARM Embedded\5.2 2015q4\arm-none-eabi\include
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Cheers,
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>