Silverfrost Forums

Welcome to our forums

Reference file problem

14 Sep 2006 2:25 #1044

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:\wint\lib.s95\winter.lib (/25237 ) (D:\WINT\OBJS95\WDUMP.OBJ) DocumentPropertiesA C:\wint\lib.s95\winter.lib (/25237 ) (D:\WINT\OBJS95\WDUMP.OBJ) ClosePrinter C:\wint\lib.s95\winter.lib (/25237 ) (D:\WINT\OBJS95\WDUMP.OBJ) **

How can I solve this problem ? regards Klaus Knebel

14 Sep 2006 5:50 #1048

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.

14 Sep 2006 6:09 #1049

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

14 Sep 2006 9:05 #1050

Klaus

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

  1. 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

  2. use a manual build process (using SLINK directly).

14 Sep 2006 2:55 #1053

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.

15 Sep 2006 12:40 #1057

Paul Thank you Klaus

11 Jan 2007 9:45 #1507

Hi Is this fixed in the current Plato Version (3.41) ? Can I define in which order the references are called ? Klaus

11 Jan 2007 12:30 #1508

Klaus

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

Paul

11 Jan 2007 1:59 #1511

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

12 Jan 2007 6:27 #1522

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.

Please login to reply.