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
List of supported compilers, etc. #364
Comments
You can find all the settings in the ~/.conan/settings.yml You can edit this file, it's totally configurable. If you detect the need of a new setting please tell us to add it to the defaults. |
You should use: It is true that most packages in windows have binaries for MSVC, but MinGW support is not so common, so you might need to build them from sources, or even adapt some package recipe in order to provide MinGW support. Ask for help if needed. |
I think it is necessary to add this compiler setting for GCC/MinGW-w64:
The combination dwarf2/x86_64 is not supported. The POSIX/Windows distinction for the threads is not important to me. Here is some information about it: http://stackoverflow.com/a/30390278/126306 |
Hi, It turns out that Linux Mint 18 comes with gcc 5.3. Everthing was working fine, but one day mint decided to upgrade me to 5.4 during the regular system updates. That's when conan started complaining. Anyways to fix it, I had to just add "5.4" to my settings.yml file in the gcc section, maybe this should be added by default? |
I'd assume so, yes. I just downloaded and installed Conan for the first time. I have Ubuntu 16.04 which updated its default GCC version from 5.3 to 5.4 recently. Here's my first attempt to use it: It seems to be the first time you run conan
Auto detecting your dev setup to initialize conan.conf
Found gcc 5.4
Found clang 3.8
Default conan.conf settings
os=Linux
arch=x86_64
compiler=gcc
compiler.version=5.4
compiler.libcxx=libstdc++
build_type=Release
*** You can change them in ~/.conan/conan.conf ***
*** Or override with -s compiler='other' -s ...s***
ERROR: '5.4' is not a valid 'settings.compiler.version' value.
Possible values are ['4.4', '4.5', '4.6', '4.7', '4.8', '4.9', '5.1', '5.2', '5.3', '6.1'] I'm guessing this means that Conan doesn't work out of the box for most Ubuntu 16.04 users. This issue is closely related to issue #26. |
Hi Gavin, John, Yes, didnt realize cause we are mostly using travis for testing, and Ubuntu 14 as reference distro. I added it to the default, checked that a migration will occur and submitted yesterday a PR with it: #380. I should have referenced this issue, sorry I forgot. It will be released in next 0.11, most likely this week. In the meantime, yes, please, just add 5.4 to your /.conan/settings.yml and it will work. Thanks very much for reporting and the feedback |
I unfortunately have not found a list of supported compilers (e.g. the value "gcc"), platforms, etc.
I expected the list to be available here: http://docs.conan.io/en/latest/reference/conanfile.html#package-meta-information
BTW, what should be used for MinGW-w64 i686/SJLJ/POSIX threads?
The text was updated successfully, but these errors were encountered: