Problem with updated compiler package libraries

General discussion on mikroPascal PRO for PIC32.
Post Reply
Author
Message
Rotary_Ed
Posts: 756
Joined: 26 Dec 2004 23:10
Location: Matthews, NC, USA
Contact:

Problem with updated compiler package libraries

#1 Post by Rotary_Ed » 14 Nov 2017 23:19

Yesterday, I updated my Pascal PRO PIC32 compiler to version 4.0.

My problem is that with the previous version of the compiler I had three libraries added using the Package Manager, All worked fine - but now having problems. Apparently the FAT library that comes in the updated compilers all have either an MX or MZ suffix to the library units.
The version of FAT32 I had been using does not have those suffixes, so no surprise when I attempt to compile my code, when my program calls for the FAT32 Library unit - it does not find it.

Further, apparently two of libraries I used USB_DevicePIC32 and USB_HostPIC32 are not part of the update.

I attempted to load the old libraries into the updated compiler package and then activate them. While that seemed to result in the libraries being available, I still get compiler errors.

Clearly I am lost deep in the woods here and can use any suggestions.

1st are there MX and MZ version of the USB_Device and USB_Host library package available somewhere? Link?

If not avaliabe, can my old versions be converted manually by adding Mx and Mz suffixes to library names?

Thanks
Rotary_Ed
Matthews, NC USA
Rv-6A N494BW Rotary Powered

User avatar
lana.arsic
mikroElektronika team
Posts: 1715
Joined: 15 Jan 2016 12:50

Re: Problem with updated compiler package libraries

#2 Post by lana.arsic » 15 Nov 2017 18:38

Hi,

Here are the links of the newest libraries:

https://libstock.mikroe.com/projects/vi ... st-library

https://libstock.mikroe.com/projects/vi ... ce-library

I suggest you first to uninstall old ones
(right click on the library in Library Manager -> Uninstall package).

For examples which doesn't compile for PIC32MX
and which are using USB Host library, you can use line:

Code: Select all

uses __Lib_FAT32_Types_MX, __Lib_FAT32_Defs_MX;
instead of:

Code: Select all

uses __Lib_FAT32_Types, __Lib_FAT32_Defs;
And in Library manager, under node FAT32 Library you can select libraries
FAT32_MX and FAT32_Types_MX.

Kind regards,
Lana

Rotary_Ed
Posts: 756
Joined: 26 Dec 2004 23:10
Location: Matthews, NC, USA
Contact:

Re: Problem with updated compiler package libraries

#3 Post by Rotary_Ed » 15 Nov 2017 20:37

Thanks again, Lana

For the links and suggestion.
Rotary_Ed
Matthews, NC USA
Rv-6A N494BW Rotary Powered

Post Reply

Return to “mikroPascal PRO for PIC32 General”