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. Linking problems
Forum Updated to NodeBB v4.3 + New Features

Linking problems

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 2 Posters 1.4k 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.
  • O Offline
    O Offline
    oramg
    wrote on last edited by
    #1

    hi ,
    i am trying to compile an application using Qtcreator ,when the make file tries to cross compile the app using the toolchaine of the target i get the following error.

    .../arm-fsl-linux-gnueabi/bin/ld: cannot find -lpng
    ./arm-fsl-linux-gnueabi/bin/ld: cannot find -lfreetype

    i wanted to check the /arm-fsl-linux-gnueabi/bin/ld , i found that it is an executable so how can i verify their existing,? is this error linked to the toolchaine or what? i am completly lost can any one help me please, it's my first experience with qt creator

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

      Hi and welcome to devnet,

      Since you are cross compiling, are you sure you have these libraries installed properly ?

      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
      0
      • O Offline
        O Offline
        oramg
        wrote on last edited by
        #3

        hi thanks
        the path to this ../bin/ld is an excuted file so i can't check it, i guess they are just warning
        but now i am very confused i followed the documentation of my target regarding the debloyement instruction but the app does not deploy .
        can you provide me with some tutorial on how to build and debug your application within QtCreator by selecting the build target for the remote target

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

          ld is the linker. It's not a warning, that message says that it can find two dependencies of your application which are the png and free type libraries. Do you have them for your target ?

          The deployment doesn't happen because your compilation fails

          What target is it by the way ?

          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
          0
          • O Offline
            O Offline
            oramg
            wrote on last edited by
            #5

            i fixed that problem by adding libraries to project .thx
            my target is an arm based board

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

              Good !

              arm board I had guessed ;) It's the model that I wanted to know :)

              Since you have it working now, please update the thread title prepending [solved] so other forum users may know a solution has been 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
              0

              • Login

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