win10 MinGW64 PLplot配置
我在win10上,用MinGW64系统带的gfortran,下载的PLplot,也用MinGW中的make进行了编译,但gfortran怎么才能调用PLplot中的库呢?C:\MinGW\mingw64\share\plplot\examples\fortran>gfortran x00f.f90
C:\Users\lh\AppData\Local\Temp\ccMfBE54.o:x00f.f90:(.text+0x67): undefined reference to `__plfortrandemolib_MOD_arange_1'
C:\Users\lh\AppData\Local\Temp\ccMfBE54.o:x00f.f90:(.text+0xdd): undefined reference to `__plplot_MOD_plparseopts_impl'
C:\Users\lh\AppData\Local\Temp\ccMfBE54.o:x00f.f90:(.text+0x108): undefined reference to `__plplot_MOD_plinit_impl'
C:\Users\lh\AppData\Local\Temp\ccMfBE54.o:x00f.f90:(.text+0x141): undefined reference to `__plplot_double_MOD_plenv_impl'
C:\Users\lh\AppData\Local\Temp\ccMfBE54.o:x00f.f90:(.text+0x173): undefined reference to `__plplot_MOD_pllab_impl'
C:\Users\lh\AppData\Local\Temp\ccMfBE54.o:x00f.f90:(.text+0x219): undefined reference to `__plplot_double_MOD_plline_impl'
C:\Users\lh\AppData\Local\Temp\ccMfBE54.o:x00f.f90:(.text+0x21e): undefined reference to `__plplot_MOD_plend_impl'
collect2.exe: error: ld returned 1 exit status
看本论坛视频教程,应用篇,第三方函数库的使用 安装MSYS2,可以用系统自带的plplot
mingw64/mingw-w64-x86_64-plplot 5.13.0-2
Scientific plotting software (mingw-w64)
MSYS2镜像使用帮助
https://lug.ustc.edu.cn/wiki/mirrors/help/msys2 pasuka 发表于 2018-6-7 08:45
安装MSYS2,可以用系统自带的plplot
mingw64/mingw-w64-x86_64-plplot 5.13.0-2
Scientific plotting s ...
我的win10 居然不让我安装msys2晕啊
页:
[1]