Coder Social home page Coder Social logo

Comments (4)

jacobkahn avatar jacobkahn commented on May 13, 2024 1

@shaheenkdr — before I continue, I'll be sending a change shortly which automatically downloads and installs cereal headers for you when you build flashlight, so if you're still having trouble, that change should be in pretty soon.

The process for building and installing cereal headers is as follows:

  1. Clone cereal, and switch to the develop branch:
git clone https://github.com/USCiLab/cereal.git && cd cereal
git checkout develop
  1. Build and install the headers:
mkdir -p build && cd build
cmake .. -DJUST_INSTALL_CEREAL=ON
make -j4
  1. Actually move the headers to the install directory:
sudo make install -j4

When you build flashlight, it should properly find those headers.

from flashlight.

jacobkahn avatar jacobkahn commented on May 13, 2024

@shaheenkdr — have you installed cereal headers? See #9 and the build requirements.

from flashlight.

shaheenkdr avatar shaheenkdr commented on May 13, 2024

@jacobkahn Thanks for the quick response, been struggling here for quite few days as I come from a non c/cpp environment. I read the issue #9 prior to opening this issue.

Quoting from Cereal's install directory,

" cereal can be directly included in your project or installed anywhere you can access header files. Grab the latest version from Github or use the download links above, then drop the cereal folder from the include directory (cereal_base_dir/include/cereal) somewhere your project can find. There’s nothing to build or make - cereal is header only. "

When you say have you installed cereal headers? , Did you intend to say have I copied the headers to where the project can find ? If that's what you meant, I tried downloading the library, the develop branch and tried moving it to /home/flashlight/flashlight/common/ , Let me know if I have to do anything contrary to that?

from flashlight.

shaheenkdr avatar shaheenkdr commented on May 13, 2024

@jacobkahn Thanks a ton, that resolved the issue 👍 , however, build now produces another set of issues, I probably should close this issue and open another

from flashlight.

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.