<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — Not Able to Compile]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1794&amp;type=atom" />
	<updated>2024-04-30T16:19:04Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=1794</id>
		<entry>
			<title type="html"><![CDATA[Re: Not Able to Compile]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=5509#p5509" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[remotexy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2</uri>
			</author>
			<updated>2024-04-30T16:19:04Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=5509#p5509</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Not Able to Compile]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=5503#p5503" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[JimE]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2569</uri>
			</author>
			<updated>2024-04-29T00:48:08Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=5503#p5503</id>
		</entry>
</feed>
