Skip to content

'lib' is not recognized as an internal or external command, operable program or batch file. #1066

@jacobwilliams

Description

@jacobwilliams

Description

There is some issue on Windows when using gfortran. (i'm using the win-64 binaries from here: https://anaconda.org/conda-forge/gfortran/ )

For example, when trying to compile json-fortran:

fpm test --compiler gfortran

getting this error message:

json_kinds.F90                         done.
json_parameters.F90                    done.
json_string_utilities.F90              done.
json_value_module.F90                  done.
json_file_module.F90                   done.
json_module.F90                        done.
libjson-fortran.a                      failed.
[  6%] Compiling...
'lib' is not recognized as an internal or external command,
operable program or batch file.
<ERROR> Compilation failed for object " libjson-fortran.a "
<ERROR> stopping due to failed compilation
STOP 1

Expected Behaviour

compile it

Version of fpm

0.10.0, alpha

Platform and Architecture

Windows 10

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions