Giter VIP home page Giter VIP logo

Comments (9)

PianoCat avatar PianoCat commented on June 19, 2024 1

I got it fixed last night, thank u all the same.

from openface.

TadasBaltrusaitis avatar TadasBaltrusaitis commented on June 19, 2024

I have not tried to build it on AWS. I'm surprised it needs to link to Qt at all (unless it's an OpenCV dependency) as I don't use it internally as such. Is FaceLandmarkImg the only binary that has this issue?

from openface.

fortunto2 avatar fortunto2 commented on June 19, 2024

there are other applications like also asked from /bin/...
I check in the evening, as now stoped instance on aws

on aws - Ubuntu 14

from openface.

Temigo avatar Temigo commented on June 19, 2024

I think OpenCV GUI highgui needs Qt. Which version of CMake are you using ?

from openface.

fortunto2 avatar fortunto2 commented on June 19, 2024

@Temigo GCC 4.9

from openface.

PianoCat avatar PianoCat commented on June 19, 2024

@fortunto2 Have u already fix this problem? I just find the same problem in my own project, it makes me crazy...

from openface.

PapaMadeleine2022 avatar PapaMadeleine2022 commented on June 19, 2024

@PianoCat @fortunto2 getting the same problem. how do you solve it?
looking forward for your reply.

from openface.

dshahrokhian avatar dshahrokhian commented on June 19, 2024

@PianoCat please share your solution so other people searching over the issue page can find it.

from openface.

PapaMadeleine2022 avatar PapaMadeleine2022 commented on June 19, 2024

@dshahrokhian @TadasBaltrusaitis I set the true path of libQt5Core.so.5, libQt5Gui.so.5, etc, in CMakeLists and cmake again. But it still shows error:

[ 96%] Linking CXX executable ../../bin/FaceLandmarkVid
/usr/bin/ld: cannot find -lQt5::Core
/usr/bin/ld: cannot find -lQt5::Gui
/usr/bin/ld: cannot find -lQt5::Widgets
/usr/bin/ld: cannot find -lQt5::Test
/usr/bin/ld: cannot find -lQt5::Concurrent
/usr/bin/ld: cannot find -lQt5::OpenGL
collect2: error: ld returned 1 exit status
exe/FaceLandmarkVid/CMakeFiles/FaceLandmarkVid.dir/build.make:154: recipe for target 'bin/FaceLandmarkVid' failed
make[2]: *** [bin/FaceLandmarkVid] Error 1
CMakeFiles/Makefile2:309: recipe for target 'exe/FaceLandmarkVid/CMakeFiles/FaceLandmarkVid.dir/all' failed
make[1]: *** [exe/FaceLandmarkVid/CMakeFiles/FaceLandmarkVid.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 97%] Linking CXX executable ../../bin/FaceLandmarkVidMulti
/usr/bin/ld: cannot find -lQt5::Core
/usr/bin/ld: cannot find -lQt5::Gui
/usr/bin/ld: cannot find -lQt5::Widgets
/usr/bin/ld: cannot find -lQt5::Test
/usr/bin/ld: cannot find -lQt5::Concurrent
/usr/bin/ld: cannot find -lQt5::OpenGL
collect2: error: ld returned 1 exit status
exe/FaceLandmarkVidMulti/CMakeFiles/FaceLandmarkVidMulti.dir/build.make:153: recipe for target 'bin/FaceLandmarkVidMulti' failed
make[2]: *** [bin/FaceLandmarkVidMulti] Error 1
CMakeFiles/Makefile2:365: recipe for target 'exe/FaceLandmarkVidMulti/CMakeFiles/FaceLandmarkVidMulti.dir/all' failed
make[1]: *** [exe/FaceLandmarkVidMulti/CMakeFiles/FaceLandmarkVidMulti.dir/all] Error 2
[ 98%] Linking CXX executable ../../bin/FeatureExtraction
/usr/bin/ld: cannot find -lQt5::Core
/usr/bin/ld: cannot find -lQt5::Gui
/usr/bin/ld: cannot find -lQt5::Widgets
/usr/bin/ld: cannot find -lQt5::Test
/usr/bin/ld: cannot find -lQt5::Concurrent
/usr/bin/ld: cannot find -lQt5::OpenGL
collect2: error: ld returned 1 exit status
exe/FeatureExtraction/CMakeFiles/FeatureExtraction.dir/build.make:154: recipe for target 'bin/FeatureExtraction' failed
make[2]: *** [bin/FeatureExtraction] Error 1
CMakeFiles/Makefile2:422: recipe for target 'exe/FeatureExtraction/CMakeFiles/FeatureExtraction.dir/all' failed
make[1]: *** [exe/FeatureExtraction/CMakeFiles/FeatureExtraction.dir/all] Error 2
[100%] Linking CXX executable ../../bin/FaceLandmarkImg
/usr/bin/ld: cannot find -lQt5::Core
/usr/bin/ld: cannot find -lQt5::Gui
/usr/bin/ld: cannot find -lQt5::Widgets
/usr/bin/ld: cannot find -lQt5::Test
/usr/bin/ld: cannot find -lQt5::Concurrent
/usr/bin/ld: cannot find -lQt5::OpenGL
collect2: error: ld returned 1 exit status
exe/FaceLandmarkImg/CMakeFiles/FaceLandmarkImg.dir/build.make:154: recipe for target 'bin/FaceLandmarkImg' failed
make[2]: *** [bin/FaceLandmarkImg] Error 1
CMakeFiles/Makefile2:252: recipe for target 'exe/FaceLandmarkImg/CMakeFiles/FaceLandmarkImg.dir/all' failed
make[1]: *** [exe/FaceLandmarkImg/CMakeFiles/FaceLandmarkImg.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

however, it seems like it can compile 100% rather than 92% this time.

@fortunto2 how do you solve it?

from openface.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.