nsz@nsz:~/deepin-movie-reborn/Build$ cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr ..
CMake Warning at src/CMakeLists.txt:21 (find_package):
By not providing "Findgui-private.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"gui-private", but CMake did not find one.
Could not find a package configuration file provided by "gui-private" with
any of the following names:
gui-privateConfig.cmake
gui-private-config.cmake
Add the installation prefix of "gui-private" to CMAKE_PREFIX_PATH or set
"gui-private_DIR" to a directory containing one of the above files. If
"gui-private" provides a separate development package or SDK, be sure it
has been installed.
-- Checking for module 'dtkcore'
-- Found dtkcore, version 5.4.22.1
0.1.0.1-2
-- Checking for module 'dtkwidget'
-- Found dtkwidget, version 5.5.3
CMake Warning at tests/deepin-movie/CMakeLists.txt:26 (find_package):
By not providing "Findgui-private.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"gui-private", but CMake did not find one.
Could not find a package configuration file provided by "gui-private" with
any of the following names:
gui-privateConfig.cmake
gui-private-config.cmake
Add the installation prefix of "gui-private" to CMAKE_PREFIX_PATH or set
"gui-private_DIR" to a directory containing one of the above files. If
"gui-private" provides a separate development package or SDK, be sure it
has been installed.
CMake Warning at tests/deepin-movie-platform/CMakeLists.txt:26 (find_package):
By not providing "Findgui-private.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"gui-private", but CMake did not find one.
Could not find a package configuration file provided by "gui-private" with
any of the following names:
gui-privateConfig.cmake
gui-private-config.cmake
Add the installation prefix of "gui-private" to CMAKE_PREFIX_PATH or set
"gui-private_DIR" to a directory containing one of the above files. If
"gui-private" provides a separate development package or SDK, be sure it
has been installed.
-- Configuring done
CMake Error at src/CMakeLists.txt:68 (add_executable):
Target "deepin-movie" links to target "Qt5::GuiPrivate" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at tests/deepin-movie/CMakeLists.txt:79 (add_executable):
Target "deepin-movie-test" links to target "Qt5::GuiPrivate" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at tests/deepin-movie-platform/CMakeLists.txt:78 (add_executable):
Target "deepin-movie-platform-test" links to target "Qt5::GuiPrivate" but
the target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
-- Generating done
-- Build files have been written to: /home/nsz/deepin-movie-reborn/Build
出现这个错误
nsz@nsz:~/deepin-movie-reborn/Build$ cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr ..
CMake Warning at src/CMakeLists.txt:21 (find_package):
By not providing "Findgui-private.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"gui-private", but CMake did not find one.
Could not find a package configuration file provided by "gui-private" with
any of the following names:
gui-privateConfig.cmake
gui-private-config.cmake
Add the installation prefix of "gui-private" to CMAKE_PREFIX_PATH or set
"gui-private_DIR" to a directory containing one of the above files. If
"gui-private" provides a separate development package or SDK, be sure it
has been installed.
-- Checking for module 'dtkcore'
-- Found dtkcore, version 5.4.22.1
0.1.0.1-2
-- Checking for module 'dtkwidget'
-- Found dtkwidget, version 5.5.3
CMake Warning at tests/deepin-movie/CMakeLists.txt:26 (find_package):
By not providing "Findgui-private.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"gui-private", but CMake did not find one.
Could not find a package configuration file provided by "gui-private" with
any of the following names:
gui-privateConfig.cmake
gui-private-config.cmake
Add the installation prefix of "gui-private" to CMAKE_PREFIX_PATH or set
"gui-private_DIR" to a directory containing one of the above files. If
"gui-private" provides a separate development package or SDK, be sure it
has been installed.
CMake Warning at tests/deepin-movie-platform/CMakeLists.txt:26 (find_package):
By not providing "Findgui-private.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"gui-private", but CMake did not find one.
Could not find a package configuration file provided by "gui-private" with
any of the following names:
gui-privateConfig.cmake
gui-private-config.cmake
Add the installation prefix of "gui-private" to CMAKE_PREFIX_PATH or set
"gui-private_DIR" to a directory containing one of the above files. If
"gui-private" provides a separate development package or SDK, be sure it
has been installed.
-- Configuring done
CMake Error at src/CMakeLists.txt:68 (add_executable):
Target "deepin-movie" links to target "Qt5::GuiPrivate" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at tests/deepin-movie/CMakeLists.txt:79 (add_executable):
Target "deepin-movie-test" links to target "Qt5::GuiPrivate" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at tests/deepin-movie-platform/CMakeLists.txt:78 (add_executable):
Target "deepin-movie-platform-test" links to target "Qt5::GuiPrivate" but
the target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
-- Generating done
-- Build files have been written to: /home/nsz/deepin-movie-reborn/Build
出现这个错误
sudo apt install qtbase5-private-dev 安装
nsz@nsz:~/deepin-movie-reborn/Build$ qmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr ..
解决 出现新的 提示
59%] Building CXX object tests/deepin-movie/CMakeFiles/deepin-movie-test.dir/common/test_mainwindow.o
/home/nsz/deepin-movie-reborn/tests/deepin-movie/common/test_mainwindow.cpp:48:10: fatal error: gtest/gtest.h: 没有那个文件或目录
#include
^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [tests/deepin-movie/CMakeFiles/deepin-movie-test.dir/build.make:1095:tests/deepin-movie/CMakeFiles/deepin-movie-test.dir/common/test_mainwindow.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:416:tests/deepin-movie/CMakeFiles/deepin-movie-test.dir/all] 错误 2
make: *** [Makefile:130:all] 错误 2
libgtest-dev
libgtest-dev
/home/nsz/deepin-movie-reborn/tests/deepin-movie-platform/test_qtestmain.cpp:31:10: fatal error: gmock/gmock-matchers.h: 没有那个文件或目录
#include
^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [tests/deepin-movie-platform/CMakeFiles/deepin-movie-platform-test.dir/build.make:1186:tests/deepin-movie-platform/CMakeFiles/deepin-movie-platform-test.dir/test_qtestmain.o] 错误 1
make[2]: *** 正在等待未完成的任务....
make[1]: *** [CMakeFiles/Makefile2:416:tests/deepin-movie/CMakeFiles/deepin-movie-test.dir/all] 错误 2
[ 94%] Linking CXX executable deepin-movie
make[1]: *** [CMakeFiles/Makefile2:626:tests/deepin-movie-platform/CMakeFiles/deepin-movie-platform-test.dir/all] 错误 2
[ 94%] Built target deepin-movie
make: *** [Makefile:130:all] 错误 2
#include 还有这个错误
libgtest-dev
猜了个这个 蒙对了 谢谢 sudo apt install libgmock-dev
libgtest-dev
nsz@nsz:~/deepin-movie-reborn/Build$ deepin-movie
log path: "/home/nsz/.cache/deepin/deepin-movie/deepin-movie.log"
"deepin-movie" can not find qm files ("deepin-movie_zh_CN.qm", "deepin-movie_zh.qm")
(process:12510): GLib-GIO-ERROR **: 12:16:11.977: Settings schema 'com.deepin.deepin-movie' is not installed
追踪与中断点陷阱
执行完 好像缺点啥
按github上的编译步骤是执行完了,make install也很顺利,就运行提示最后这个
5。9。12的源码 在哪 知道么?
Popular Events
More

中文 
影院源码github和gitee都找不到了,在哪下载?