View previous topic :: View next topic |
Author |
Message |
erie
Joined: 24 Jul 2009 Posts: 6
|
Posted: Wed Jan 02, 2013 6:09 pm Post subject: Ftn95 installed successful but PATH ... |
|
|
Hello everyone. First of all, Happy New Year to you all!
In my old computer all was working fine now in this new Lenovo Windows 7 I am experiencing issues. FTN95 Personal instals successfully except that it says that PATH must be modified manually and the box says I should look at the Readme.txt file. I can not find that readme file for help anywhere. Plato opens correctly. If I ignore this PATH issue and compile my code, it compiles fine but then when I run it complains "The program can't start because salflibc.dll is missing from your computer..." No clue what this dll does. I do not know weather the two issues are related and I just mention them in case someone knows better than me. Any help would be appreciated. Thanks. |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8211 Location: Salford, UK
|
Posted: Wed Jan 02, 2013 8:20 pm Post subject: |
|
|
Here are two ways to solve this problem.
1) You can search for salflibc.dll on your computer and copy the file to the local folder containing your executable. Use Window Explorer and the search facility. By default it will be located in C:\Program Files (x86)\Silverfrost\FTN95.
2) Alternatively you can add this FTN95 folder to the global environment PATH.....
a) Click on Start.
b) Click on Control Panel
c) Select System and Security
d) Select System
e) Select Advanced System Settings
f) Click on the Environment Variables button.
g) In the lower of the two panels, select Path and click on the Edit button
h) Insert the full path of the FTN95 folder to the beginning of the list, followed by a semi-colon. |
|
Back to top |
|
 |
erie
Joined: 24 Jul 2009 Posts: 6
|
Posted: Wed Jan 02, 2013 9:42 pm Post subject: Dear Paul. |
|
|
Thanks.
On the second solution. I did try adding to Environment Variables the following lines:
C:\Program Files (x86)\Silverfrost\FTN95\;
or
C:\Program Files (x86)\Silverfrost\FTN95\salflibc.dll
and it did not work.
On the first solution I did just copy paste the file into the working directory and now everything works. Although the problem is solved I still find puzzling the second solution did not work. I appreciate your help. Now I can get on with my work. Happy New Year! |
|
Back to top |
|
 |
davidb
Joined: 17 Jul 2009 Posts: 560 Location: UK
|
Posted: Wed Jan 02, 2013 9:52 pm Post subject: Re: Dear Paul. |
|
|
Your first modification to PATH is correct (you don't need the name of the DLL).
If you double click the saldiag.exe file in the installation folder and click search it will tell you the path to use.
After you change your PATH, you will have to log off/on or reboot for it to have any effect. _________________ Programmer in: Fortran 77/95/2003/2008, C, C++ (& OpenMP), java, Python, Perl |
|
Back to top |
|
 |
erie
Joined: 24 Jul 2009 Posts: 6
|
Posted: Wed Jan 02, 2013 10:07 pm Post subject: Dear David |
|
|
Thank you.
I did reboot after adding the first line. But still the execution of the code did not work.
I have tried the Diagnostic tool as well but it has a problem with Yap and crushes.
Thanks again. |
|
Back to top |
|
 |
davidb
Joined: 17 Jul 2009 Posts: 560 Location: UK
|
Posted: Wed Jan 02, 2013 10:18 pm Post subject: |
|
|
This is strange.
On mine, the path is C:\Program Files\Silverfrost\FTN95\;
I don't have the (x86) part, but I don't use Windows 7 or 64 bit so it may be because of that.
You could try putting the DLL in your system directory. _________________ Programmer in: Fortran 77/95/2003/2008, C, C++ (& OpenMP), java, Python, Perl |
|
Back to top |
|
 |
|