I installed the "Model-Based Design Toolbox for S32K14x Automotive Microprocessors Family" and the "NXP Support Package for S32Kxx version 2018.R1". After building an example project in simulink this error occured:
It seems to me it does not find libwinpthread-1.dll. Can you please install the hotfixes available here? This should fix such issues (you can also check on that page the description for HotFix_3 - just informative, as all files for this are already present in the cumulative patch).
As for the other messages:
Environment Variable GCC_S32K_TOOL was not explicitly set. The generated code will be compiled using the default GCC compiler C:\User\APPdata\Matlab\Add-Ons\Toolboxes\Toolboxes\NXP_MBDToolbox_S32K1xx\code\tools\gcc-6.3-arm32-eabi
This one states that you do not have set GCC_S32K_TOOL (variable that points to the compiler version you'd like to use), so it defaulted to the compiler shipped within our toolbox (gcc 6.3). This is the compiler used in all our testing, so you don't need to worry about setting that environment variable (only if you have a reason to use another compiler version).
An error occurred while registering an object in RTW.TargetRegistry: "Connectivity configuration "s32k14_pil PIL" has already been registered. Check that there are not multiple sl_customization.m files on the MATLAB path that specify the same connectivity configuration name.". This custom registration is not loaded.
I'm not sure about these lines - it might be triggered by other versions of our toolboxes. I'd recommend you run the following commands to get a clean path for our toolbox:
Note: if you run these 2 commands, you'll loose paths to other add-on you might have. You might consider first saving the current path by using this command:
Please let us know if you have other issues after applying the cumulative patch.
Hope this helps,