Qt World Summit: Register Today!

Build QtOpcUa with OpenSSL return fatal error: openssl/asn1.h

  • Hello,

    I'm trying to build QtOpcUa for Qt 5.14.1 Unfortunately mingw32 shows an error fatal error: openssl/asn1.h: No such file or directory. I just downloaded OpenSSL toolkit via Qt maintanance tool.

    I was also trying to add includepath in qmake like here https://forum.qt.io/topic/112439/compile-error-fatal but it doesn`t work for me. Do you have any ideas what can i do in these case?

  • Ok I solved it :)

    After doing qmake command you need to edit qmake config file and add INCLUDE+="path/to/openssl". That's will make this lib available for build process.

    For this version i also got problem with executing mingw32-make install .
    To fix that you need copy files manualy to QDIR folder.

  • Hi sir now am facing OPC installation on qt 5.14.0.
    Error :openssl/asn1.h file not found
    I changed in qmake config also as per ur suggestion still same error throwing can u help me to solve this issue

Log in to reply