DTK编译不过各种问题
Tofloor
poster avatar
白菜
deepin
2018-01-31 00:35
Author

依赖那些也都装了,就是编译不过。目前遇到的是这个错误


Reply Favorite View the author
All Replies
avatar
wangyong
deepin
2018-01-31 00:43
#1
在论坛搜索一下,有帖子解决
Reply View the author
avatar
sudo_free
deepin
2018-01-31 00:45
#2
Reply View the author
avatar
Lyvnee
deepin
2018-01-31 01:08
#3
Reply View the author
avatar
wangyingtao
deepin
2018-01-31 01:17
#4
也许你需要记住这个命令:
  1. $ sudo apt-get build-dep  XXXXXXXXXXXXXX
  2.    #dde桌面组件名称
Copy the Code
Reply View the author
avatar
sudo_free
deepin
2018-01-31 02:01
#5
https://bbs.deepin.org/post/152649
你需要这个 https://github.com/linuxdeepin/dde-qt-dbus-factory

快,deepin-webengine,我的4G内存编译不了;然后是branch 5.0
Reply View the author
avatar
白菜
deepin
2018-01-31 04:07
#6
https://bbs.deepin.org/post/152649
你需要这个 https://github.com/linuxdeepin/dde-qt-dbus-factory


新错误???
Reply View the author
avatar
sudo_free
deepin
2018-01-31 04:12
#7

为啥不看我的帖子···
Reply View the author
avatar
kt286
deepin
2018-01-31 04:15
#8
本帖最后由 kt286 于 2018-1-30 20:41 编辑

编译dde-qt-dbus-foctory和dtkwidget的时候加个参数
mkdir build && cd build && qmake LIB_INSTALL_DIR=/usr/lib/x86_64-linux-gnu .. && make && sudo make install
Reply View the author
avatar
Lyvnee
deepin
2018-01-31 04:33
#9

看楼上
Reply View the author
avatar
白菜
deepin
2018-01-31 04:55
#10
https://bbs.deepin.org/post/152649
编译dde-qt-dbus-foctory和dtkwidget的时候加个参数
mkdir build && cd build && qmake LIB_INSTALL_DIR=/ ...

是啊,还是错误
Reply View the author
avatar
白菜
deepin
2018-01-31 04:57
#11
https://bbs.deepin.org/post/152649
为啥不看我的帖子···

dde-qt-dbus-factory我已经装了。
dtk错误,编译加了参数的
Reply View the author
avatar
sudo_free
deepin
2018-01-31 04:59
#12
https://bbs.deepin.org/post/152649
dde-qt-dbus-factory我已经装了。
dtk错误,编译加了参数的

还是同一个错误的话,需要清空build重来一遍

以防万一,dde-qt-dbus-factory的build也清空,qmake加参数重来一遍;dtkwidget编译和install参数无关
Reply View the author
avatar
kt286
deepin
2018-01-31 05:53
#13
https://bbs.deepin.org/post/152649
还是同一个错误的话,需要清空build重来一遍

以防万一,dde-qt-dbus-factory的build也清空,qmake加参数 ...

但是别的软件编译的时候依赖dtkwidget 必须加参数  亲测
Reply View the author
avatar
wtz
deepin
2018-02-04 08:05
#14
http://packages.deepin.com/deepin/pool/main/d/dtkcore/
参考官方的编译设置就好。
Reply View the author