Hi, I’m not sure if this is an issue with my environment but when I follow the instructions to run the example, the debugging fails and throws an error.
Steps to recreate this:
- Run
git clone https://github.com/microsoft/vcpkg
- Add the vcpkg folder to the windows environment variable PATH
- Run the command
vcpkg install sdl2 in a new powershell window
- MSYS-MINGW and cmake are already installed and the test commands in the repo work (cmake --version, gcc --version, g++ --version). sdl2-config --version command fails.
- Clone the lvgl repo using
git clone https://github.com/lvgl/lv_port_pc_vscode
- Open the
simulator.code-workspace file (opens in the Cursor IDE)
- Install the 2 recommended extensions that pop up (cmake and c/c++ dev tools)
- A message asking to select a Kit shows up, I selected gcc (msys-mingw)
- Open the
Run and Debug tab and press play
- The error pops up: Debugging failed with error code 1.
Any help would be appreciated, if I’m missing something that was mentioned in the instructions please do let me know
Hi, I’m not sure if this is an issue with my environment but when I follow the instructions to run the example, the debugging fails and throws an error.
Steps to recreate this:
git clone https://github.com/microsoft/vcpkgvcpkg install sdl2in a new powershell windowgit clone https://github.com/lvgl/lv_port_pc_vscodesimulator.code-workspacefile (opens in the Cursor IDE)Run and Debugtab and press playAny help would be appreciated, if I’m missing something that was mentioned in the instructions please do let me know