GithubHelp home page GithubHelp logo

DLib_LIBRARY NOTFOUND about badslam HOT 5 CLOSED

dianaleeg avatar dianaleeg commented on July 18, 2024
DLib_LIBRARY NOTFOUND

from badslam.

Comments (5)

puzzlepaint avatar puzzlepaint commented on July 18, 2024

I'm afraid I can't point to anything specific. In general, if you had to modify the DlibConfig.cmake file, it sounds to me like something may be wrong with the DLib installation, since I would normally expect that to work out-of-the-box.

On my current system, DLib_LIBRARY is set to <dlib's_installation_directory>/lib/libDLib.so. So, I guess that looking for the libDLib.so file and pointing the search path in DlibConfig.cmake to its directory may be a workaround.

Also notice that there are at least two libraries called "DLib", badslam requires this one. If the DlibConfig.cmake file you quoted was installed by the library, then it seems to be the correct one though.

from badslam.

dianaleeg avatar dianaleeg commented on July 18, 2024

Hey there @puzzlepaint , i appreciate the response! Hmm, im wondering if it has to do with the way I am using cmake? I created a new directory 'build' inside of DLib, then i navigate to the folder 'build' and then run cmake .. .

($ mkdir build, $ cd build, $ cmake .. )

I did notice that I dont have a shared object file -- is this supposed to be a result of cmake? I don't see it in the repository either.

(I can verify that that is the DLib that I installed!)

from badslam.

dianaleeg avatar dianaleeg commented on July 18, 2024

AH-HA, i was missing $ make

Thank you very kindly for your response. All is working!

from badslam.

puzzlepaint avatar puzzlepaint commented on July 18, 2024

Usually, one would also run make install after make, possibly with sudo if necessary. This copies all the relevant output files produced by make to the installation location (which is likely under the /usr/local prefix by default), where they are supposed to be found later by CMake for badslam (if CMake is told to use this installation rather than the path you used before).

Perhaps omitting the installation causes the include files directory not being set properly as in #37.

from badslam.

dianaleeg avatar dianaleeg commented on July 18, 2024

AH yes! That did solve my issue, thank you very much for your help.

from badslam.

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.