Linux cmake command not found3/11/2023 > echo "but please check why this was set in the first place and that it's safe to unset." > echo "Your environment is misconfigured, you probably need to 'unset LD_LIBRARY_PATH'" > # Only disable this check if you are absolutely know what you are doing! opt/poky/environment-setup-aarch64-poky-linux > # Check for LD_LIBRARY_PATH being set, which can break SDK and generally is a bad practice Hi sorry I forget to say this but before calling cmake I source a generated file by poky. Of the following names: OpenCVConfig.cmakeĪdd the installation prefix of “OpenCV” to CMAKE_PR Performing Test CMAKE_HAVE_LIBC_PTHREAD - FailedĬMake Error at CMakeLists.txt:11 (find_package):īy not providing “FindOpenCV.cmake” in CMAKE_MODULE_PATH this project hasĪsked CMake to find a package configuration file provided by “OpenCV”, butĬould not find a package configuration file provided by “OpenCV” with any The CXX compiler identification is GNU 9.2.0Ĭheck for working C compiler: /opt/poky/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc - skippedĬheck for working CXX compiler: /opt/poky/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ - skipped The C compiler identification is GNU 9.2.0 – Found OpenCV: /opt/poky/sysroots/aarch64-poky-linux/usr (found version “4.2.0”)Ĭcmake -L -G Ninja -C /home/clement/project/config/cmake/default.cmake /home/clement/project – Check if compiler accepts -pthread - yes – Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed – Performing Test CMAKE_HAVE_LIBC_PTHREAD – Check for working CXX compiler: /opt/poky/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ – works – Check for working CXX compiler: /opt/poky/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ – Check for working C compiler: /opt/poky/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc – works – Check for working C compiler: /opt/poky/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc – The CXX compiler identification is GNU 9.2.0 – The C compiler identification is GNU 9.2.0 – Toolchain file defaulted to '/opt/poky/sysroots/x86_64-pokysdk-linux/usr/share/cmake/OEToolchainConfig.cmake’ Loading initial cache file /home/clement/project/config/cmake/default.cmake I saw a strange behavior between cmake and ccmake.ĬMake detect the Toolchain file whereas CCMake doesn’t.ĭo you have any idea what’s the difference ?Ĭmake -L -G Ninja -C /home/clement/project/config/cmake/default.cmake /home/clement/project
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |