SeptemberHX/dde-top-panel

cmake .. 报错

ice909 opened this issue · 2 comments

cmake ..
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- 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: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
bash: translate_generation.sh: 没有那个文件或目录
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/DtkCMake/DtkCMakeConfig.cmake:15 (message):
"/usr/lib/x86_64-linux-gnu/libdtk-5.4.21/DCore/bin/deepin-os-release" is
not exists. Install "dtkcore-bin" first
Call Stack (most recent call first):
frame/CMakeLists.txt:17 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/uos/Downloads/dde-top-panel/build/CMakeFiles/CMakeOutput.log".

应该是依赖没安装,试试安装一下 dtkcore-dev dtkcore-bin 相关包。

lfxyl commented

在uos家庭版21.1.1下也遇到了这个问题,安装dtkcore-dev dtkcore-bin后还是有这个问题。应该是dtk不同版本路径的问题。不过注释掉/frame/CMakeLists.txt第17行#find_package(DtkCMake REQUIRED)后就编译成功了。