Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8621

SDK • Re: picotool 2.0.0 is installed, cmake says it can't find it

$
0
0
As an experiment, I tried:

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'
Attempting to build a project then gives:

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



Viewing all articles
Browse latest Browse all 8621

Trending Articles