Hello.
I started to use vMicro yesterday and I got an error when I try to build the project:
Process must exit before requested information can be determined.
Error compiling .ino project source
Build failed for project 'ESP32-MICRO'
Yesterday, I couldn't fix this and what I did was uninstall Visual Studio and vMicro. After that, the problem stoppped and I could use vMicro ok.
But today, to error is back.
I made some tests and I saw that in my simple project, when I add the ArduinoJson.h library, like this:
#include <ArduinoJson.h>
#include <ArduinoJson.hpp>
#include <WiFi.h>
#include <Adafruit_Sensor.h>
#include <DHT_U.h>
#include <DHT.h>
#include <Arduino.h>
#include "DHT11.h"
#include "handleMessages.h"
#include "Wireless.h"
#define DHTPIN 26
#define DHTTYPE DHT11
DHT dht11(DHTPIN, DHTTYPE);
void setup() {
Serial.begin(115200);
dht11.begin();
}
void loop() {
handleMessages();
sensorTemperatura(dht11);
delay(1500);
}
I get the error.
In the other hand, when I remove the ArduinoJson library:
#include <WiFi.h>
#include <Adafruit_Sensor.h>
#include <DHT_U.h>
#include <DHT.h>
#include <Arduino.h>
#include "DHT11.h"
#include "handleMessages.h"
#include "Wireless.h"
#define DHTPIN 26
#define DHTTYPE DHT11
DHT dht11(DHTPIN, DHTTYPE);
void setup() {
Serial.begin(115200);
dht11.begin();
}
void loop() {
handleMessages();
sensorTemperatura(dht11);
delay(1500);
}
I can build the project without problems.
To use this library, I used vMicro menu "Add Library > User Installed".
I'd like to fix this problem and understand why this happens.
I've uploaded two files:
with_log.txt -> trying to build with ArduinoJson (error).
without_log.txt -> build ok without ArduinoJson.