<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — Made changes, now won't compile]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=1560</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1560&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Made changes, now won't compile.]]></description>
		<lastBuildDate>Mon, 21 Nov 2022 17:32:23 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Made changes, now won't compile]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=4865#p4865</link>
			<description><![CDATA[<p>OK, so I have tracked down the cause of these errors.</p><p>Everything was compiling OK up to the point where I copy/pasted a new RemoteXY configuration block of code.</p><p>The problem is being caused by there being an &quot;incorrect&quot; white-space after the compiler directives #include &amp; #define.</p><p>I noticed that the IDE wasn&#039;t colouring them as it normally does, and simply back-spacing the &quot;spaces&quot; and replacing them with proper spaces allowed the IDE to see them as directives.</p><p>I verified this is the issue by opening an older project, and it compiled perfectly. I then replaced the RemoteXY configuration by copy/pasting from the online editor, and it didn&#039;t compile.</p><p>I don&#039;t know what has caused this, has the RemoteXY code generator been changed and it is now putting the &quot;wrong&quot; kind of space character ?</p>]]></description>
			<author><![CDATA[null@example.com (Daba)]]></author>
			<pubDate>Mon, 21 Nov 2022 17:32:23 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=4865#p4865</guid>
		</item>
		<item>
			<title><![CDATA[Made changes, now won't compile]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=4863#p4863</link>
			<description><![CDATA[<p>I had a previously working project (Teensy 3.2) that I made some cosmetic changes to, now it won&#039;t compile, and the errors I am getting are flagged up in the RemoteXY configuration copied from the online editor.</p><p>I am completely bemused by this error, and don&#039;t understand how it can have been introduced by any code changes I have made in the body code.</p><p>I have checked that I have library RemoteXY installed (Version 3.1.9)</p><p>These are the errors flagged...</p><div class="codebox"><pre><code>In file included from C:\Users\Dave\Documents\Arduino Projects\pRojeCt_BEAT\pRojeCt_BEAT.ino:15:0:
Remote_XY.hpp:6: error: macro names must be identifiers
 #define REMOTEXY_MODE__HARDSERIAL
        ^
Remote_XY.hpp:8: error: #include expects &quot;FILENAME&quot; or &lt;FILENAME&gt;
 #include &lt;RemoteXY.h&gt;
         ^
Remote_XY.hpp:11: error: macro names must be identifiers
 #define REMOTEXY_SERIAL Serial1
        ^
Remote_XY.hpp:12: error: macro names must be identifiers
 #define REMOTEXY_SERIAL_SPEED 9600
        ^
macro names must be identifiers</code></pre></div><p>My RemoteXY config is in a separate tab called &quot;RemoteXY.hpp&quot;, which is where all the errors are being called out. This file is included in my body code, which used to work fine, and is the way I normally do things.</p><div class="codebox"><pre><code>// include the RemoteXY setup
#include &quot;Remote_XY.hpp&quot; </code></pre></div><p>Any help would be appreciated ...</p>]]></description>
			<author><![CDATA[null@example.com (Daba)]]></author>
			<pubDate>Sun, 20 Nov 2022 23:18:41 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=4863#p4863</guid>
		</item>
	</channel>
</rss>
