soccer jersey forums.silverfrost.com :: View topic - Compliation error
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compliation error

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
GerritJvB



Joined: 03 Jul 2013
Posts: 8
Location: Westport, Ontario, Canada

PostPosted: Wed Jul 03, 2013 5:16 pm    Post subject: Compliation error Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7938
Location: Salford, UK

PostPosted: Wed Jul 03, 2013 7:47 pm    Post subject: Reply with quote

Can you show your program and describe what you did to compile, link and run it.
Back to top
View user's profile Send private message AIM Address
GerritJvB



Joined: 03 Jul 2013
Posts: 8
Location: Westport, Ontario, Canada

PostPosted: Wed Jul 03, 2013 10:20 pm    Post subject: Compilation error Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7938
Location: Salford, UK

PostPosted: Wed Jul 03, 2013 10:31 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
GerritJvB



Joined: 03 Jul 2013
Posts: 8
Location: Westport, Ontario, Canada

PostPosted: Thu Jul 04, 2013 12:28 am    Post subject: Compilation error Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7938
Location: Salford, UK

PostPosted: Thu Jul 04, 2013 6:39 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
GerritJvB



Joined: 03 Jul 2013
Posts: 8
Location: Westport, Ontario, Canada

PostPosted: Thu Jul 04, 2013 1:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group