deepin-superuser
2023-08-02 17:14 deepin
试试 sudo apt build-dep .
还有就是 github 上代码目前是给 V23 用的 在 V20 上编译就会出现找不到依赖
Reply Like 0 View the author
试试 sudo apt build-dep .
还有就是 github 上代码目前是给 V23 用的 在 V20 上编译就会出现找不到依赖
可以先检查cmake有没有报错或者warning
apt build-dep 已经执行过了,cmake没有任何错误和警告。。。git下载回来的文件确实没有上述的头文件,如果哪位大神愿意发给我的话非常感激。。。可以把包含上述头文件的源码包发到我的邮箱[email protected]吗。。。
目前缺的不只是一个头文件
感谢感谢。。。
看一下 dtk 版本是不是 5.6.14, 不是的话 revert 这个提交 https://github.com/linuxdeepin/dde-session-shell/commit/8f1eea6b5b328a60346ccc744911537e82dd3832
这个头文件是 qdbusxml2cpp-fix 扫描 xml 出来的
Popular Ranking
ChangePopular Events
More
git clone xxxx
apt build-dep dde-session-shell
mkdir build
cd build
cmake ..
make
报错:
In file included from /root/projects/dde-session-shell/build/dde-lock_autogen/6UPSDZWOXP/../../../src/dde-lock/lockframe.h:8,
from /root/projects/dde-session-shell/build/dde-lock_autogen/6UPSDZWOXP/moc_lockframe.cpp:10,
from /root/projects/dde-session-shell/build/dde-lock_autogen/mocs_compilation.cpp:6:
/root/projects/dde-session-shell/src/widgets/fullscreenbackground.h:13:10: fatal error: imageeffect_interface.h: 没有那个文件或目录
#include "imageeffect_interface.h"
^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/dde-lock.dir/build.make:314:CMakeFiles/dde-lock.dir/dde-lock_autogen/mocs_compilation.cpp.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:173:CMakeFiles/dde-lock.dir/all] 错误 2
make: *** [Makefile:136:all] 错误 2
好多头文件都找不到,难道deepin不打算放开锁屏程序的全部源码吗?