Error running camera example



  • Hello friends,
    I am a beginner in the Qt world, My future project is to develop a software for an industrial camera. I have started checking the camera app (an example developed by Qt). Anyway.
    At the time of building and running it gives me the following error:

    Qt5.10.0/5.10.0/gcc_64/lib -lQt5MultimediaWidgets -lpulse-mainloop-glib -lpulse -lglib-2.0 -lQt5Multimedia -lQt5Widgets -lQt5Gui -lQt5Network -lQt5Core -lGL -lpthread
    /usr/bin/ld: cannot find -lpulse-mainloop-glib
    /usr/bin/ld: cannot find -lpulse

    Makefile:266: recipe for target 'camera' failed![0_1513186918018_Selection_149.png](Uploading 100%)
    collect2: error: ld returned 1 exit status
    make: *** [camera] Error 1
    18:21:03: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project camera (kit: Desktop Qt 5.10.0 GCC 64bit)
    When executing step "Make"

    I'm using Qt 5.10, in ubuntu 16.04, Please help me :)
    Thanks for advance


  • Lifetime Qt Champion

    Hi,

    From the errors you should install the pulse dev package for your distribution (likely libpulse-dev).


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.