As an experiment, I tried:
Attempting to build a project then gives:
Code:
pi@raspberrypi:~/pico/picotool/build $ sudo mv -v /usr/local/lib/arm-linux-gnueabihf/cmake/picotool/* /usr/local/share/picotool/renamed '/usr/local/lib/arm-linux-gnueabihf/cmake/picotool/picotoolConfig.cmake' -> '/usr/local/share/picotool/picotoolConfig.cmake'renamed '/usr/local/lib/arm-linux-gnueabihf/cmake/picotool/picotoolConfigVersion.cmake' -> '/usr/local/share/picotool/picotoolConfigVersion.cmake'renamed '/usr/local/lib/arm-linux-gnueabihf/cmake/picotool/picotoolTargets.cmake' -> '/usr/local/share/picotool/picotoolTargets.cmake'renamed '/usr/local/lib/arm-linux-gnueabihf/cmake/picotool/picotoolTargets-release.cmake' -> '/usr/local/share/picotool/picotoolTargets-release.cmake'Code:
CMake Error at /usr/local/share/picotool/picotoolTargets.cmake:71 (message): The imported target "picotool" references the file "/bin/picotool" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/local/share/picotool/picotoolTargets.cmake" but not all the files it references.Call Stack (most recent call first): /usr/local/share/picotool/picotoolConfig.cmake:2 (include) /home/pi/pico/pico-sdk/tools/CMakeLists.txt:123 (find_package) /home/pi/pico/pico-sdk/src/cmake/on_device.cmake:33 (pico_init_picotool) /home/pi/pico/pico-sdk/src/rp2040/boot_stage2/CMakeLists.txt:57 (pico_add_dis_output) /home/pi/pico/pico-sdk/src/rp2040/boot_stage2/CMakeLists.txt:101 (pico_define_boot_stage2)Statistics: Posted by Memotech Bill — Wed Aug 21, 2024 9:06 pm