zzl学fortran 发表于 2022-10-3 16:57:46

unknown fpp directive

1>------ 已启动生成:项目: ibm_test, 配置: Debug Win32 ------
1>Compiling with Intel(R) Visual Fortran Compiler XE 14.0.1.139 ...
1>rotation_m_dev.f90
1>D:\ibm_win\IBM_multi-particles_updated\rotation_m_dev.f90(1): #error: unknown fpp directive.
1>    [ 0: wait failed, error=-1, process_status=6]
1>ibm_test : error PRJ0019: A tool returned an error coderng_m.f90
1>rotation_m_copy.f90
1>D:\ibm_win\IBM_multi-particles_updated\rotation_m_copy.f90(1): #error: unknown fpp directive.
1>    [ 0: wait failed, error=-1, process_status=6]
1>ibm_test : error PRJ0019: A tool returned an error coderotation_m.f90
1>D:\ibm_win\IBM_multi-particles_updated\rotation_m.f90(1): #error: unknown fpp directive.
1>    [ 0: wait failed, error=-1, process_status=6]
1>ibm_test : error PRJ0019: A tool returned an error codeellip_common_m.f90
项目属性里fpp我已经设置成yes了,编译时依然报错,如何解决?

li913 发表于 2022-10-4 12:34:32

预处理命令没写对。给出代码。

zzl学fortran 发表于 2022-10-8 11:31:18

li913 发表于 2022-10-4 12:34
预处理命令没写对。给出代码。

大佬好,能给个联系方式吗

布衣龙共 发表于 2022-10-8 11:33:17

zzl学fortran 发表于 2022-10-8 11:31
大佬好,能给个联系方式吗

你可以加群讨论 100125753
页: [1]
查看完整版本: unknown fpp directive