Thank you very much. I now believe my VS is running properly.
If I try to load and run an example code, like blink, I get error message:
No executable target was found to launch. Please check:
[main] - Have you called add_executable() in your CMake project?
[main] - Have you executed a successful CMake configure?
[main] No program will be execute
How do I solve this? This is the code in the blink CMakeLists.txt:
add_executable(blink
blink.c
)
# pull in common dependencies
target_link_libraries(blink pico_stdlib)
# create map/bin/hex file etc.
pico_add_extra_outputs(blink)
# add url via pico_set_program_url
example_auto_set_url(blink)
I thought all I had to do was select CMakeLists.txt and it appears to run some code, but is there something else I need to do with it?
What is CMake configure? Ok, I found out that CMake is an icon in the left sidebar.
The instructions say I have to buy a "pico probe" and wire it up somehow. I have a USB cable attached, is that not enough?
If I try to load and run an example code, like blink, I get error message:
No executable target was found to launch. Please check:
[main] - Have you called add_executable() in your CMake project?
[main] - Have you executed a successful CMake configure?
[main] No program will be execute
How do I solve this? This is the code in the blink CMakeLists.txt:
add_executable(blink
blink.c
)
# pull in common dependencies
target_link_libraries(blink pico_stdlib)
# create map/bin/hex file etc.
pico_add_extra_outputs(blink)
# add url via pico_set_program_url
example_auto_set_url(blink)
I thought all I had to do was select CMakeLists.txt and it appears to run some code, but is there something else I need to do with it?
What is CMake configure? Ok, I found out that CMake is an icon in the left sidebar.
The instructions say I have to buy a "pico probe" and wire it up somehow. I have a USB cable attached, is that not enough?
Statistics: Posted by Roy_H — Thu Mar 21, 2024 11:00 pm