altairwei / WizNotePlus

A community-driven cross-platform note-taking client.

Home Page:https://altairwei.github.io/WizNotePlus/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

qt debug调试构建

xixi911 opened this issue · comments

window powershell编译没问题,但是qt调试客户端的时候构建出现下述问题:
C:\Program Files\CMake\share\cmake-3.23\Modules\CMakeTestCCompiler.cmake:69: error: The C compiler "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/HostX64/x86/cl.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: C:/Users/Administrator/AppData/Local/Temp/QtCreator-wUZuJt/qtc-cmake-KMNBdoJm/CMakeFiles/CMakeTmp Run Build Command(s):jom -f Makefile /nologo cmTC_5d8b4\fast && 绯荤粺鎵句笉鍒版寚瀹氱殑鏂囦欢銆 Generator: execution of make failed. Make command was: jom -f Makefile /nologo cmTC_5d8b4\fast &&

jom 装了吗?

之前的问题是没了,但是还有是下面的问题。
C:\Users\Administrator\WizNotePlus\cmake\conan.cmake:522: error: Conan install failed='1' cmake/conan.cmake:759 (old_conan_cmake_install) CMakeLists.txt:86 (conan_cmake_run)
我看了下cmakelist.txt出错的位置:
conan_cmake_run(
CONANFILE conanfile.py
INSTALL_FOLDER ${CMAKE_BINARY_DIR}
BUILD_TYPE ${CMAKE_BUILD_TYPE}
BUILD missing
)

conan 你装了吗

conan 你装了吗

安装了,之前跑powershell就安装了,下载exe安装的,用的1.53.0版本。。

你用 Qt Create 重新跑一遍,把完整日志发出来看看。

你这个日志没有出现 error 啊

你这个日志没有出现 error 啊

我重装了系统,现在是报下面这个错误。。这个是我qt版本不对没有这个模块吗,我用的5.14.1
CMake Error at CMakeLists.txt:135 (message):
The submodules 'framelesshelper' were not downloaded! GIT_SUBMODULE was
turned off or failed. Please update submodules and try again.

-- Configuring incomplete, errors occurred!

这个是自动下载的 git 库,你需要在运行 CMake 时确保网络能链接到 GitHub

这个是自动下载的 git 库,你需要在运行 CMake 时确保网络能链接到 GitHub

试了很多次不行,我手动在github上下下来放进去可以了。

试了很多次不行,我手动在github上下下来放进去可以了。

你要确保下载的是正确的分支 altairwei/2.0

试了很多次不行,我手动在github上下下来放进去可以了。

你要确保下载的是正确的分支 altairwei/2.0

是的