-
Notifications
You must be signed in to change notification settings - Fork 946
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[question] Building xz_utils with mingw fails #16254
Comments
Thanks for your question. First, I'd like to advice about using Then, it is typically necessary to define some more configuration to use MinGW on windows, some Also, threads: [null, posix, win32] # Windows MinGW
exception: [null, dwarf2, sjlj, seh] # Windows MinGW These settings should be defined too. This page of the docs might help: https://docs.conan.io/2/examples/dev_flow/tool_requires/mingw.html So, in summary, if you are starting/learning Conan and using packages from ConanCenter, I'd strongly recommended to use Visual Studio community instead of MinGW, as it will be better supported. Then, regarding the problem you are reporting, there could be different things. For some reason it seems it is using information from
and
Note the last command the And this should work with your setup. |
@memsharded Thank you very much for your answer, I will try your solution, I am very bullish on conan and I will continue to support conan |
Great, thanks very much and thanks for your feedback. I'll keep the ticket open, let me know how it goes with the above suggestions. |
我想知道 |
Not sure what you mean, I entered above in translator. If you mean what are the default But if you just enter any value, Conan will error and will tell you what are the available possible values. |
I really appreciate your answer. I used |
@memsharded
|
@memsharded I have a small question for you. Is there a way or configuration to specify the dynamic libraries, static libraries, and header files generated by Conan in my project directory, so that it is convenient for me to package my project without having to search and copy them from the Conan directory? |
ConanCenter got almost 6000 Pull Requests in 2023 alone. This is a huge task, improving support for MinGW might be eventually possible adding more CI builds with MinGW, but that will take a long time and a big effort from the community too. This is not something that it is in our hands, without the community this is almost impossible. Sometimes the issue is that there are libraries that don't compile at all in MinGW, only with MSVC, and for those cases, Conan cannot do anything, it is not in scope of Conan to patch C++ source code to make it work for all scenarios, so those might take even longer if the upstream maintainers do not prioritize that, and that is also another challenge.
I am not sure what you mean. You can control dependencies, if you want them as shared libraries you can use |
@memsharded |
I have tried setting the
|
@memsharded |
The The
|
What is your question?
profiles
conanfile
Log
Based on my investigation. I found that the dependency on ffmpeg for OpenCV requires xz_utils/5.4.5, which cannot be installed. I tried to install xz_utils/5.4.5 and received the same error
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: