Comments (7)
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.
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.
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.
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.
Hi, @memsharded! First, thanks so much for taking a look! A couple of things:
- The
sudo conan
is left over from numerous failed debugging attempts. I'll remove it. - Thanks for the heads up on generator creation. I didn't know that
conan
could be fed that option. - I'll take a look into
cmake_layout
. Looks very helpful from a quick look at the docs. - 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
- A minimal docker image.
- 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.
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.
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)
- [bug] detect_api.detect_clang_compiler(compiler_exe="clang") returns an incorrect version HOT 3
- [question] Set test_package_folder based on version in recipe HOT 3
- [bug] Spurious leading spaces in generated conanbuildenv shell scripts HOT 6
- cmake find_package failed when use conanfile.py HOT 2
- [question] Support for avoiding the upload of new recipe revisions in conan upload? HOT 6
- [question] Building libX11 with conan HOT 1
- [question] How to explicitly pass a build directory to `CMake.build()`? HOT 12
- [question] Header only package - cannot access headers HOT 3
- package_info cpp_info components HOT 4
- [question] Is it possible to pass git credentials when doing conan config install HOT 3
- [question] How to access `self.options` of a parent library package from its test package? HOT 2
- [bug] MSVC build issue not reproduceable on linux HOT 9
- Autotools packages are ignoring host profile and building for the build profile HOT 7
- [question] What is the replacement to the `CMake.definitions` list in Conan 2? HOT 4
- [bug] Duplicate dependencies created by CMakeDeps
- [question] conan build or cmake --build cannot find header files HOT 4
- [question] Info on best way to debug/develop packages HOT 4
- [bug] cmake.ctest arguments are not treated properly HOT 2
- [question] Building test package: how to find the includes of the library under test? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conan.