Fortran Coder

标题: codeblocks编译问题undefined reference to `_gfortran_st_write' [打印本页]

作者: greatrenew    时间: 2023-3-3 16:22
标题: codeblocks编译问题undefined reference to `_gfortran_st_write'
请问大佬,codeblocks+gfortran编译简单的hello world!示例程序时总是出现如下错误信息,为什么?

||=== Build: Debug in Demo (compiler: GNU Fortran Compiler) ===|
D:\Demo\chap02\hello.f90|3|undefined reference to `_gfortran_st_write'|
D:\Demo\chap02\hello.f90|3|undefined reference to `_gfortran_transfer_character_write'|
D:\Demo\chap02\hello.f90|3|undefined reference to `_gfortran_st_write_done'|
D:\Demo\chap02\hello.f90|4|undefined reference to `_gfortran_stop_string'|
D:\Demo\chap02\hello.f90|5|undefined reference to `_gfortran_set_args'|
D:\Demo\chap02\hello.f90|5|undefined reference to `_gfortran_set_options'|
||=== Build failed: 6 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|


作者: Transpose    时间: 2023-3-3 18:31
【Fortran编译器及相关软件安装操作】 【精准空降到 05:34】 https://www.bilibili.com/video/B ... =copy_web&t=334 需要配置一下编译器的路径
作者: 呆呆小书生    时间: 2023-3-3 21:50
编译器没识别




欢迎光临 Fortran Coder (http://bbs.fcode.cn/) Powered by Discuz! X3.2