Hi,
This is Manohar. I have a windows machine. My objective here is to be able to use geany for fortran programming. This is what I did so far.
1) I have downloaded CYGWIN (installed fortran and some recommended libraries) and geany. 2) Created a sample test.f90 program. I can see different color fonts in my program 3) For source compilation I went to Build (set Build commands) and tried this which did not work Under Compile (C:\cygwin64\bin -c "%f") Under Build (C:\cygwin64\bin -o "%f") Under Execute (C:\cygwin64\bin\gfortran "%e")
I tried using online manual but I am missing something.
Could you suggest me on this?
Regards, Manohar
On 2016-10-31 09:12 AM, manohar gaddipati wrote:
Hi,
This is Manohar. I have a windows machine. My objective here is to be able to use geany for fortran programming. This is what I did so far.
- I have downloaded CYGWIN (installed fortran and some recommended
libraries) and geany. 2) Created a sample test.f90 program. I can see different color fonts in my program 3) For source compilation I went to Build (set Build commands) and tried this which did not work Under Compile (C:\cygwin64\bin -c "%f") Under Build (C:\cygwin64\bin -o "%f") Under Execute (C:\cygwin64\bin\gfortran "%e")
I tried using online manual but I am missing something.
Could you suggest me on this?
Hi,
The build and compile commands should probably refer to `C:\cygwin64\bin\gfortran` instead of just the bin directory and the execute command should probably just be `"%e"` (unless you need to use `gfortran` to execute programs, I don't think you do though).
Compile: C:\cygwin64\bin\gfortran -c "%f" Build: C:\cygwin64\bin\gfortran -o "%f" Execute: "%e"
Regards, Matthew Brush
C:\cygwin64\bin\gfortran -c "geany.f95" (in directory: C:\Users\mgaddipati\Desktop\Fortran\Hello) 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 directory Compilation failed.
I am getting this error when I do this
Thanks. Manohar
On Mon, Oct 31, 2016 at 4:59 PM, Matthew Brush mbrush@codebrainz.ca wrote:
On 2016-10-31 09:12 AM, manohar gaddipati wrote:
Hi,
This is Manohar. I have a windows machine. My objective here is to be able to use geany for fortran programming. This is what I did so far.
- I have downloaded CYGWIN (installed fortran and some recommended
libraries) and geany. 2) Created a sample test.f90 program. I can see different color fonts in my program 3) For source compilation I went to Build (set Build commands) and tried this which did not work Under Compile (C:\cygwin64\bin -c "%f") Under Build (C:\cygwin64\bin -o "%f") Under Execute (C:\cygwin64\bin\gfortran "%e")
I tried using online manual but I am missing something.
Could you suggest me on this?
Hi,
The build and compile commands should probably refer to `C:\cygwin64\bin\gfortran` instead of just the bin directory and the execute command should probably just be `"%e"` (unless you need to use `gfortran` to execute programs, I don't think you do though).
Compile: C:\cygwin64\bin\gfortran -c "%f" Build: C:\cygwin64\bin\gfortran -o "%f" Execute: "%e"
Regards, Matthew Brush
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Does the command work on the command line?
On 1 November 2016 at 09:39, manohar gaddipati manohar.gaddipati@gmail.com wrote:
C:\cygwin64\bin\gfortran -c "geany.f95" (in directory: C:\Users\mgaddipati\Desktop\Fortran\Hello) 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 directory Compilation failed.
I am getting this error when I do this
Thanks. Manohar
On Mon, Oct 31, 2016 at 4:59 PM, Matthew Brush mbrush@codebrainz.ca wrote:
On 2016-10-31 09:12 AM, manohar gaddipati wrote:
Hi,
This is Manohar. I have a windows machine. My objective here is to be able to use geany for fortran programming. This is what I did so far.
- I have downloaded CYGWIN (installed fortran and some recommended
libraries) and geany. 2) Created a sample test.f90 program. I can see different color fonts in my program 3) For source compilation I went to Build (set Build commands) and tried this which did not work Under Compile (C:\cygwin64\bin -c "%f") Under Build (C:\cygwin64\bin -o "%f") Under Execute (C:\cygwin64\bin\gfortran "%e")
I tried using online manual but I am missing something.
Could you suggest me on this?
Hi,
The build and compile commands should probably refer to `C:\cygwin64\bin\gfortran` instead of just the bin directory and the execute command should probably just be `"%e"` (unless you need to use `gfortran` to execute programs, I don't think you do though).
Compile: C:\cygwin64\bin\gfortran -c "%f" Build: C:\cygwin64\bin\gfortran -o "%f" Execute: "%e"
Regards, Matthew Brush
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On 2016-10-31 04:39 PM, manohar gaddipati wrote:
C:\cygwin64\bin\gfortran -c "geany.f95" (in directory: C:\Users\mgaddipati\Desktop\Fortran\Hello) 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 directory 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 `?`)
Regards, Matthew Brush
[0]: http://windowsitpro.com/systems-management/how-can-i-add-new-folder-my-syste...
I have the same problem even with the command line.
Thanks,
Manohar
On Mon, Oct 31, 2016 at 5:46 PM, Lex Trotman elextr@gmail.com wrote:
Does the command work on the command line?
On 1 November 2016 at 09:39, manohar gaddipati manohar.gaddipati@gmail.com wrote:
C:\cygwin64\bin\gfortran -c "geany.f95" (in directory: C:\Users\mgaddipati\Desktop\Fortran\Hello) 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 directory Compilation failed.
I am getting this error when I do this
Thanks. Manohar
On Mon, Oct 31, 2016 at 4:59 PM, Matthew Brush mbrush@codebrainz.ca
wrote:
On 2016-10-31 09:12 AM, manohar gaddipati wrote:
Hi,
This is Manohar. I have a windows machine. My objective here is to be able to use geany for fortran programming. This is what I did so far.
- I have downloaded CYGWIN (installed fortran and some recommended
libraries) and geany. 2) Created a sample test.f90 program. I can see different color fonts in my program 3) For source compilation I went to Build (set Build commands) and tried this which did not work Under Compile (C:\cygwin64\bin -c "%f") Under Build (C:\cygwin64\bin -o "%f") Under Execute (C:\cygwin64\bin\gfortran "%e")
I tried using online manual but I am missing something.
Could you suggest me on this?
Hi,
The build and compile commands should probably refer to `C:\cygwin64\bin\gfortran` instead of just the bin directory and the
execute
command should probably just be `"%e"` (unless you need to use
`gfortran` to
execute programs, I don't think you do though).
Compile: C:\cygwin64\bin\gfortran -c "%f" Build: C:\cygwin64\bin\gfortran -o "%f" Execute: "%e"
Regards, Matthew Brush
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
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.
Manohar
On Mon, Oct 31, 2016 at 5:48 PM, Matthew Brush mbrush@codebrainz.ca wrote:
On 2016-10-31 04:39 PM, manohar gaddipati wrote:
C:\cygwin64\bin\gfortran -c "geany.f95" (in directory: C:\Users\mgaddipati\Desktop\Fortran\Hello) 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 directory 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 `?`)
Regards, Matthew Brush
new-folder-my-system-path
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
It is strange that I had to move all my dll files into my project folder for the compile and build to work.
Manohar
On Mon, Oct 31, 2016 at 7:39 PM, manohar gaddipati < manohar.gaddipati@gmail.com> wrote:
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.
Manohar
On Mon, Oct 31, 2016 at 5:48 PM, Matthew Brush mbrush@codebrainz.ca wrote:
On 2016-10-31 04:39 PM, manohar gaddipati wrote:
C:\cygwin64\bin\gfortran -c "geany.f95" (in directory: C:\Users\mgaddipati\Desktop\Fortran\Hello) 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 directory 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 `?`)
Regards, Matthew Brush
-folder-my-system-path
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users