|
我在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
|
|