Closed GeoffreyMills closed 3 years ago
This is to do with PlatformIO, this is not an issue. I have gone back to the Arduino IDE and made more progess in 2 hours than in 2 days with PlatformIO (again) Closed.. PS: this software looks very interesting!!
build_errors.txt Hi,
Got PlatformIO installed, got Git working (issue #30) and now trying to build the MQTT-nossl example. I am used to Arduino IDE so step learning curve here.. going to be something very basic I suspect (missing library?) .. googling now PS: Please keep writing that "how to" documentation .
I have attached a text file with the build output
Archiving .pio\build\esp32-MQTTGateway-NoSSL\libFrameworkArduino.a Linking .pio\build\esp32-MQTTGateway-NoSSL\firmware.elf .pio\build\esp32-MQTTGateway-NoSSL\libFrameworkArduino.a(main.cpp.o):(.literal._Z8loopTaskPv+0x8): undefined reference to
setup()' .pio\build\esp32-MQTTGateway-NoSSL\libFrameworkArduino.a(main.cpp.o):(.literal._Z8loopTaskPv+0xc): undefined reference to
loop()'.pio\build\esp32-MQTTGateway-NoSSL\libFrameworkArduino.a(main.cpp.o): In functionloopTask(void*)': C:\Users\gam\.platformio\packages\framework-arduinoespressif32\cores\esp32/main.cpp:18: undefined reference to
setup()' C:\Users\gam.platformio\packages\framework-arduinoespressif32\cores\esp32/main.cpp:21: undefined reference to `loop()' collect2.exe: error: ld returned 1 exit status *** [.pio\build\esp32-MQTTGateway-NoSSL\firmware.elf] Error 1Thanks Geoffrey Mills