This is because vs code will not be saved automatically after you click Run. You need to save it by Ctrl + S
if it is not saved, a dot will be displayed
Read More:
- VSCode Error: collect2.exe: error: ld returned 1 exit status
- GCC Error:(.text+0x24): undefined reference to `main‘collect2: error: ld returned 1 exit status [Solved]
- VSCode Error: collect2.exe:error:1d returned 1 exit status [How to Solve]
- [Solved] error adding symbols: File in wrong format collect2: error: ld returned 1 exit status
- Ubutnu Qt Unable to start process Error: “make“ -f ‘ /usr/bin/ld: cannot find -lGL collect2: error: ld returned 1 exit sta
- [Solved] VsCode + gfortran Compiler Error: error: ld returned 1 exit status
- Dev C++ Error: error: ld returned 1 exit status [How to Solve]
- DevC++ Error: [Error] Id returned 1 exit status [How to Solve]
- vscode: Error loading workspace: err: exit status 1: stderr: build flag -mod=readonly only valid
- docker load Error processing tar file(exit status 1): archive/tar: invalid tar header
- [Solved] QT error: error: undefined reference to ` VTable`
- error: undefined reference to `calculate()` [How to Solve]
- [Solved] Qt Error: undefined reference to xxxxx
- [Solved] C++ error: undefined reference to `xxx‘
- [Solved] cortex_M3 freeRTOS Error: undefined reference to `_sbrk‘
- Clion new method shows undefined reference to solution
- C++Qt development – Qtsocket programming error: undefined reference to `_imp__WSAStartup
- [Solved] QT Error: error: undefined reference to `GameModel::~GameModel()’
- [Solved] Compile Error: undefined reference to `google::FlagRegisterer::FlagRegisterer
- [Solved] KEIL Run Error: \KEY.axf: Error: L6218E: Undefined symbol EXTI_ClearITPendingBit (referred from exit.o).