lv_port_pc_vscode icon indicating copy to clipboard operation
lv_port_pc_vscode copied to clipboard

Debug is not working with Cmake

Open kisvegabor opened this issue 11 months ago • 2 comments

Hi,

I've just updated the project to LVGL v9 and CMake. Now it uses LVGL's built-in SDL driver (we have built-in X11 driver too).

However ,with CMake the Debugger is not working. I believe there are some issues with simulator.code-workspace but it's an unknown territory to me.

@springltd @gcopoix From your previous activity in this repo I think you have a better understand about configuring the debugger. Could you take a look at this issue?

kisvegabor avatar Mar 20 '24 12:03 kisvegabor

I have cloned the repository but the usual, ctrl + shift + b or F5 both give me

make: *** No targets specified and no makefile found. Stop.

Is there now a requirement for a CMake extension, like this one?

https://code.visualstudio.com/docs/cpp/cmake-linux

microwavesafe avatar Mar 20 '24 12:03 microwavesafe

thanks for your input, fixed in https://github.com/lvgl/lv_port_pc_vscode/pull/35

gcopoix avatar Mar 20 '24 14:03 gcopoix