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. undefined reference to `function_name'
Forum Updated to NodeBB v4.3 + New Features

undefined reference to `function_name'

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 3 Posters 928 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.
  • K Offline
    K Offline
    Kofr
    wrote on last edited by
    #1

    I am trying to make my project to work with FFMPEG build from sources. I have several builds in some locations on machine.
    I include paths for libs /usr/local/include/ but for some reason it looks in
    /home/ilia/ffmpeg_sources/ffmpeg/libavcodec/libtheoraenc.c:175: error: undefined reference to ``th_info_init'
    Where wrong paths can be written in System (ubuntu 14.04 - x64)?
    .pro screen
    .cpp screen

    1 Reply Last reply
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      @Kofr If you know the exact library try adding it from QtCreator as per this.
      Or you can try adding environment variable "LD_LIBRARY_PATH" with new path in Build Environment.

      157

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

        Hi,

        If you are are using ffmpeg, why are you including vorbis in your main.cpp ?

        Also, why link to all the dependencies of ffmpeg ?

        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