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. QT creator and symbol error
Forum Updated to NodeBB v4.3 + New Features

QT creator and symbol error

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 554 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.
  • U Offline
    U Offline
    Unielli
    wrote on last edited by Unielli
    #1

    Hi!
    While i was programming with qt in qtcreator i got this runtime error:

    "/my/project/path/projectName: symbol lookup error: /my/project/path/projectNam: undefined symbol: _ZN2cv12VideoCapture4openERKSs"

    At compile time i got no error but when i try to load an mp4 file in the application everything crashes and i got the error wrote above.

    Is there someone who can help me? i did some researches online but i did not find nothing useful =(

    edit: the .pro file should be fine because i had my pc with ubuntu 16.04 and opencv 2.4.9 (and the project was running fine) working the past month but for different issues i had to reinstall the whole environment

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      It looks like a linker problem, but you say the compilation goes fine... hm. That would suggest some missing plugin perhaps? Check if you have all Qt and OpenCV dependencies installed (gstreamer etc). Maybe running this command could help:

      sudo apt build-dep qt5-qmake opencv
      

      (Z(:^

      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