求助编译LemonLime
  • 板块灌水区
  • 楼主unsigned_char
  • 当前回复5
  • 已保存回复5
  • 发布时间2022/1/29 21:55
  • 上次更新2023/10/28 10:06:09
查看原帖
求助编译LemonLime
421773
unsigned_char楼主2022/1/29 21:55

由于家里电脑访问GitHub速度太慢,只好手动编LemonLimeLemonLime

编译环境:Windows 7,MSYS2

编译过程:

Administrator@PC-20220117UKJH MINGW64 ~
# cd /e/LemonLime

Administrator@PC-20220117UKJH MINGW64 /e/LemonLime
# cmake . -DCMAKE_BUILD_TYPE=Release
System is unknown to cmake, create:
Platform/MINGW64_NT-6.1-7601 to use this system, please post your config file on discourse.cmake.org so it can be added to cmake
Your CMakeCache.txt file was copied to CopyOfCMakeCache.txt. Please post that file on discourse.cmake.org.

LemonLime Version: 0.3.0-dev
LemonLime Build Version: 200
LemonLime Build Type: Release
|----------------------------------------------------------------|
| LemonLime,                                                     |
| A tiny judging environment for OI contest.                     |
| Based on C++ & Qt.                                             |
| Licenced under GPLv3                                           |
|                                                                |
|----------------------------------------------------------------|
| GitHub: https://github.com/Project-LemonLime/Project_LemonLime |
| Welcome to contribute!                                         |
|----------------------------------------------------------------|

LemonLime build info: LemonLime from manual build
LemonLime build info extra: LemonLime 0.3.0-dev:200
-- The following REQUIRED packages have been found:

 * Qt5Gui
 * Qt5Core
 * Qt5Network
 * Qt5Widgets
 * Qt5LinguistTools
 * Qt5


======== LemonLime Build Statistics ========
EMBED_TRANSLATIONS: ON
EMBED_DOCS: ON
ENABLE_XLS_EXPORT: OFF
BUILD_DEB: OFF
BUILD_RPM: OFF
LEMON_QT6: OFF
LSB_RELEASE_ID_SHORT:
VERSION_STRING: 0.3.0-dev
BUILD_VERSION: 200
CMAKE_BUILD_TYPE: Release
LEMON_BUILD_INFO: LemonLime from manual build
LEMON_BUILD_EXTRA_INFO: LemonLime 0.3.0-dev:200
CMAKE_INSTALL_PREFIX: /usr/local
CMAKE_BINARY_DIR: /e/LemonLime

============================================

-- Configuring done
-- Generating done
-- Build files have been written to: /e/LemonLime

Administrator@PC-20220117UKJH MINGW64 /e/LemonLime
# cmake --build . --parallel $(nproc)
[  1%] Automatic MOC and UIC for target lemon-base
[  2%] Automatic MOC and UIC for target watcher_unix

AutoMoc subprocess error
------------------------
The content generation command for "SRC:/watcher_unix_autogen/moc_predefs.h" failed.

Command
-------
/mingw64/bin/CC.exe -dM -E -c /usr/share/cmake-3.22.1/Modules/CMakeCXXCompilerABI.cpp "-DLEMON_BUILD_EXTRA_INFO_STR=\"LemonLime 0.3.0-dev:200\"" "-DLEMON_BUILD_INFO_STR=\"LemonLime from manual build\"" -DLEMON_EMBED_DOCS -DLEMON_EMBED_TRANSLATIONS -DLEMON_VERSION_BUGFIX=0 -DLEMON_VERSION_BUILD=200 -DLEMON_VERSION_MAJOR=0 -DLEMON_VERSION_MINOR=3 "-DLEMON_VERSION_STRING=\"0.3.0-dev\"" -DQT_NO_FOREACH -I/e/LemonLime

Output
------



AutoMoc subprocess error
------------------------
The content generation command for "SRC:/lemon-base_autogen/moc_predefs.h" failed.

Command
-------
/mingw64/bin/CC.exe -dM -E -c /usr/share/cmake-3.22.1/Modules/CMakeCXXCompilerABI.cpp "-DLEMON_BUILD_EXTRA_INFO_STR=\"LemonLime 0.3.0-dev:200\"" "-DLEMON_BUILD_INFO_STR=\"LemonLime from manual build\"" -DLEMON_EMBED_DOCS -DLEMON_EMBED_TRANSLATIONS -DLEMON_VERSION_BUGFIX=0 -DLEMON_VERSION_BUILD=200 -DLEMON_VERSION_MAJOR=0 -DLEMON_VERSION_MINOR=3 "-DLEMON_VERSION_STRING=\"0.3.0-dev\"" -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_WIDGETS_LIB -I/e/LemonLime -I/e/LemonLime/src/base -I/e/LemonLime/3rdparty/SingleApplication -I/e/LemonLime/src -I/mingw64/include -I/mingw64/include/QtCore -I/mingw64/share/qt5/mkspecs/win32-g++ -I/mingw64/include/QtGui -I/mingw64/include/QtWidgets

Output
------


make[2]: *** [CMakeFiles/watcher_unix_autogen.dir/build.make:71: CMakeFiles/watcher_unix_autogen] Error 1
make[2]: *** [CMakeFiles/lemon-base_autogen.dir/build.make:71: CMakeFiles/lemon-base_autogen] Error 1
make[1]: *** [CMakeFiles/Makefile2:299: CMakeFiles/watcher_unix_autogen.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:247: CMakeFiles/lemon-base_autogen.dir/all] Error 2
make: *** [Makefile:111: all] Error 2

2022/1/29 21:55
加载中...