replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Launching code from Plato
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Launching code from Plato

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
Catherine



Joined: 16 May 2014
Posts: 16

PostPosted: Fri May 16, 2014 1:18 pm    Post subject: Launching code from Plato Reply with quote

I have just moved to Windows 7 and upraded to Version 7.0 of the compiler.

I have compiled and linked my codesuccessfully. If I run it by clicking the .exe it runs successfully.
If I 'Start run' from witjin Plato it does not run (I am retuned immediately to a consoe wodow).
If I attempt to launch the debugger I get an innediate error. This is "*Unknown* (in ntdll.dll)"
Back to top
View user's profile Send private message
davidb



Joined: 17 Jul 2009
Posts: 560
Location: UK

PostPosted: Fri May 16, 2014 2:00 pm    Post subject: Reply with quote

I think this is because the path to the compiler is not included in the system %PATH% variable. The installer is supposed to do this for you but it may not work properly on windows 7.0 (It didn't happen for me in 8.1).

Note that when this happens the program will only run from a command window or by double-clicking on the exe file.

You can add the appropriate entry to you %PATH% and it then should work from Plato as well. Post back if you need advice on how to do this in win 7.

For 64 bit win 7, the path to be added is:

C:\Program Files (x86)\Silverfrost\FTN95
_________________
Programmer in: Fortran 77/95/2003/2008, C, C++ (& OpenMP), java, Python, Perl
Back to top
View user's profile Send private message
Catherine



Joined: 16 May 2014
Posts: 16

PostPosted: Fri May 16, 2014 2:09 pm    Post subject: Reply with quote

That seems to fit what I am seeing.
What is it that I need to add to %PATH% and wher do I find this??
Back to top
View user's profile Send private message
davidb



Joined: 17 Jul 2009
Posts: 560
Location: UK

PostPosted: Fri May 16, 2014 2:20 pm    Post subject: Reply with quote

On windows 7 do this:

- Right-click Computer on the Desktop or Start Menu.
- Click Advanced System Settings.
- Click the Advanced tab.
- Click Environment Variables ...
- Look for Path variable under either user variables or system variables.
- Double click the variable to edit it (or select it and click Edit ...)

** Be careful with the next steps **

- Click in the variable value window.
- Press the End key on your keyboard to go to the end of the line.
- Type in the following at the end of the line (include the ; at the start).

;C:\Program Files (x86)\Silverfrost\FTN95

- Click OK (3 times).
- Reboot (or log off and back on).
_________________
Programmer in: Fortran 77/95/2003/2008, C, C++ (& OpenMP), java, Python, Perl
Back to top
View user's profile Send private message
Catherine



Joined: 16 May 2014
Posts: 16

PostPosted: Fri May 16, 2014 4:15 pm    Post subject: Reply with quote

The path had already been created correctly.

The error I am seeing is:
Call Stack/Staus
Exception code 0xC0000138
*Unknown*
Back to top
View user's profile Send private message
davidb



Joined: 17 Jul 2009
Posts: 560
Location: UK

PostPosted: Fri May 16, 2014 4:39 pm    Post subject: Reply with quote

That is very strange.

Have you tried re-installing Silverfrost?

Also try to run with your anti-virus turned off temporarily (turn it back on after though). There are some problems with AVAST if you have it.
_________________
Programmer in: Fortran 77/95/2003/2008, C, C++ (& OpenMP), java, Python, Perl
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8210
Location: Salford, UK

PostPosted: Sat May 17, 2014 6:49 am    Post subject: Reply with quote

The other thing to do is to make sure that you have the latest patches for Windows 7 from Microsoft.

http://windows.microsoft.com/en-GB/windows/help/windows-update
Back to top
View user's profile Send private message AIM Address
Catherine



Joined: 16 May 2014
Posts: 16

PostPosted: Tue May 20, 2014 9:49 am    Post subject: Reply with quote

I think that this issue us now sorted.
I built the project in exactly the same way as before, but in a completely new drectory. I am not sure why this should have made a diffreence, but I have now built several similar projects successfully.
Thank you very much for your responses in this matter.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group