上一页 1 2 3 4 5 6 ··· 111 下一页
摘要: 交叉编译需要linux环境 windows 安装编译器 apt install gcc-mingw-w64 编译指令 windows: CGO_ENABLED=1 \ GOOS=windows \ GOARCH=amd64 \ CC=x86_64-w64-mingw32-gcc \ go build 阅读全文
posted @ 2024-11-12 18:37 jiftle 阅读(61) 评论(0) 推荐(0) 编辑
摘要: 因为我们更喜欢在Linux上开发程序, 所以生成交叉编译器,以便在Linux上交叉编译出windows程序。 安装minGW:在Linux上运行gcc交叉编译生成windows程序 我们用到Cgo,因此需要安装 C 语言交叉编译器 sudo apt-get install gcc-mingw-w64 阅读全文
posted @ 2024-11-12 18:36 jiftle 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 添加代码 InitInstance() AllocConsole(); freopen("CONOUT$", "a+", stdout); 阅读全文
posted @ 2024-11-07 10:58 jiftle 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 参考项目 https://github.com/google/cloud-print-connector 谷歌云打印机连接器 cups linux系统 winspool windows系统 https://github.com/lxn/win A Windows API wrapper packag 阅读全文
posted @ 2024-10-30 10:11 jiftle 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 现象 错误 C4579 'nlohmann::json_abi_v3_11_2::detail::static_const<nlohmann::json_abi_v3_11_2::detail::from_json_fn>::value': in-class initialization for t 阅读全文
posted @ 2024-10-29 16:42 jiftle 阅读(124) 评论(0) 推荐(0) 编辑
摘要: sudo apt-get install cups-pdf 阅读全文
posted @ 2024-10-23 10:07 jiftle 阅读(49) 评论(0) 推荐(0) 编辑
摘要: docker离线版下载地址 https://download.docker.com/linux/static/stable/ 阅读全文
posted @ 2024-10-11 17:41 jiftle 阅读(199) 评论(0) 推荐(0) 编辑
摘要: windows下编译msys2 pacman -S mingw-w64-x86_64-libusb pacman -S mingw-w64-x86_64-pkg-config 注意 pacman -S mingw-w64-x86_64-pkg-config 不是 pacman -S pkg-conf 阅读全文
posted @ 2024-09-25 19:27 jiftle 阅读(21) 评论(0) 推荐(0) 编辑
摘要: # https://github.com/hooklift/gowsdl gowsdl -o myservice.go -p mypackage ProxyWebService.asmx.wsdl.wsdl 阅读全文
posted @ 2024-09-24 16:39 jiftle 阅读(24) 评论(0) 推荐(0) 编辑
摘要: # .vscode/launch.json 文件,增加如下配置 "asRoot":true, "console": "integratedTerminal", # 如果go找不到 sudo ln -s /opt/my-apps/go/go1.22.5/bin/go /usr/bin/go 阅读全文
posted @ 2024-09-10 17:03 jiftle 阅读(106) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 111 下一页
点击右上角即可分享
微信分享提示