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
Problem with updated compiler package libraries
Problem with updated compiler package libraries
Rotary_Ed
Matthews, NC USA
Rv-6A N494BW Rotary Powered
Matthews, NC USA
Rv-6A N494BW Rotary Powered
- lana.arsic
- mikroElektronika team
- Posts: 1715
- Joined: 15 Jan 2016 12:50
Re: Problem with updated compiler package libraries
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:
instead of:
And in Library manager, under node FAT32 Library you can select libraries
FAT32_MX and FAT32_Types_MX.
Kind regards,
Lana
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;
Code: Select all
uses __Lib_FAT32_Types, __Lib_FAT32_Defs;
FAT32_MX and FAT32_Types_MX.
Kind regards,
Lana
Re: Problem with updated compiler package libraries
Thanks again, Lana
For the links and suggestion.
For the links and suggestion.
Rotary_Ed
Matthews, NC USA
Rv-6A N494BW Rotary Powered
Matthews, NC USA
Rv-6A N494BW Rotary Powered