每次编译安装都会遇到这样的问题:[backcolor=rgba(74, 90, 112, 0.06)]elf@elf2-desktop:~/mpp/build$ cmake ..-- cmake version 4.0.0CMake Warning (dev) at CMakeLists.txt:31 (project):  cmake_minimum_required() should be called prior to this top-level project()  call.  Please see the cmake-commands(7) manual for usage documentation of  both commands.This warning is for project developers.  Use -Wno-dev to suppress it.-- The C compiler identification is GNU 11.4.0-- The CXX compiler identification is GNU 11.4.0-- Detecting C compiler ABI info-- Detecting C compiler ABI info - done-- Check for working C compiler: /usr/bin/cc - skipped-- Detecting C compile features-- Detecting C compile features - done-- Detecting CXX compiler ABI info-- Detecting CXX compiler ABI info - done-- Check for working CXX compiler: /usr/bin/c++ - skipped-- Detecting CXX compile features-- Detecting CXX compile features - doneCMake Deprecation Warning at CMakeLists.txt:33 (cmake_minimum_required):  Compatibility with CMake < 3.10 will be removed from a future version of  CMake.  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax  to tell CMake that the project requires at least <min> but has been updated  to work with policies introduced by <max> or earlier.-- Detected ARMv8 system processor-- Performing Test GCC_HAS_NO_NARROWING-- Performing Test GCC_HAS_NO_NARROWING - Success-- Performing Test GCC_HAS_STACK_REALIGN-- Performing Test GCC_HAS_STACK_REALIGN - Failed-- Found Git: /usr/bin/git (found version "2.34.1")-- current version:-- 59d05d6d author: Herman Chen   2025-06-23 docs: Update 1.0.10 CHANGELOG.md-- git version history:-- 59d05d6d author: Herman Chen   2025-06-23 docs: Update 1.0.10 CHANGELOG.md  (HEAD -> develop, tag: 1.0.10, origin/develop, origin/HEAD)-- 870c02ce author: Herman Chen   2025-06-20 feat[mpp_log]: Add long log (llog) function-- 97f620f8 author: xiaoxu.chen   2025-06-19 fix[h265d]: Fix yuv400 decode error-- 57695b2f author: Johnson Ding  2025-06-19 fix[h265d]: Fix GDR stream decoding-- 3d530016 author: Herman Chen   2025-06-19 feat[mpp_buffer]: Add mpp_buffer discard function-- eba256b1 author: Herman Chen   2025-06-19 refactor[base]: Refactor C++ mpp_enc_cfg to C-- 04908eb5 author: Yanjun Liao   2025-06-17 fix[kmpp_obj]: Undef KMPP_OBJ_SGLN_ID macro-- 0a0111b3 author: Johnson Ding  2025-06-17 fix[osal]: Fix timeout expire too soon issue-- 9c93a16e author: Johnson Ding  2025-06-17 test[osal]: Add libc and OS compatibility checking-- db6ce4fb author: Hongjin Li    2025-06-17 refactor[base]: Refactor C++ mpp_meta to C-- total 10 git version recorded-- Install git hooks doneCMake Error: File /home/elf/mpp/build/cmake/version.in does not exist.CMake Error at CMakeLists.txt:261 (configure_file):  configure_file Problem configuring file-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")-- Checking for one of the modules 'pthread'CMake Deprecation Warning at osal/CMakeLists.txt:2 (cmake_minimum_required):  Compatibility with CMake < 3.10 will be removed from a future version of  CMake.  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax  to tell CMake that the project requires at least <min> but has been updated  to work with policies introduced by <max> or earlier.-- Performing Test CMAKE_HAVE_LIBC_PTHREAD-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success-- Found Threads: TRUE-- Configuring incomplete, errors occurred!

[backcolor=rgba(74, 90, 112, 0.06)]更换了不同版本的cmake还是会这样,请问怎么解决
发表于 2025-7-4 09:38:12 | 显示全部楼层
沙发
本帖最后由 风精灵 于 2025-7-4 16:18 编辑

1.系统中是有mpp的库的,不用再进行安装了
Image_20250704161804.png
2.原厂资料中有MPP库编译和使用的方法。
Image_20250704093725.png Image_20250704093737.png




    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    Powered by Discuz! X3.5  © 2001-2013 Comsenz Inc.