Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. cannot find -lcurl, unsure on how to manipulate INCLUDEPATH & LIBS

cannot find -lcurl, unsure on how to manipulate INCLUDEPATH & LIBS

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 358 Views 1 Watching
  • 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.
  • L Offline
    L Offline
    lurvecoding
    wrote on last edited by
    #1

    hi qt users, today is my first day start using qtcreator. I am rather unsure what to put under INCLUDEPATH and LIBS into my .pro file, can someone please enlighten me?

    Below is the error I've faced: cannot find -lcurl
    C:/Qt/Qt5.14.1/Tools/mingw730_64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lcurl
    collect2.exe: error: ld returned 1 exit status
    mingw32-make: *** [Makefile:81: 1009Project.exe] Error 1
    01:33:46: The process "C:\Qt\Qt5.14.1\Tools\mingw730_64\bin\mingw32-make.exe" exited with code 2.
    Error while building/deploying project 1009Project (kit: Desktop Qt 5.14.1 MinGW 64-bit)
    When executing step "Make"

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

      Hi and welcome to devnet,

      You likely are missing the -L argument to add the path to the folder where the library can be found.

      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
      2

      • Login

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