QQxiaoming / quardCRT

Your All-in-One Tool for Terminal Emulation and Remote Desktop
https://quardcrt.rtfd.io
GNU General Public License v3.0
58 stars 5 forks source link

compile under win10/qt6.6.1 #22

Closed zhangfq-chemistry closed 7 months ago

zhangfq-chemistry commented 7 months ago

In file included from lib\ptyqt\ptyqt.cpp:5: lib\ptyqt\winptyprocess.h:5:10: fatal error: winpty.h: No such file or directory 5 | #include "winpty.h" | ^~~~~~ compilation terminated. mingw32-make[1]: [Makefile.Release:27008: build_release/obj/ptyqt.o] Error 1 mingw32-make[1]: Leaving directory 'D:/zhangfq/quardCRT' mingw32-make: [Makefile:45: release] Error 2

QQxiaoming commented 7 months ago

In fact, now this project has some dependent libraries, I put their source code in the depend directory, which need to be compiled into static or dynamic libraries for the project to use, this document has a detailed description, but it is only in Chinese.

zhangfq-chemistry commented 7 months ago

我使用mingw32-make编译的。win10必须装mingw64吗?我看到脚本里用这个。使用Qt6.6.1自带的编译器可以吗?谢谢您!

QQxiaoming commented 7 months ago

我使用mingw32-make编译的。win10必须装mingw64吗?我看到脚本里用这个。使用Qt6.6.1自带的编译器可以吗?谢谢您!

应当是可以的,但我没有完全确认,另外也可以直接下载winpty预编译二进制的lib库,它们完全可以被Qt6.6.1自带的mingw工具链链接,这点我确认过。下载链接:https://github.com/rprichard/winpty/releases

zhangfq-chemistry commented 7 months ago

多谢作者!我试试。