Coder Social home page Coder Social logo

Can't build cppcodec about cppcodec HOT 4 CLOSED

tplgy avatar tplgy commented on September 27, 2024
Can't build cppcodec

from cppcodec.

Comments (4)

jpetso avatar jpetso commented on September 27, 2024

Thanks. I believe this is fixed by pull request #55, which depends on Catch >= 2.3.0 and includes changed to test_cppcodec.cpp. I'll close this issue once #55 gets merged, if you want to verify it then please let me know if it works for you after the patch.

from cppcodec.

CleanHit avatar CleanHit commented on September 27, 2024

If i'm not wrong then the fedora 28 repositories only have the catch catch-devel-2.2.2 and catch1-devel-1.12.1 packages at the moment. Since I don't use the test functionality for now, I've done this:

#if (BUILD_TESTING)
#    add_subdirectory(test)
#endif()

To avoid the error with make.

from cppcodec.

jpetso avatar jpetso commented on September 27, 2024

Yep, that works too. cppcodec includes a copy of Catch, so if the system version isn't found (Catch 2.3.0 provides a different pkg-config version) then it uses the included version instead. After the patch from my PR, assuming git submodules are updated, it should work without patch even when your system only provides 2.2.

from cppcodec.

jpetso avatar jpetso commented on September 27, 2024

Should be fixed with commit 302dc28 from PR #55. If the same problems persist, please reopen the bug. Thanks!

from cppcodec.

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.