DWindowManagerHelper
Tofloor
poster avatar
dodo-deep
deepin
2017-06-20 16:46
Author
I'm trying to build dde-dock from source, and getting the following:

  1. ...dde-dock-master/frame/util/dockpopupwindow.h:8: error: 'DWindowManagerHelper' file not found
  2. #include
  3.          ^
Copy the Code

Can anyone help me?

Reply Favorite View the author
All Replies
justforlxz
deepin developers team
2017-06-20 17:05
#1
You need build and install the latest code. https://github.com/linuxdeepin/deepin-tool-kit.

Before you install, need
  1. sudo rm -rf /usr/lib/x86_64-linux-gnu/libdtkwidget.so.1.0.0
Copy the Code
Reply View the author
michaeljayt
deepin
2017-06-20 17:08
#2
You need to get and compile the corresponding deepin-tool-kit code: https://github.com/linuxdeepin/deepin-tool-kit
Reply View the author
dodo-deep
deepin
2017-06-20 17:16
#3
https://bbs.deepin.org/post/141331
You need build and install the latest code. https://github.com/linuxdeepin/deepin-tool-kit.

Before  ...

I've downloaded deepin-tool-kit. Trying to build:

  1. Could not find qmake spec 'default'.
  2. Error while parsing file /home/dodo/Downloads/deepin-tool-kit-master/dtk.pro. Giving up.
  3. Package gtk+-2.0 was not found in the pkg-config search path.
  4. Perhaps you should add the directory containing `gtk+-2.0.pc'
  5. to the PKG_CONFIG_PATH environment variable
  6. No package 'gtk+-2.0' found
  7. Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version.
  8. Project MESSAGE: Running this project against other versions of the Qt modules may crash at any arbitrary point.
  9. Project MESSAGE: This is not a bug, but a result of using Qt internals. You have been warned!
Copy the Code
Reply View the author
justforlxz
deepin developers team
2017-06-20 17:18
#4
https://bbs.deepin.org/post/141331
I've downloaded deepin-tool-kit. Trying to build:

sudo apt install libgtk2.0-dev
Reply View the author
dodo-deep
deepin
2017-06-20 17:23
#5
Thank you very much for your help.

But now getting another error:

  1. dodo@dodo-PC:~/Downloads/deepin-tool-kit-master/build$ make
  2. cd dbase/ && make -f Makefile
  3. make[1]: Entering directory '/home/dodo/Downloads/deepin-tool-kit-master/build/dbase'
  4. make[1]: Nothing to be done for 'first'.
  5. make[1]: Leaving directory '/home/dodo/Downloads/deepin-tool-kit-master/build/dbase'
  6. cd dutil/ && make -f Makefile
  7. make[1]: Entering directory '/home/dodo/Downloads/deepin-tool-kit-master/build/dutil'
  8. g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DLIBDTK_LIBRARY -DQT_MESSAGELOGCONTEXT -DLIBDTKUTIL_LIBRARY -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I../../dutil -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4 -I../../dutil/dlog -I../../dbase -I. -I../../dutil -I. -o LogManager.o ../../dutil/dlog/LogManager.cpp
  9. ../../dutil/dlog/LogManager.cpp: In constructor ‘Dtk::Util::DLogManager::DLogManager()’:
  10. ../../dutil/dlog/LogManager.cpp:16:25: error: ‘QStandardPaths’ has not been declared
  11.      QString cachePath = QStandardPaths::standardLocations(QStandardPaths::CacheLocation).at(0);
  12.                          ^~~~~~~~~~~~~~
  13. ../../dutil/dlog/LogManager.cpp:16:59: error: ‘QStandardPaths’ has not been declared
  14.      QString cachePath = QStandardPaths::standardLocations(QStandardPaths::CacheLocation).at(0);
  15.                                                            ^~~~~~~~~~~~~~
  16. Makefile:331: recipe for target 'LogManager.o' failed
  17. make[1]: *** [LogManager.o] Error 1
  18. make[1]: Leaving directory '/home/dodo/Downloads/deepin-tool-kit-master/build/dutil'
  19. Makefile:65: recipe for target 'sub-dutil-make_default' failed
  20. make: *** [sub-dutil-make_default] Error 2
Copy the Code
Reply View the author
justforlxz
deepin developers team
2017-06-20 17:29
#6
https://bbs.deepin.org/post/141331
Thank you very much for your help.

But now getting another error:

try
  1. sudo apt build-dep deepin-tool-kit && sudo apt install qtbase5-dev
Copy the Code
Reply View the author
dodo-deep
deepin
2017-06-20 17:37
#7

Getting
  1. dodo@dodo-PC:~/Downloads/deepin-tool-kit-master/build$ sudo apt build-dep deepin-tool-kit
  2. Reading package lists... Done
  3. E: You must put some 'source' URIs in your sources.list
Copy the Code



Reply View the author
dodo-deep
deepin
2017-06-20 17:40
#8
When trying to build I'm now a bit further with:

  1. :-1: error: libstartup-notification-1.0 development package not found
Copy the Code
Reply View the author
dodo-deep
deepin
2017-06-20 17:43
#9
https://bbs.deepin.org/post/141331
When trying to build I'm now a bit further with:

Okay, I fixed that by installing libstartup-notification0-dev

Reply View the author
dodo-deep
deepin
2017-06-20 18:01
#10
Thank you kirigaya - it is working now.
Reply View the author
dodo-deep
deepin
2017-06-20 23:00
#11
https://bbs.deepin.org/post/141331
You need to get and compile the corresponding deepin-tool-kit code: https://github.com/linuxdeepin/d ...

Thank you!
Reply View the author