Hi,
I’ve been heavily using the csv-fortran package (jacobwilliams/csv-fortran: Read and Write CSV Files Using Modern Fortran).
Recently, since upgrading fpm from version 0.11 to 0.12, I’m no longer able to build the package.
I’m working on Windows 10 and using MSYS2 with gfortran 15.1.0 to compile Fortran programs.
When I try to build, I get the following error:
PowerShellPS D:\projects\my-fortran-project\build\dependencies\csv-fortran> fpm build --flag "Wall" csv_kinds.f90 failed. [ 20%] Compiling... gfortran: warning: Wall: linker input file unused because linking not done gfortran: error: Wall: linker input file not found: No such file or directory <ERROR> Compilation failed for object " src_csv_kinds.f90.o " <ERROR> stopping due to failed compilation STOP 1
I’m using the default fpm.toml file that comes with csv-fortran:
TOMLname = “csv-fortran”
version = “2.1.0”
author = “Jacob Williams”
maintainer = “Jacob Williams”
copyright = “Copyright (c) 2017-2023, Jacob Williams”
license = “BSD-3”
description = “Read and Write CSV Files Using Modern Fortran”
homepage = “GitHub - jacobwilliams/csv-fortran: Read and Write CSV Files Using Modern Fortran”
categories = [“io”]
keywords = [“csv”]`
[library] source-dir = “src”
[install] library = true
[build] auto-executables = true auto-examples = true auto-tests = true
While I am able to compile the package with a Makefile, I find the fpm building tool incredibly helpful, and reverting to Makefiles feels like going back decades. Any assistance would be greatly appreciated!`