Git Product home page Git Product logo

Comments (7)

memsharded avatar memsharded commented on July 19, 2024

Hi @NateSeymour

Thanks for reporting. I am having a look, but if it only happens in CI and not locally it might be a bit challenging to debug.

As a first quick question: why are you using sudo conan? This shouldn't be necessary, and it is discoraged in most cases.

Also the last cmake .. --preset conan-release -G "Ninja" could be problematic, the generator should already be defined earlier, because depending on the generator, the layout, files, etc might be different. The correct way is:

conan install ... -c tool.cmake.cmaketoolchain:generator=Ninja
cmake --preset conan-release

As a side recommendation, adding [layout] with cmake_layout will simplify your command line, and --output-folder will be unnecessary (and it works better with other generators as Visual Studio)

from conan.

memsharded avatar memsharded commented on July 19, 2024

I am trying first with Windows, my base OS, but it seems the code is not fully portable, for example depends on BISON, but this is not a Conan dependency? I'll move to Linux to try

from conan.

memsharded avatar memsharded commented on July 19, 2024

Uhm, I am getting in Linux:

Could NOT find BISON (missing: BISON_EXECUTABLE) (Required is at least

Are you assuming bison is in the system?

from conan.

memsharded avatar memsharded commented on July 19, 2024

I am skipping the bison, flex and llvm requirements, trying to reproduce locally on my Ubuntu 22.04, but still didn't manage to make it fail.

It would be great to have something a bit more reproducible, like using a public docker image, and also reducing the reproducible case to the minimum, removing the unnecessary bits like bison, flex, llvm, and just leaving the sfml lib. Thanks!

from conan.

NateSeymour avatar NateSeymour commented on July 19, 2024

Hi, @memsharded! First, thanks so much for taking a look! A couple of things:

  1. The sudo conan is left over from numerous failed debugging attempts. I'll remove it.
  2. Thanks for the heads up on generator creation. I didn't know that conan could be fed that option.
  3. I'll take a look into cmake_layout. Looks very helpful from a quick look at the docs.
  4. I hadn't even thought to look in conan center for the flex/bison packages. Good to know that they're there. I'll definitely end up migrating them over to conan deps. Just strange that they don't support Windows?

Second, I'll go ahead and create both

  1. A minimal docker image.
  2. A GitHub repository with a GitHub action that builds it.

and I'll get back to you a bit later today.

Have a great day!

from conan.

NateSeymour avatar NateSeymour commented on July 19, 2024

Hi again, @memsharded! It must have been the sudo that I forgot to remove, because now the build stage is passed just fine. Sorry to waste your time with this one, but I really appreciate the help and all the conan tips! Hope you have a great day :)

from conan.

memsharded avatar memsharded commented on July 19, 2024

Hi again, @memsharded! It must have been the sudo that I forgot to remove, because now the build stage is passed just fine. Sorry to waste your time with this one, but I really appreciate the help and all the conan tips! Hope you have a great day :)

Happy to help and happy to know that the issue is gone with that 🙂

Don't hesitate to create new tickets for any further question or issue you might have. Cheers!

from conan.

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.