Code::Blocks+gFortran,初始设置问题
系统:Ubuntu编译器:gFortran
IDE:Code::Blocks
安装完成后,我根据本站中“Code::Blocks+gFortran开发环境设置方法”对Code::Blocks进行设置,但是设置完后提示我出现环境错误,具体为:
Can't find compiler executable in your configuration search path's for GNU Fortran Compiler.
确保你配置的路径下的 bin 目录下有 gfortran vvt 发表于 2020-1-2 08:01
确保你配置的路径下的 bin 目录下有 gfortran
您好,我看了一下,是有gfortran的。
你配置的路径是什么?
命令行里运行 gfortran -v 看看结果 fcode 发表于 2020-1-2 16:46
你配置的路径是什么?
命令行里运行 gfortran -v 看看结果
没看明白配置路径是哪个{:4_91:}.
运行结果如图所示.
配置路径 指的是:“根据本站中“Code::Blocks+gFortran开发环境设置方法”对Code::Blocks进行设置”处,设置的路径。 就和那个帖子里的设置一样:
C compiler: mingw32-gfortran.exe
C++ compiler: mingw32-gfortran.exe
Linker for dynamic libs:mingw32-gfortran.exe
Linker for static libs:ar.exe
Debugger : GDB/CDB debugger:Default
Resource compiler: windres.exe
Make program: mingw32-make.exe
但是我刚刚发现我的Resource compiler中没有windres.exe mingw32 是 windows 下的配置。
linux 下应该就是 gfortran ,和真实的程序一致即可。
windres 也是windows下的,你用不到,可以留空。 fcode 发表于 2020-1-4 08:18
mingw32 是 windows 下的配置。
linux 下应该就是 gfortran ,和真实的程序一致即可。
windres 也是windows ...
这样啊,感谢{:3_52:}
页:
[1]