系统:win10
编译命令:ifort Console1.f90
文件代码:
[Fortran] 纯文本查看 复制代码 ! Console1.f90
!
! FUNCTIONS:
! Console1 - Entry point of console application.
!
!****************************************************************************
!
! PROGRAM: Console1
!
! PURPOSE: Entry point for the console application.
!
!****************************************************************************
program Console1
implicit none
! Variables
! Body of Console1
print *, 'Hello World'
end program Console1
报错信息:
C:\Users\Administrator\source\repos1\Console1\Console1>ifort Console1.f90
Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on IA-32, Version 2021.10.0 Build 20230609_000000
Copyright (C) 1985-2023 Intel Corporation. All rights reserved.
Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
锘?out:Console1.exe
-subsystem:console
Console1.obj
LINK : fatal error LNK1104: cannot open file "锘?out:Console1.exe"
有大佬知道什么原因吗? 感谢
|