View previous topic :: View next topic |
Author |
Message |
sospel
Joined: 26 Apr 2013 Posts: 31
|
Posted: Mon Dec 02, 2013 5:17 pm Post subject: Checkmate or Release ? |
|
|
Hello
PLATO has a behavior that I cannot understand ! Here is my problem :
1/ I have a "project" in development which I configure in mode: "CheckMate WIN32", as it is recommended in " BASIC features of Plato ".
2/ Then, I "build" the subroutines of the project and, in the " output " window of Plato , I have this message:
___________________________________________________
Compilation completed with no errors.
Linking...
Creating executable: CheckMate\Win32\BenchST.exe
Linking completed.
____________________________________________________
Well, but when I launch the execution, I have the message:
" ERROR: the target does not exist "
... and I verify that actually, I have no file " BenchST.exe " in sub-directory "CheckMate\Win32\" . Furthermore, a "find" on all my hard disk indicates me that such a file is nowhere
3/ On the other hand, if I re-configure in mode "Release WIN32" the executable is created, stored in the sub-directory " Release\Win32\ " and when I launch the execution, I have my results !!!
Hence my question: where I make an error in the 1st case?
Thank you in advance for any answer
Cordially
SosPel |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Mon Dec 02, 2013 5:25 pm Post subject: |
|
|
Look at the file called buildlog in the project folder.
If it does not help you to identify the problem then post the file here for me to look at. |
|
Back to top |
|
|
sospel
Joined: 26 Apr 2013 Posts: 31
|
Posted: Mon Dec 02, 2013 5:49 pm Post subject: Checkmate or Release ? |
|
|
@PaulLaidler
Thanks for speedy answer !
1/ File "buildlog" has only one line :
slink.exe -OUT:"CheckMate\Win32\BenchST.exe" @"C:\Dossiers@Themes\Fortran95\Exploitation\Bench-ST\link.lst"
2/ File "link.lst" has only four lines (there are 4 sub-routines):
"C:\Dossiers@Themes\Fortran95\Exploitation\Bench-ST\CheckMate\Win32\NomRez.obj"
"C:\Dossiers@Themes\Fortran95\Exploitation\Bench-ST\CheckMate\Win32\BenchRef.obj"
"C:\Dossiers@Themes\Fortran95\Exploitation\Bench-ST\CheckMate\Win32\Chrono.obj"
"C:\Dossiers@Themes\Fortran95\Exploitation\Bench-ST\CheckMate\Win32\Main.obj"
Cordially
SosPel |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Tue Dec 03, 2013 8:52 am Post subject: |
|
|
What happens when you choose "Debug" rather than "Checkmate"?
It's a long shot but "Checkmate" is longer than "Release" so there just might be a problem with the length of the path. |
|
Back to top |
|
|
sospel
Joined: 26 Apr 2013 Posts: 31
|
Posted: Tue Dec 03, 2013 2:43 pm Post subject: |
|
|
Hello Paul !
>> What happens when you choose "Debug" rather than "Checkmate"?
Same as "Checkmate Win32" mode |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Tue Dec 03, 2013 3:05 pm Post subject: |
|
|
I have tried creating a simple project using your path and it works OK for me.
Do you have write access to the folder that should contain the executable? |
|
Back to top |
|
|
sospel
Joined: 26 Apr 2013 Posts: 31
|
Posted: Tue Dec 03, 2013 3:47 pm Post subject: |
|
|
>> Do you have write access to the folder that should contain the executable?
I've write name of executable in window "Project target", without the path.
Where write the access to the executable folder ? |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Tue Dec 03, 2013 6:27 pm Post subject: |
|
|
Are you able to create a file in the folder called "Checkmate"?
Plato is trying to do this and I wondered if you could do it?
For example, are you able to save a file to this folder? |
|
Back to top |
|
|
sospel
Joined: 26 Apr 2013 Posts: 31
|
Posted: Tue Dec 03, 2013 8:39 pm Post subject: |
|
|
Hello Paul !
>> Are you able to create a file in the folder called "Checkmate"?
no problem ...
>> For example, are you able to save a file to this folder?
no problem ...
So, I don't understand why Folders "Checkmate\win32" and "Release\win32" which have same Windows attributes have not same Plato results
Meanwhile, many thanks for your help !
Sospel |
|
Back to top |
|
|
sospel
Joined: 26 Apr 2013 Posts: 31
|
Posted: Fri Dec 06, 2013 5:49 pm Post subject: Checkmate or Release ? |
|
|
Hello !
My problem is not still solved : the " checkmate "mode does not create executable, while the " release " mode creates it
Now, by consulting some calculations dating the beginning of the year, (thus most probably with the "version 6.xx") , and with same parameters, everything worked well : in every case I have the executable in " checkmate\win32\ "..
Anybody did not have this problem ??
Thanks for any answer
Cordially
Sospel |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Fri Dec 06, 2013 6:28 pm Post subject: |
|
|
I don't know how this could happen but I would check that the key Silverfrost files ftn95.exe, slink.exe and salflibc.dll exist in the compiler folder (typically C:\program files (x86)\silverfrost\ftn95) and that there are no copies of these files in the project folder or its sub-folders.
Also make sure that there are no old copies of these files anywhere on your machine. |
|
Back to top |
|
|
sospel
Joined: 26 Apr 2013 Posts: 31
|
Posted: Sat Dec 07, 2013 11:20 am Post subject: |
|
|
Hello Paul !
>>I would check that the key Silverfrost files ftn95.exe, slink.exe and salflibc.dll exist in the compiler folder
They are ...
>> there are no old copies of these files anywhere on your machine
There are no copies ...
Problem is to find an answer at the basic question :
why "release mode" makes an executable, and not "checkmate mode " ?
Perhaps answer is in source of SLINK.EXE module ??
Cordially,
Sospel |
|
Back to top |
|
|
sospel
Joined: 26 Apr 2013 Posts: 31
|
Posted: Wed Dec 18, 2013 4:16 pm Post subject: |
|
|
Hello
Anybody did not have this problem?
Anybody does not suspect a bad PLATO configuration from me?
Thanks for any answer !! |
|
Back to top |
|
|
JohnCampbell
Joined: 16 Feb 2006 Posts: 2554 Location: Sydney
|
Posted: Thu Dec 19, 2013 1:55 am Post subject: |
|
|
Sospel,
For some reason, Plato is not producing a .exe for /check. You should compile the file(s) in a cmd.exe box, outside Plato.
This will give you more messages from the compiler.
It could be that the compiler identifies an error using /check that it did not identify without /check.
This would be a good option for Plato; to report more/all messages from the compiler. Is it possible to change the compiler options within Plato so these messages are not suppressed?
I am assuming these messages are suppressed so that Plato can lock in the line numbers of the warning and error messages that are reported; which makes me wonder why the change I am assuming for /check is not being reported.
I always generate my .exe using a batch file, something like:
! make.bat
date /T > ftn95.tce
time /T >> ftn95.tce
del program.exe >> ftn95.tce
del program.map >> ftn95.tce
del *.obj >> ftn95.tce
del *.mod >> ftn95.tce
ftn95 program /debug >> ftn95.tce
ftn95 others /debug >> ftn95.tce
ftn95 tools /opt >> ftn95.tce
ftn95 user_interface /check >> ftn95.tce
slink load_program.txt >> ftn95.tce
dir /od >> ftn95.tce
notepad ftn95.tce
! load_program.txt
lo program.obj
lo others.obj
lo tools.obj
lo user_interface.obj
le \my_lib\static_lib.lib
map
file
The advantage of this approach is I can see what has been generated and what is missing
John |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Thu Dec 19, 2013 9:15 am Post subject: |
|
|
Plato suppresses some things, like the banner, but hopefully does not suppress any significant information. If it does then please let me know. |
|
Back to top |
|
|
|