View previous topic :: View next topic |
Author |
Message |
Kannan
Joined: 20 Feb 2017 Posts: 1
|
Posted: Tue Feb 21, 2017 12:05 am Post subject: Making a fully working release version of executable |
|
|
Dear Users,
I am using Plato 4.7.0 to compile the programs I wrote. The checkmate version is working very well and giving expected results. However, when I make a release version executable I am getting "Access violation" error message. The same error occurs for the debug version of executable. Will appreciate if someone can guide me on any other compiler setting I should use to get rid of the errors in the release version. I want to use the executables independent of Plato program. many thanks
Kannan |
|
Back to top |
|
|
mecej4
Joined: 31 Oct 2006 Posts: 1886
|
Posted: Tue Feb 21, 2017 12:31 am Post subject: |
|
|
Plato is not a compiler. It calls the FTN95 compiler with whichever compiler options have been set in its configuration.
The occurrence of the access violation is an indication of a bug in your program. You should diagnose and fix the bug instead of looking for a magical compiler option that will hide the bug. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Tue Feb 21, 2017 9:28 am Post subject: |
|
|
It is unusual for a program to run in checkmate mode but not debug mode.
Select debug mode and step into the program using the debugger. Let the program run in the debugger and it should stop at the point of failure. See if you can locate and fix the cause of failure at this point. |
|
Back to top |
|
|
|