|
本帖最后由 shrine 于 2025-7-17 22:31 编辑
旧的项目调试编译没有问题,但是新的项目无法编译,显示
error LNK2019: 无法解析的外部符号 WinMain,函数 "int __cdecl invoke_main(void)" (?invoke_main@@YAHXZ) 中引用了该符号
vs版本是17.14.9 (July 2025),最新的
在输入ifort --version查询Fortran版本的时候,得到如下结果:
ifort: remark #10448: Intel(R) Fortran Compiler Classic (ifort) is now deprecated and will be discontinued late 2024. Intel recommends that customers transition now to using the LLVM-based Intel(R) Fortran Compiler (ifx) for continued Windows* and Linux* support, new language support, new language features, and optimizations. Use '/Qdiag-disable:10448' to disable this message.
ifort: command line warning #10006: ignoring unknown option '/-version'
ifort: command line error: no files specified; for help type "ifort /help"
啥意思?要转向LLVM-based?这个是不能编译新项目的原因吗?
已安装列表里也没有Fortran编译器
|
|