Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. cannot find library...
Forum Updated to NodeBB v4.3 + New Features

cannot find library...

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
22 Posts 4 Posters 7.1k Views 2 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.
  • Axel SpoerlA Axel Spoerl

    @AnneRanch said in cannot find library...:

    It is pretty useless

    Yes. Because you posted the wrong file.
    We need the .pro file containing libBT_Utility.so.1 in a line starting with LIBS +=

    Have you located libBT_Utility.so.1 in your file system?

    A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by
    #21

    @Axel-Spoerl Sorry . I got involved in another issue.

    There is no .so info when "add library" is used
    HERE
    ( I believe INCLUDEPATH can be printed but I forgot how )

    unix:!macx: LIBS += -L$$OUT_PWD/../MS_BASE_CLASS/ -lMS_BASE_CLASS

    INCLUDEPATH += $$PWD/../MS_BASE_CLASS
    DEPENDPATH += $$PWD/../MS_BASE_CLASS

    Yes. Because you posted the wrong file.
    We need the .pro file containing libBT_Utility.so.1 in a line starting with LIBS +=

    Have you located libBT_Utility.so.1 in your file system?

    Axel SpoerlA 1 Reply Last reply
    0
    • A Anonymous_Banned275

      @Axel-Spoerl Sorry . I got involved in another issue.

      There is no .so info when "add library" is used
      HERE
      ( I believe INCLUDEPATH can be printed but I forgot how )

      unix:!macx: LIBS += -L$$OUT_PWD/../MS_BASE_CLASS/ -lMS_BASE_CLASS

      INCLUDEPATH += $$PWD/../MS_BASE_CLASS
      DEPENDPATH += $$PWD/../MS_BASE_CLASS

      Yes. Because you posted the wrong file.
      We need the .pro file containing libBT_Utility.so.1 in a line starting with LIBS +=

      Have you located libBT_Utility.so.1 in your file system?

      Axel SpoerlA Offline
      Axel SpoerlA Offline
      Axel Spoerl
      Moderators
      wrote on last edited by
      #22

      @AnneRanch
      Hi Anne,

      hm. And could you locate any of the libraries on your drive?
      (libBT_Utility.so.1or libBT_Utility.so.1)

      I am insisting on that question for a number of reasons.

      • Compilation and linking does quite some heavy lifting on the file system. Building on an external drive puts a bottle neck into the game. It really would be good to know, if everything the compiler says it has done is really done.
      • Some of your file paths contain dates (e.g. DEC10). Such paths might confuse the linker as well: Something expected in the DEC10tree, may have been built on another day and be in another tree, e.g. NOV17.
      • Maybe you have turned an existing project into a SUBDIRS project. That is likely to change a lot of relative paths.

      Brgds
      Axel

      Software Engineer
      The Qt Company, Oslo

      1 Reply Last reply
      0
      • Axel SpoerlA Axel Spoerl referenced this topic on

      • Login

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