I am trying to use fpm on MSYS2. But I had a problem following the first step of the tutorial on this website:
https://fpm.fortran-lang.org/
I created the test program with cmd in the MSYS2 folder on the C drive. A folder named first_steps is generated with fpm.toml in it, but when I type fpm run, I get the following error:
cmd_run Package error: ‘fpm.toml’ could not be found, check if the file exists
STOP 1
I don’t know how to solve this problem, can anyone help me please?
1 Like
Ensure you are in the directory where fpm.toml
is located. If you created the project in first_steps
, make sure to navigate to this directory before running any fpm
commands: cd first_steps
.
3 Likes