[Topic DIscussion] deepin-unioncode构建错误
Tofloor
poster avatar
o***[email protected]
deepin
2024-01-07 13:51
Author

deepin-unioncode构建缺个叫 DSizeMode的头文件怎么办

image.png

Reply Favorite View the author
All Replies
raspbian
deepin
2024-01-07 14:09
#1

我唯一一次编译安装成功是在v23的wsl上

v20、v23、debian11、12、13均会失败

各种原因

不要浪费生命了

早放弃早解脱

Reply View the author
Ziggy
deepin
2024-01-07 14:13
#2
ziggy@ziggy-PC:~$ apt-file search DSizeMode
libdtk6widget-dev: /usr/include/dtk6/DWidget/DSizeMode
libdtkwidget-dev: /usr/include/dtk5/DWidget/DSizeMode

看看是不是没装libdtk6widget-dev或者libdtk5widget-dev

deepin-unioncode依赖DTK的库

其他发行版建议自己编译一套单独的DTK,或者试试这个现成的Qt515+DTK5

https://github.com/deepin-community/sig-deepin-shared-libs/tree/main/libs/DTK/OpenGLES/5.6.17%2Bszbt2

https://github.com/deepin-community/sig-deepin-shared-libs/tree/main/libs/Qt/5.15.10/OpenGLES/5.15.10%2Bszbt2

看了下CMakeList,可能是换成based DTK之后没有及时加dtk includes的判断,所以不会在configure阶段就有error

Reply View the author
忘记、过去
deepin
2024-01-07 14:40
#3

编译需要 libdtkwidget-dev (>= 5.6.4),目前只有 Deepin 20.9,Deepin V23 和 UOS 1060 及以上系统仓库提供

Reply View the author