By adding different paths to the environment variables I did compile and build the code successfully. 

The problem is with the execute command. The "%e" does not work. Trying different things now.


On Mon, Oct 31, 2016 at 5:48 PM, Matthew Brush <> wrote:
On 2016-10-31 04:39 PM, manohar gaddipati wrote:
C:\cygwin64\bin\gfortran -c "geany.f95" (in directory:
C:/cygwin64/lib/gcc/x86_64-pc-cygwin/5.4.0/f951.exe: error while loading
shared libraries: ?: cannot open shared object file: No such file or
Compilation failed.

I am getting this error when I do this

Sounds like it's not looking in correct place for its libaries, does it work if you run same command from Windows Command Prompt?

I expect you probably need to add whatever directories is holding whatever libraries it wants into the PATH[0] environment variable. I've never used Cygwin or GFortant, so not sure what else might be going on (eg. why is the library called `?`)

Matthew Brush


Users mailing list