-
Notifications
You must be signed in to change notification settings - Fork 278
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
Build with conan on MinGW and Cygwin #1224
Comments
On both platforms, conan is trying to build with the -G "MinGW Makefiles". The platform provided cmake (as documented in README.md) does not provide that generator. I've tried to build cmake-3.17.2. Both platforms (with GCC 9.3) fail in the bootstrap saying:
He's mad of course. The reason it doesn't compile is because the he didn't create the c file:
So, I helped him with:
I wonder if there's a method in conan to specify the Generator. |
Cannot build cmake3.17.2 on MinGW.
I got cmake 3.17.2 to build on Cygwin. I saw it compile the MinGW generator files. However, cmake doesn't have that generator. I don't think conan should use the Generator "MinGW Makefiles". Read this: Cygwin and MinGW and conan are not in a working state at this time. |
See: #1353 and #1356 (comment) concerning mingw-w64-x86_64-toolchain I haven't been able to build cmake from source with the mingw-w64-x86_64-toolchain. I haven't succeeded in building Exiv2 on MinGW/msys2 using conan. I've made several discoveries:
|
I'm going to close this. I implemented CI build on Cygwin/64 and MinGW/msys without Conan. #1434. This is discussed in README.md. The challenges of using conan on those platforms is not an Exiv2 issue. |
I've documented conan/MinGW and conan/Cygwin as "unsupported" however, it's desirable to get this working. I do not believe there's much wrong.
On both MinGW and Cygwin,
conan install ..
dies when building expat from Expat/2.2.6@pix4d/stable. I believe Expat 2.2.9 is available. Perhaps all that needed is to get Expat from bin crafters instead of pix4d.One other comment about this. I'd like to put something in README.md about choosing a particular version of a library. The only way I know is to modify conanfile.py. Is that correct, or is there a conan command-line option to override the values in conanfile.py?
The text was updated successfully, but these errors were encountered: