View previous topic :: View next topic |
Author |
Message |
GerritJvB
Joined: 03 Jul 2013 Posts: 8 Location: Westport, Ontario, Canada
|
Posted: Wed Jul 03, 2013 5:16 pm Post subject: Compliation error |
|
|
I have a Personal Edition up and running on my 64-bit Windows 7 Professional operating system. I have other 32-bit applications running on the system and they seem to behave quite well. The FTN installed into the 32-bit folder.
I�ve tried to compile/run a simple print to screen program in Plato and get the following linker error:
$ "General"
[SLINK/Win32 v1.43 Copyright (c) Silverfrost Ltd. 1995-2009]
*** Don't understand: "General"
*** Compilation abandoned
Compilation failed.
I've examine the environmental variables and they all seem to be in order.
Hints and suggestions as how to fix this are welcome.
Gerrit JvB |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7938 Location: Salford, UK
|
Posted: Wed Jul 03, 2013 7:47 pm Post subject: |
|
|
Can you show your program and describe what you did to compile, link and run it. |
|
Back to top |
|
|
GerritJvB
Joined: 03 Jul 2013 Posts: 8 Location: Westport, Ontario, Canada
|
Posted: Wed Jul 03, 2013 10:20 pm Post subject: Compilation error |
|
|
H Paul,
The program:
!my first program
Program first
print *, ' This is my first program.'
end program first
Then push the black > button ( Start) in Plato.
I've loaded the same Personal edition in an 32-bit Windows Professional XP system and the program works fine.
GerritJvB |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7938 Location: Salford, UK
|
Posted: Wed Jul 03, 2013 10:31 pm Post subject: |
|
|
This is very odd.
What happens if you click on the Compile button?
Now click the Build button?
Now open the local file called "Buildlog" and report what you see. |
|
Back to top |
|
|
GerritJvB
Joined: 03 Jul 2013 Posts: 8 Location: Westport, Ontario, Canada
|
Posted: Thu Jul 04, 2013 12:28 am Post subject: Compilation error |
|
|
Hi Paul.
Compile:
Compiling file: First.f95
Compilation completed with no errors.
Build:
$ "General"
[SLINK/Win32 v1.43 Copyright (c) Silverfrost Ltd. 1995-2009]
*** Don't understand: "General"
*** Compilation abandoned
Compilation failed.
Build.Log:
FTN95.EXE "C:\Users\Antec300i7-3930k\Desktop\First.f95" /NO_BANNER /VS7 /DELETE_OBJ_ON_ERROR /ERROR_NUMBERS /UNLIMITED_ERRORS /LINK /CHECKMATE/REF "C:\Program Files (x86)\Silverfrost\FTN95 Express\PackagesToLoad\Ftn95PrjProjects\ftn95 application.ftn95p"
Environment "Path":
C:\Program Files (x86)\Silverfrost\FTN95 Express\;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared
Environment "Pathext":
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
Interestingly, apparently the OS in which the 32-bit operates is Windows NT.
Regards,
Gerrit |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7938 Location: Salford, UK
|
Posted: Thu Jul 04, 2013 6:39 am Post subject: |
|
|
You should remove the reference that you will find in the Project Explorer window. In the View menu, click on "Project Explorer" to view this window.
Right click on the reference then select "Remove".
A "reference" is a DLL or LIB file needed for linking. You do not need a reference and the file you have provided is a text file that the linker (SLINK) has tried to read as a set of SLINK commands. The word "General" will be found in this text file. |
|
Back to top |
|
|
GerritJvB
Joined: 03 Jul 2013 Posts: 8 Location: Westport, Ontario, Canada
|
Posted: Thu Jul 04, 2013 1:06 pm Post subject: |
|
|
Hi Paul,
Great! The error has been removed and I have now my "My first program." program up and running. "A small step for Man.........", etc.
Thanks,
Gerrit |
|
Back to top |
|
|
|