Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Build QtOpcUa with OpenSSL return fatal error: openssl/asn1.h
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 1.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Requ
    wrote on 25 Mar 2020, 14:20 last edited by Requ
    #1

    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?

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Requ
      wrote on 3 Jun 2020, 19:05 last edited by Requ 6 Mar 2020, 19:23
      #2

      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.

      1 Reply Last reply
      2
      • S Offline
        S Offline
        SankarSurya
        wrote on 3 Apr 2021, 11:19 last edited by
        #3

        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

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved