T Best - 2022-07-04

Hello

I'm running codesys on a Weintek CMT-FHDX-220

I'm attempting to build a program which reads and writes UDP messages to an OMRON G9SP safety controller

As soon as I add anything from the Net Base Services library my project has compile errors when I try to download to the PLC

[FATAL ERROR] Unresolved reference: 'CRYPTOASYMMETRICDECRYPT'
[FATAL ERROR] Unresolved reference: 'CRYPTOASYMMETRICENCRYPT'
[FATAL ERROR] Unresolved reference: 'CRYPTODELETEPRIVATEKEY'
[FATAL ERROR] Unresolved reference: 'CRYPTOEXPORTASYMMETRICKEY'
[FATAL ERROR] Unresolved reference: 'CRYPTOGENERATEASYMMETRICKEYPAIR'
[FATAL ERROR] Unresolved reference: 'CRYPTOGETASYMMETRICKEYLENGTH'
[FATAL ERROR] Unresolved reference: 'CRYPTOIMPORTASYMMETRICKEY'
[FATAL ERROR] Unresolved reference: 'CRYPTOLOADPRIVATEKEY'
[FATAL ERROR] Unresolved reference: 'CRYPTOSIGNATUREGENERATE'
[FATAL ERROR] Unresolved reference: 'CRYPTOSIGNATUREVERIFY'
[FATAL ERROR] Unresolved reference: 'CRYPTOSTOREPRIVATEKEY'
[FATAL ERROR] Unresolved reference: 'CRYPTOGENERATERANDOMNUMBER'
[FATAL ERROR] Unresolved reference: 'CRYPTOGETALGORITHMBYID'
[FATAL ERROR] Unresolved reference: 'CRYPTOGETFIRSTALGORITHM'
[FATAL ERROR] Unresolved reference: 'CRYPTOGETNEXTALGORITHM'
[FATAL ERROR] Unresolved reference: 'CRYPTORTSBYTESTRINGEXIT'
[FATAL ERROR] Unresolved reference: 'CRYPTORTSBYTESTRINGINIT'
[FATAL ERROR] Unresolved reference: 'CRYPTORTSBYTESTRINGINIT2'
[FATAL ERROR] Unresolved reference: 'CRYPTODERIVEKEY'
[FATAL ERROR] Unresolved reference: 'CRYPTOKEYEXIT'
[FATAL ERROR] Unresolved reference: 'CRYPTOKEYINIT'
[FATAL ERROR] Unresolved reference: 'CRYPTOGENERATEHASH'
[FATAL ERROR] Unresolved reference: 'CRYPTOHMACSIGN'
[FATAL ERROR] Unresolved reference: 'CRYPTOHMACVERIFY'
[FATAL ERROR] Unresolved reference: 'CRYPTOSYMMETRICDECRYPT'
[FATAL ERROR] Unresolved reference: 'CRYPTOSYMMETRICENCRYPT'

Does anyone know a way around these errors?

I have virtually no project code, just an example UDP_Peer FB with all the variables filled to clear any other build errors

(Codesys runs fine on the Weintek PLC without using the NBS Library)

Thank you

Tom