1 (edited by vikuro55 2024-06-04 19:28:28)

Topic: Can't compile anymore

I never had any issue before but today after updating and changing stuff from the editor it no longer wants to to compile and i have a small project to do for tomorrow so its very urgent, i keep getting this error:


"In file included from C:\Users\Vikuro\AppData\Local\Temp\.arduinoIDE-unsaved202454-10324-13je2w5.zbk9\sketch_jun4b\sketch_jun4b.ino:11:
C:\Users\Vikuro\AppData\Local\Temp\.arduinoIDE-unsaved202454-10324-13je2w5.zbk9\sketch_jun4b\sketch_jun4b.ino: In function 'void setup()':
c:\Users\Vikuro\Documents\Arduino\libraries\RemoteXY\src/RemoteXY.h:208:122: error: expected type-specifier before 'CRemoteXYComm_WiFiPoint'
  208 |   #define RemoteXY_Init() remotexy = new CRemoteXY (RemoteXY_CONF_PROGMEM, &RemoteXY, new CRemoteXYConnectionServer (new CRemoteXYComm_WiFiPoint (REMOTEXY_WIFI_SSID, REMOTEXY_WIFI_PASSWORD), REMOTEXY_SERVER_PORT), REMOTEXY_ACCESS_PASSWORD)
      |                                                                                                                          ^~~~~~~~~~~~~~~~~~~~~~~
C:\Users\Vikuro\AppData\Local\Temp\.arduinoIDE-unsaved202454-10324-13je2w5.zbk9\sketch_jun4b\sketch_jun4b.ino:42:3: note: in expansion of macro 'RemoteXY_Init'
   42 |   RemoteXY_Init ();
      |   ^~~~~~~~~~~~~

exit status 1

Compilation error: exit status 1"



Any help what any of this means? i'm not an expert, its my first project using Remotexy
When i removed RemoteXY_Init (), it did compile but i couldn't connect to Wifi.

2

Re: Can't compile anymore

Update: Changing the board "esp32 by Espressif" version from 3.0.1 to 2.0.17 fixed the issue.

3

Re: Can't compile anymore

You can try the RemoteXY library version 3.1.14