Collect2.exe error: ld returned 1 exit status

Hey guys and gals, I’ve got an issue with some code that I’m trying to run on VSCode on an ESP-wroom-32. I tried to run this really simple code snippet and just got the following error message at the bottom. Can you guys help me find what the problem is? I’ve uploaded all the libraries with the correct names but can’t figure out what the problem ist here.
I’m very new to this as you can probably tell so any help in the right direction would be great.

Every Arduino sketch has to have a setup() function, even if it is empty.

Also it’s not in Arduino-style to use printf(). Use Serial.println() instead. It’s also weird that you don’t initialize the serial port with a baud rate, which is usually done in setup().

#include <Arduino.h>

void setup() {
  Serial.begin(9600);
}

void loop() {
  Serial.println("Hello word");
}

Hi! That seems to have fixed the issue, thank you so much for the quick answer and the easy fix :smiley: