0

我正在尝试为依赖于 Qt 框架、Armadillo 和 Carmenta 等不同组件的项目构建我的配方,几天前我遇到了一个错误。我发现了类似的错误,但我仍然无法解决我的问题。您将在 log.do_configure 文件内容下方找到。

  DEBUG: Executing python function externalsrc_configure_prefunc
DEBUG: Python function externalsrc_configure_prefunc finished
DEBUG: Executing shell function do_configure
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /home/azibi/workspace/yocto_project/dunfell_x64_C2_bsp/build/tmp/work/core2-64-poky-linux/ammsc2/1.0.4-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-gcc
-- Check for working C compiler: /home/azibi/workspace/yocto_project/dunfell_x64_C2_bsp/build/tmp/work/core2-64-poky-linux/ammsc2/1.0.4-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/azibi/workspace/yocto_project/dunfell_x64_C2_bsp/build/tmp/work/core2-64-poky-linux/ammsc2/1.0.4-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++
-- Check for working CXX compiler: /home/azibi/workspace/yocto_project/dunfell_x64_C2_bsp/build/tmp/work/core2-64-poky-linux/ammsc2/1.0.4-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /home/azibi/workspace/yocto_project/dunfell_x64_C2_bsp/build/tmp/work/core2-64-poky-linux/ammsc2/1.0.4-r0/recipe-sysroot-native/usr/bin/git (found version "2.24.3") 
-- Found ZLIB: /home/azibi/workspace/yocto_project/dunfell_x64_C2_bsp/build/tmp/work/core2-64-poky-linux/ammsc2/1.0.4-r0/recipe-sysroot/usr/lib/libz.so (found version "1.2.11") 
-- Found HDF5: hdf5::hdf5 (found version "1.8.21")  
-- Found OpenGL: /home/azibi/workspace/yocto_project/dunfell_x64_C2_bsp/build/tmp/work/core2-64-poky-linux/ammsc2/1.0.4-r0/recipe-sysroot/usr/lib/libGL.so   
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
/home/azibi/workspace/yocto_project/dunfell_x64_C2_bsp/build/workspace/sources/ammsc2/AMMSC2-GuiLib/Carmenta_INCLUDE_DIR
   used as include directory in directory /home/azibi/workspace/yocto_project/dunfell_x64_C2_bsp/build/workspace/sources/ammsc2/AMMSC2-GuiLib

-- Configuring incomplete, errors occurred!
See also "/home/azibi/workspace/yocto_project/dunfell_x64_C2_bsp/build/tmp/work/core2-64-poky-linux/ammsc2/1.0.4-r0/ammsc2-1.0.4/CMakeFiles/CMakeOutput.log".
WARNING: exit code 1 from a shell command.
ERROR: Execution of '/home/azibi/workspace/yocto_project/dunfell_x64_C2_bsp/build/tmp/work/core2-64-poky-linux/ammsc2/1.0.4-r0/temp/run.do_configure.29005' failed with exit code 1:
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /home/azibi/workspace/yocto_project/dunfell_x64_C2_bsp/build/tmp/work/core2-64-poky-linux/ammsc2/1.0.4-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-gcc
-- Check for working C compiler: /home/azibi/workspace/yocto_project/dunfell_x64_C2_bsp/build/tmp/work/core2-64-poky-linux/ammsc2/1.0.4-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/azibi/workspace/yocto_project/dunfell_x64_C2_bsp/build/tmp/work/core2-64-poky-linux/ammsc2/1.0.4-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++
-- Check for working CXX compiler: /home/azibi/workspace/yocto_project/dunfell_x64_C2_bsp/build/tmp/work/core2-64-poky-linux/ammsc2/1.0.4-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /home/azibi/workspace/yocto_project/dunfell_x64_C2_bsp/build/tmp/work/core2-64-poky-linux/ammsc2/1.0.4-r0/recipe-sysroot-native/usr/bin/git (found version "2.24.3") 
-- Found ZLIB: /home/azibi/workspace/yocto_project/dunfell_x64_C2_bsp/build/tmp/work/core2-64-poky-linux/ammsc2/1.0.4-r0/recipe-sysroot/usr/lib/libz.so (found version "1.2.11") 
-- Found HDF5: hdf5::hdf5 (found version "1.8.21")  
-- Found OpenGL: /home/azibi/workspace/yocto_project/dunfell_x64_C2_bsp/build/tmp/work/core2-64-poky-linux/ammsc2/1.0.4-r0/recipe-sysroot/usr/lib/libGL.so   
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
/home/azibi/workspace/yocto_project/dunfell_x64_C2_bsp/build/workspace/sources/ammsc2/AMMSC2-GuiLib/Carmenta_INCLUDE_DIR
   used as include directory in directory /home/azibi/workspace/yocto_project/dunfell_x64_C2_bsp/build/workspace/sources/ammsc2/AMMSC2-GuiLib

-- Configuring incomplete, errors occurred!
See also "/home/azibi/workspace/yocto_project/dunfell_x64_C2_bsp/build/tmp/work/core2-64-poky-linux/ammsc2/1.0.4-r0/ammsc2-1.0.4/CMakeFiles/CMakeOutput.log".
WARNING: exit code 1 from a shell command.
4

0 回答 0