v5.01: library dependancies for user packages

Beta Testing discussion on mikroPascal PRO for PIC.
Post Reply
Author
Message
Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

v5.01: library dependancies for user packages

#1 Post by Dany » 09 Sep 2011 21:01

Hi,

When using user packages with library dependeancies of other user defined libraries in them (see e.g. "USB_NA" project in libstock), then, when selecting a high level user lib in the library manager, only the lowest lib in the dependancy chain is also selected together with the high level lib.

e.g. (again from "USB_NA"):
extract of "LibDependency.ini":
[USB_CDC_Library_NA]
Count=1
Lib0=USB_Library_Core_NA
[USB_HID_Keyb_Library_NA]
Count=2
Lib0=USB_HID_Library_NA
Lib1=USB_Library_Core_NA
[USB_HID_Library_NA]
Count=1
Lib0=USB_Library_Core_NA
[USB_Library_Core_NA]
Count=1
Lib0=USB_Library_Core_Constants_NA
[USB_MSD_Library_NA]
Count=1
Lib0=USB_Library_Core_NA
This is according the dependancy settings in the USB_NA package, no problem here.

But: when I select e.g. "USB_HID_Keyb_Library_NA" in the library manager, only "USB_Library_Core_Constants_NA" is also selected, while "USB_HID_Library_NA" and "USB_Library_Core_NA" and "USB_Library_Core_Constants_NA" should be selected.

Thanks in advance!
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: v5.01: library dependancies for user packages

#2 Post by filip » 12 Sep 2011 15:55

Hi,

I apologize for the inconvenience.
I have reported this yo our developers and they have told me that it should be fixed in the next release of the compiler.

Regards,
Filip.

Post Reply

Return to “mikroPascal PRO for PIC Beta Testing”