<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — Not Able to Compile]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=1794</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1794&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Not Able to Compile.]]></description>
		<lastBuildDate>Tue, 30 Apr 2024 16:19:04 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Not Able to Compile]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5509#p5509</link>
			<description><![CDATA[<p>If you do not use RemoteXY_Init () function in the setup(), you need to remove #define REMOTEXY_MODE__XXXX definition.</p><div class="codebox"><pre><code>// #define REMOTEXY_MODE__ESP8266WIFI_LIB</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (remotexy)]]></author>
			<pubDate>Tue, 30 Apr 2024 16:19:04 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5509#p5509</guid>
		</item>
		<item>
			<title><![CDATA[Not Able to Compile]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5503#p5503</link>
			<description><![CDATA[<p>I have the following issue when I attempt to compile using VSCode</p><p>lib\RemoteXY/RemoteXY2.h:196:122: error: expected type-specifier before &#039;CRemoteXYComm_WiFi&#039;<br />&nbsp; 196 |&nbsp; &nbsp;#define RemoteXY_Init() remotexy = new CRemoteXY (RemoteXY_CONF_PROGMEM, &amp;RemoteXY, new CRemoteXYConnectionServer (new CRemoteXYComm_WiFi (REMOTEXY_WIFI_SSID, REMOTEXY_WIFI_PASSWORD), REMOTEXY_SERVER_PORT), REMOTEXY_ACCESS_PASSWORD)</p><p>I am attempting to compile this for an ESP8266 using WiFi communication (via a network).&nbsp; If I look at the instance of <br /> CRemoteXYConnectionServer (CRemoteXYComm * _comm, uint16_t _port = 0) <br />It looks like it is expecting something &quot;different&quot; than the CRRemoteXYComm_WiFi.</p><p>I have attempted this with various Library versions (both from PlatformIO and GitHub and this site) - and no difference.&nbsp; <br />I may be missing something silly - but at this point I am at a loss.&nbsp; Note:&nbsp; I also used the alternative code that exists in other examples</p><p>&nbsp; &nbsp; // remotexy = new CRemoteXY(<br />&nbsp; &nbsp; //&nbsp; &nbsp; &nbsp;RemoteXY_CONF_PROGMEM,<br />&nbsp; &nbsp; //&nbsp; &nbsp; &nbsp;&amp;RemoteXY,<br />&nbsp; &nbsp; //&nbsp; &nbsp; &nbsp;new CRemoteXYConnectionServer(<br />&nbsp; &nbsp; // &nbsp; &nbsp;&nbsp; &nbsp; new CRemoteXYComm_WiFi(<br />&nbsp; &nbsp; // &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;SSID1, // REMOTEXY_WIFI_SSID<br />&nbsp; &nbsp; // &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;PSK1), // REMOTEXY_WIFI_PASSWORD<br />&nbsp; &nbsp; // &nbsp; &nbsp;&nbsp; &nbsp; 6377&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;// REMOTEXY_SERVER_PORT<br />&nbsp; &nbsp; // &nbsp; &nbsp;&nbsp; &nbsp; ));</p><p>It has the same failure.</p><p>Thanks</p><br /><p>NEVER MIND:&nbsp; After playing with the LIBRARY files - and recoding some of it - I got it to compile and function.&nbsp; This is a fact I have found happens alot with code built for ArduinoIDE vs VSCode.&nbsp; &nbsp;IMHO - the Arduino does not follow strict C / C++ development requirements (one of the reasons I dont use it).<br />Anyway - it is compiling - and basically running.&nbsp; Still need to reworkd the WiFi code (want to use a static addr) - but that is simply one of &quot;my things&quot;.</p><p>Thanks</p>]]></description>
			<author><![CDATA[null@example.com (JimE)]]></author>
			<pubDate>Mon, 29 Apr 2024 00:48:08 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5503#p5503</guid>
		</item>
	</channel>
</rss>
