<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — Made changes, now won't compile]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1560&amp;type=atom" />
	<updated>2022-11-21T17:32:23Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=1560</id>
		<entry>
			<title type="html"><![CDATA[Re: Made changes, now won't compile]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4865#p4865" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Daba]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=630</uri>
			</author>
			<updated>2022-11-21T17:32:23Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4865#p4865</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Made changes, now won't compile]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4863#p4863" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Daba]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=630</uri>
			</author>
			<updated>2022-11-20T23:18:41Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4863#p4863</id>
		</entry>
</feed>
