sloob - 2021-05-29

Hi, I've recently upgraded from a PI2 to a Pi4 and I cannot get my program working. At first I just swapped the SD card from the PI2 to PI4 and the program ran for a few seconds and then crashed.
I later reinstalled PI os and upgraded the runtime/device(in codesys) to version 4. but my program won't compile and gives me the following error:

[ERROR]         raspberry pi peripherals, 4.0.0.0 (3s - smart software solutions gmbh): C0521:  The library "raspberry pi peripherals, 4.0.0.0 (3s - smart software solutions gmbh)" was created with the unknown compiler version "3.5.16.0".