Giter Club home page Giter Club logo

Comments (5)

gadomski avatar gadomski commented on June 14, 2024

Correct me if I'm wrong, but it sounds like you were able to build the CPD libraries correctly, but just failed at building the example executable. Note that there is a CMakeLists.txt file inside of the examples directory, meaning that you can use CMake to build those examples as well. I would recommend doing that.

from cpd.

omiguelgomes avatar omiguelgomes commented on June 14, 2024

I'm truly sorry, I completely forgot about what I had tried earlier. I did try using the CmakeLists.txt file, but in this case, I got the following error:

By not providing "FindCpd.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Cpd", but
  CMake did not find one.

  Could not find a package configuration file provided by "Cpd" with any of
  the following names:

    CpdConfig.cmake
    cpd-config.cmake

  Add the installation prefix of "Cpd" to CMAKE_PREFIX_PATH or set "Cpd_DIR"
  to a directory containing one of the above files.  If "Cpd" provides a
  separate development package or SDK, be sure it has been installed.

setting the Cpd_DIR variable directly in the CMakeLists.txt yields errors in the cpd-config.cmake file stating Cpd::Library-C++ contains files that don't exist.

from cpd.

gadomski avatar gadomski commented on June 14, 2024

Did you install CPD onto the system, e.g. with make install in the CPD build directory? The examples look for an installed copy of the CPD libraries and associated CMake config.

from cpd.

omiguelgomes avatar omiguelgomes commented on June 14, 2024

I apologize for my novice mistakes, I didn't have previous experience with CMake, and I only tried following your README. Your suggestions have solved my problems, thank you for your time.
Best regards,
Miguel Gomes

from cpd.

gadomski avatar gadomski commented on June 14, 2024

No worries, good luck!

from cpd.

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.