View previous topic :: View next topic |
Author |
Message |
CompuPayMike
Joined: 10 Mar 2009 Posts: 23 Location: USA
|
Posted: Wed Oct 10, 2012 7:54 pm Post subject: Compile errors |
|
|
I am compiling the clearwin+ examples in Plato and the compile is failing. The errors appears to have some thing to do with the declaration of a variable in globals.ins that is declared as Character*128.
The errors says does not understand.
Has anyone seen this or know what to do?
Thanks.
Michael |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7927 Location: Salford, UK
|
Posted: Wed Oct 10, 2012 8:24 pm Post subject: |
|
|
You will need to look at globals.ins which, I assume, is one of your files. I do not recall this being a Silverfrost file.
You might get some help on this forum if you can show us the line of code that causes the failure. |
|
Back to top |
|
|
CompuPayMike
Joined: 10 Mar 2009 Posts: 23 Location: USA
|
Posted: Wed Oct 10, 2012 9:25 pm Post subject: |
|
|
character*128 information
CHARACTER*1024 url
character*256 file
integer buttonEnabled
logical imageDownloaded
common information, url, file, buttonEnabled, imageDownloaded
The above code is in the file globals.ins that is in the folder for the .Net online image viewer example. It seems that when I load any of the ftn95 files for the clearwin examples into Plato it sets a reference to this file.
When you build the expample in Plato you get an error saying it does not understand Character. If you remove the file then you get an error saying that the references are missing. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7927 Location: Salford, UK
|
Posted: Wed Oct 10, 2012 10:31 pm Post subject: |
|
|
Files with extension .ins are usually INCLUDE files.
These should not be compiled.
Only compile files that have extensions such as .for, .f90 or .f95 etc.
Some where in these files you will find the code
INCLUDE "globals.ins"
and at this point the given file is inserted into the program. |
|
Back to top |
|
|
CompuPayMike
Joined: 10 Mar 2009 Posts: 23 Location: USA
|
Posted: Thu Oct 11, 2012 1:28 pm Post subject: |
|
|
I have not found where the file is referenced, other then it shows up under references in the project tree in Plato. The errors occur when I compile the expample file I am running in Plato. I notice that this does not occur if I use the batch file that came with the examples to complile them.
Maybe that might tell you more. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7927 Location: Salford, UK
|
Posted: Thu Oct 11, 2012 4:33 pm Post subject: |
|
|
You should remove globals.ins from the "source" file section and the "reference" section in the Project Explorer window.
If it is used then Plato will automatically put globals.ins in the "include" file section. |
|
Back to top |
|
|
|