Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ESP8266 compiling issue (Read 1095 times)
IanJohnston
Junior Member
**
Offline


Posts: 15
Joined: Jun 22nd, 2024
ESP8266 compiling issue
Jun 23rd, 2024 at 11:34am
Print Post  
I have an ESP8266 project that won't compile (it's fine under the Arduino IDE).

I am getting no code errors of my own. All libraries etc seem to be loaded fine, and the code isn't marked with any specific issues.

Under the Arduino IDE I had selected:
// Arduino esp8266 nodemcu development board WIFI enabled LUA ESP-12E GPIO PWM, II
// NodeMcu Lua ESP8266 ESP-12E Internet Development Board with USB for Arduino
// Board = NodeMCU 1.0 (ESP-12E Module), Flash = 4M (1M SPIFFS), IwIP variant = V2 pre-built (MSS=536), Cpu = 80MHz

I think I had selected the same or equivalent under VM.

Build output/error lists text files attached.

Thanks,

Ian.
  

Please Register or Login to the Forum to see File Attachments
Back to top
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: ESP8266 compiling issue
Reply #1 - Jun 24th, 2024 at 9:28am
Print Post  
Thanks for the report, we will try to replicate the issue and update on any workarounds or solutions.

Could you also attach the output from the Arduino IDE with the File > Preferences > Verbose Output During "Compile" enabled for us to review/compare?

Also please attach the SolarOB418.ino.globals.h file so we can see what changes this is potentially making.
« Last Edit: Jun 24th, 2024 at 10:06am by Simon@Visual Micro »  
Back to top
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: ESP8266 compiling issue
Reply #2 - Jun 24th, 2024 at 12:48pm
Print Post  
We have finally managed to reproduce the issue.

In short it is the IDE Location on the vMicro > General > Configure IDE Locations, there is a trailing slash on the path to the arduino-1.8.19\ entry, which when combined with the command line, escapes the following double quote, causing the compilation issues you are seeing.

If you remove the trailing slash it should resolve the issue, and we will improve this area and update the thread when this is available.
  
Back to top
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: ESP8266 compiling issue
Reply #3 - Jun 25th, 2024 at 11:20am
Print Post  
The fix has been added to the latest version (24.0620.01) which can be downloaded from the top of the below board:
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint