Hi, I have tested TCDesigner in Windows 10 and works like a charm, however, when I try to use the Windows 7/8 version in another computer, I can't compile the code.
Arduino gives me the following error:
Arduino: 1.8.13 (Windows 8.1), Board: "Generic STM32F1 series, BluePill F103C8, HID Bootloader 2.2, Enabled (generic 'Serial'), CDC (generic 'Serial' supersede U(S)ART), Low/Full Speed, Smallest (-Os default), Newlib Nano (default)"
sketch\Projects_menu.cpp: In function 'void setupMenu()':
Projects_menu.cpp:93:24: error: cannot convert 'USBSerial*' to 'HardwareSerial*'
93 | remoteServer.begin(&Serial, &applicationInfo);
In file included from sketch\Projects_menu.h:20,
from sketch\Projects_menu.cpp:13:
sketch\SerialTransport.h:76:29: note: initializing argument 1 of 'void SerialTagValServer::begin(HardwareSerial*, const ConnectorLocalInfo*)'
76 | void begin(HardwareSerial* portStream, const ConnectorLocalInfo* localInfo);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
Multiple libraries were found for "tcMenu.h"
Used: C:\Users\user_01\Documents\Arduino\libraries\tcMenu
Not used: C:\Users\user_01\Documents\Arduino\libraries\arduino_808000
exit status 1
cannot convert 'USBSerial*' to 'HardwareSerial*'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Does anyone know a fix for this or should I stay with the Windows 10 version?
|