<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: Lots of compiler errors when verifying example program for the first time.</title>
		<link>http://forums.leaflabs.com/topic.php?id=74076</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:18:09 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=74076" rel="self" type="application/rss+xml" />

		<item>
			<title>ftb44 on "Lots of compiler errors when verifying example program for the first time."</title>
			<link>http://forums.leaflabs.com/topic.php?id=74076#post-104829</link>
			<pubDate>Mon, 28 Oct 2013 16:06:18 +0000</pubDate>
			<dc:creator>ftb44</dc:creator>
			<guid isPermaLink="false">104829@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thanks for the reply!  I have a lot of different compilers on this particular laptop so I am sure that you are on the right track.  I installed it on a different machine and everything worked perfectly, so this problem is no longer important for now.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Lots of compiler errors when verifying example program for the first time."</title>
			<link>http://forums.leaflabs.com/topic.php?id=74076#post-104813</link>
			<pubDate>Wed, 23 Oct 2013 18:45:57 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">104813@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;ftb44 - those erros look like the wrong header file is being included.&#60;br /&#62;
I am using Mac, not Windows, so my suggestions will not have the right file paths&#60;/p&#62;
&#60;p&#62;There are two versions of math.h, one is for C, and is at&#60;br /&#62;
./hardware/tools/arm/arm-none-eabi/include/math.h&#60;br /&#62;
on my Mac, and is, I think the correct one.&#60;/p&#62;
&#60;p&#62;The other is for C++, and is at&#60;br /&#62;
./hardware/tools/arm/arm-none-eabi/include/c++/4.4.1/tr1/math.h&#60;br /&#62;
which looks like the errors you have.&#60;/p&#62;
&#60;p&#62;I don't use Windows, so I can't give you a fix. I am surprised though, as you are the first to report this that I remember, and plenty of folks use Windows.&#60;br /&#62;
Have you got another IDE which uses gcc, g++ or some other C/C++? Is it possible that there is some interaction causing this?&#60;/p&#62;
&#60;p&#62;(Full disclosure: I am not a member of LeafLabs staff.)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ftb44 on "Lots of compiler errors when verifying example program for the first time."</title>
			<link>http://forums.leaflabs.com/topic.php?id=74076#post-104811</link>
			<pubDate>Wed, 23 Oct 2013 13:02:27 +0000</pubDate>
			<dc:creator>ftb44</dc:creator>
			<guid isPermaLink="false">104811@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi everyone!  &#60;/p&#62;
&#60;p&#62;I just received my Maple r5 and this afternoon I tried to run some example code.  Problem is, when I load the example code, I get a LOT of compiler errors.  Here's the code:  &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/*
 Button

 Turns on and off the built-in LED when the built-in button is
 pressed.

 Ported to Maple from the Arduino example 27 May 2011
 by Marti Bolivar
*/

void setup() {
  // Initialize the built-in LED pin as an output:
  pinMode(BOARD_LED_PIN, OUTPUT);
  // Initialize the built-in button (labeled BUT) as an input:
  pinMode(BOARD_BUTTON_PIN, INPUT);
}

void loop() {
    // Check if the button is pressed.
    if (isButtonPressed()) {
        // If so, turn the LED from on to off, or from off to on:
        toggleLED();
    }
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and here are my errors:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;Going to build using &#38;#39;armcompiler&#38;#39; (ARM)
	Compiling core...

                 from [redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/stdlib.h:32,

                 from [redacted]maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple\wirish_math.cpp:24:

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:102: error: &#38;#39;::div_t&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:103: error: &#38;#39;::ldiv_t&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:105: error: &#38;#39;::abort&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:106: error: &#38;#39;::abs&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:107: error: &#38;#39;::atexit&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:108: error: &#38;#39;::atof&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:109: error: &#38;#39;::atoi&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:110: error: &#38;#39;::atol&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:111: error: &#38;#39;::bsearch&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:112: error: &#38;#39;::calloc&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:113: error: &#38;#39;::div&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:114: error: &#38;#39;::exit&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:115: error: &#38;#39;::free&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:116: error: &#38;#39;::getenv&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:117: error: &#38;#39;::labs&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:118: error: &#38;#39;::ldiv&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:119: error: &#38;#39;::malloc&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:121: error: &#38;#39;::mblen&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:122: error: &#38;#39;::mbstowcs&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:123: error: &#38;#39;::mbtowc&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:125: error: &#38;#39;::qsort&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:126: error: &#38;#39;::rand&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:127: error: &#38;#39;::realloc&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:128: error: &#38;#39;::srand&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:129: error: &#38;#39;::strtod&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:130: error: &#38;#39;::strtol&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:131: error: &#38;#39;::strtoul&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:132: error: &#38;#39;::system&#38;#39; has not been declared

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib: In function &#38;#39;long int std::abs(long int)&#38;#39;:

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:139: error: &#38;#39;labs&#38;#39; was not declared in this scope

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib: At global scope:

[redacted]maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/c++/4.4.1/cstdlib:141: error: &#38;#39;ldiv_t&#38;#39; does not name a type

[redacted]maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple\wirish_math.cpp: In function &#38;#39;void randomSeed(unsigned int)&#38;#39;:

[redacted]maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple\wirish_math.cpp:29: error: &#38;#39;srand&#38;#39; was not declared in this scope

[redacted]maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple\wirish_math.cpp: In function &#38;#39;long int random(long int)&#38;#39;:

[redacted]maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple\wirish_math.cpp:38: error: &#38;#39;rand&#38;#39; was not declared in this scope&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;(The [redacted] portions are just the directory structure, censored because my username was visible.)
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
