You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if is_plat("windows") then
add_deps("mingw-w64")
end
on_install("mingw", ...)
on_install("windows", function (package)
invoke_mingw_install_shared()
end)
你在什么场景下需要该功能?
一些数值计算库由于使用了fortran,无法仅用msvc编译,需要在mingw环境下编译成动态库然后转换成msvc格式
描述可能的解决方案
作用是先用mingw安装,指定shared,然后自动把links对应的库文件.dll.a转成.lib
其他信息
也可用intel的ifort编译,不过ifort是intel的私有软件,需要用户自己安装,相对较难集成
The text was updated successfully, but these errors were encountered: