I cloned the lib succesfully and started configuring the cmake parameters.
OpenSSL is my chosen encryption library, which I have installed manually on a
different path, however I put the correct path in the advanced cmake parameters.
MbedTLS is not enabled.
Then, when I tried to compile, it shows me the following errors:
warning: implicit declaration of function ‘UA_OpenSSL_LoadLocalCertificate’; did you mean ‘UA_mbedTLS_LoadLocalCertificate’?
warning: nested extern declaration of ‘UA_OpenSSL_LoadLocalCertificate’
error: conflicting types for ‘UA_OpenSSL_LoadLocalCertificate’
note: previous implicit declaration of ‘UA_OpenSSL_LoadLocalCertificate’ was here
and so on...
Why is he trying to take the declarations for the mbedtls function, even though I disabled it?
Could this be due to my cmake parameters or could the version be the troublemaker?
Description
Compilation error related to mbedTLS
Background Information / Reproduction Steps
I cloned the lib succesfully and started configuring the cmake parameters. OpenSSL is my chosen encryption library, which I have installed manually on a different path, however I put the correct path in the advanced cmake parameters. MbedTLS is not enabled.
Then, when I tried to compile, it shows me the following errors: warning: implicit declaration of function ‘UA_OpenSSL_LoadLocalCertificate’; did you mean ‘UA_mbedTLS_LoadLocalCertificate’? warning: nested extern declaration of ‘UA_OpenSSL_LoadLocalCertificate’ error: conflicting types for ‘UA_OpenSSL_LoadLocalCertificate’ note: previous implicit declaration of ‘UA_OpenSSL_LoadLocalCertificate’ was here
and so on...
Why is he trying to take the declarations for the mbedtls function, even though I disabled it? Could this be due to my cmake parameters or could the version be the troublemaker?
Used CMake options:
Checklist
Please provide the following information:
UA_LOGLEVEL
set as low as necessary) attached