Silverfrost Forums

Welcome to our forums

Compliation error

3 Jul 2013 4:16 #12553

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

3 Jul 2013 6:47 #12554

Can you show your program and describe what you did to compile, link and run it.

3 Jul 2013 9:20 #12555

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

3 Jul 2013 9:31 #12556

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.

3 Jul 2013 11:28 #12557

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

4 Jul 2013 5:39 #12559

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.

4 Jul 2013 12:06 #12560

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

Please login to reply.