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 

Reference file problem

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



Joined: 25 Apr 2006
Posts: 41
Location: Wuerzburg, Germany

PostPosted: Thu Sep 14, 2006 3:25 am    Post subject: Reference file problem Reply with quote

I have a problem using Plato + Winteracter
I have to define two references files
a ) winter.lib
b ) winspool.drv

When linking : a) has to be before b)

I modified the .ftn95p file by hand so that a) is before b)
Anyway for some reason Plato changes this order again to b) a) which givs me
the following linker errors


WARNING the following symbols are missing:
OpenPrinterA C:wintlib.s95winter.lib (/25237 )
(D:WINTOBJS95WDUMP.OBJ)
DocumentPropertiesA C:wintlib.s95winter.lib (/25237 )
(D:WINTOBJS95WDUMP.OBJ)
ClosePrinter C:wintlib.s95winter.lib (/25237 )
(D:WINTOBJS95WDUMP.OBJ)

How can I solve this problem ?
regards
Klaus Knebel
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


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

PostPosted: Thu Sep 14, 2006 6:50 am    Post subject: Reference file problem Reply with quote

Klaus

Maybe the short term workaround is to change the name of the file from winter.lib to xwinter.lib.

Plato3 is presumably picking up the dictionary order from the treeview.
Back to top
View user's profile Send private message AIM Address
MERO



Joined: 25 Apr 2006
Posts: 41
Location: Wuerzburg, Germany

PostPosted: Thu Sep 14, 2006 7:09 am    Post subject: Reference file problem Reply with quote

Thanks
I tried awinter.lib (instead of winter.lib) because I want it to be the first one.
But still in the projekt file awinter.lib is after winspool.drv
Also in the treeview it is first.

Maybe it has to do with the ending .lib and .drv ?

Klaus
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


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

PostPosted: Thu Sep 14, 2006 10:05 am    Post subject: Reference file problem Reply with quote

Klaus

I will look inside Plato3 as soon as I can.
In the mean time you can either:

a) continue to make a manual change to the ini file and try to avoid changing the project settings (they are only saved after a change has been made), or

b) use a manual build process (using SLINK directly).
Back to top
View user's profile Send private message AIM Address
PaulLaidler
Site Admin


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

PostPosted: Thu Sep 14, 2006 3:55 pm    Post subject: Reference file problem Reply with quote

Klaus

I have fixed this problem for the next release.
The list of references was being reversed with every session where properties were being saved.
Back to top
View user's profile Send private message AIM Address
MERO



Joined: 25 Apr 2006
Posts: 41
Location: Wuerzburg, Germany

PostPosted: Fri Sep 15, 2006 1:40 am    Post subject: Reference file problem Reply with quote

Paul
Thank you
Klaus
Back to top
View user's profile Send private message Visit poster's website
MERO



Joined: 25 Apr 2006
Posts: 41
Location: Wuerzburg, Germany

PostPosted: Thu Jan 11, 2007 10:45 am    Post subject: Reply with quote

Hi
Is this fixed in the current Plato Version (3.41) ?
Can I define in which order the references are called ?
Klaus
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


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

PostPosted: Thu Jan 11, 2007 1:30 pm    Post subject: Reply with quote

Klaus

It is fixed in the version released with FTN95 v5.01, whatever that is.

Paul
Back to top
View user's profile Send private message AIM Address
MERO



Joined: 25 Apr 2006
Posts: 41
Location: Wuerzburg, Germany

PostPosted: Thu Jan 11, 2007 2:59 pm    Post subject: Reply with quote

Paul
THKS
But still my question :
How can I set the order of the reference calls ?
Is it alphabetically ?
or is it the order that the references are defined ?
How to change the order ? (by editing the projekt file by hand)

Klaus
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


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

PostPosted: Fri Jan 12, 2007 7:27 pm    Post subject: Reply with quote

The references are now applied in the natural order in which they are added to the project (this may not be the same order as they appear in the Project Explorer window).

If the order is not correct then you can edit the project.ftn95p file but now it should only be necessary to do this once. The order in this file should be the natural order that you want the linker to use.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Plato 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