star9029

Results 173 comments of star9029

https://stackoverflow.com/questions/59742466/building-arm64-asm-in-visual-studio-with-cmake

gfortran xmake.lua 可以试试加上 ```lua if is_plat("macosx") then add_extsources("brew::gfortran") end ```

on_test only tests if the build was successful, and I don't think many people would refer to the code here

ci mingw 工具链可能已损坏......本地测试通过 --- ci mingw toolchains maybe broken...local test pass

> 噢,插件库没有加载,话说除了命令行和自定义on_install的方式,有没有内置的语句可以直接调用windeploy打包 https://github.com/xmake-io/xmake/blob/cb6ac8efc7aecc0bf24d8a1844d0c76233cb84ea/xmake/rules/qt/install/windows.lua#L44

这个问题根本原因是,上游更新了 cpp-httplib 版本:https://github.com/xmake-io/xmake-repo/pull/3739 openssl3 是 cpp-httplib 的依赖,但 Windows ci 预装了 openssl 1.1.1w 两个解决方案: 1. 让 cmake 找到 xrepo openssl3 2. cpp-httplib 回退到 0.15 之前的版本

https://github.com/xmake-io/xmake/issues/3889

> C:\Users\TabYe\.conan2\p\b\sqlit563229e676c43\b\src\shell.c(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 [C:\Users\TabYe\.conan2\p\b\sqlit563229e676c43\b\build\sqlite3-bin.vcxproj] > 这种报错在 gbk win 很常见,编译时要加 /utf-8,估计 conan 那没处理 https://github.com/xmake-io/xmake-repo/blob/dev/packages%2Fs%2Fsqlite3%2Fxmake.lua#L44

devlink 作为 rule,在 before_link 执行,估计 object kind 没 link 这步骤,就没执行了 可能给 object kind 弄一个 phony link 更好?

明明用了 `set_runtimes("MD")`,但编译出来是 MDd?重新构建看看编译命令 ``` xmake f -c xmake -rv ```