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. How to Build Open Source Library .Dll Generation
QtWS25 Last Chance

How to Build Open Source Library .Dll Generation

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 327 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.
  • P Offline
    P Offline
    Pada_
    wrote on last edited by
    #1

    I am using development environment of windows 8.1 64Bit + Visual Studio 2013 + Qt Creator 5.4.2.

    Qt Creator wants to run a project developed as CMakeList.txt. When I run CMakeList, I get an error that the required libraries in that project do not exist.

    The libraries are open source libraries, so you can download them from the official website.

    FreeType Library (FreeType 2.9.1) &
    libpng Library (libpng 1.6.35) &
    zlb Library (zlib 1.2.11) &
    little cms Library (LCMS 2.9)

    I want to use the libraries listed above.

    After unpacking the libraries, there is a Project folder inside the folder and Visual Studio.Sln (solution) exists so that you can run Visual Studio Project. I want to build a DLL and register it in the system and let CMakeList run normally.

    Release 64 Build in Visual Studio doesn't build due to errors like "~ .h" file not found.

    How can I make a DLL file of an open source library?

    Thank you

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You need to follow the instructions of each libraries. Install then all in a central folder so you can then point it to cmake when building your projects.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      3

      • Login

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