-
Notifications
You must be signed in to change notification settings - Fork 36
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 conan-glew on Ubuntu 18.04 - Incorrect 'gcc' version #477
Comments
I noticed an error on travis when building Qt, since conan 1.8.0 is out. It maybe related because it happens only when cross compiling from x86_64 to x86. In my case some system packages where not installed properly. I fixed it by adding environment variable CONAN_DOCKER_32_IMAGES=1 as documented here. Does it solve your problem too ? |
Oh, I see. It's trying to do a matrix build? (Duh!) This worked: Which is good enough for my purpose today. Thanks for the breadcrumbs, I'll go study the Conan Package Tools documentation.... |
Conan Package Tools is via default always tries to build a matrix of various compiler versions and configurations. You could have a look in one of our many repositories or in our templates to see how to configure it correctly. https://github.com/bincrafters/conan-templates/blob/master/.travis.yml If you only need one specific compiler/version you can remove the other entries of course. Let us know if you have more questions. |
@nigels-com At a second look, I'm not sure if you actually wanted to use the Conan Package Tools. The Conan Package tools are used for mass building packages for various configurations. You need to set up one time our repository (for packages we didn't include in conan-center yet): Then you can install it via |
@Croydon I arrived in conan-land via GLEW since I've been revving on that to do a release. I was poking around with the contributed conan-build as a means of getting hands-on with conan and decide if this is something that I'd like to do more with. I made a Conan package for FreeGLUT today which isn't quite perfect, but is looking promising. https://github.com/nigels-com/conan-glut One of my general comments is that since I'm in Australia (otherwise known as the "outer-rim" of the Internet) I'm having some pain with docker containers taking a long time to update themselves from the non-local package repositories. And just now, bintray is timing out for my uploads. I can happily spin-up an EC2 instance in North America for revving on stuff, I guess, but hopefully wiring in more parameterisation is plausible. At work I've been doing similar patterns of Jenkins builds using Docker, so the conan paradigm rings true, even if our cmake monolith looks daunting initially. Even if we can "just" get some larger things such as boost via conan, that would be a good step forward, without perhaps chasing every last thing in the zoo. |
@nigels-com I have worked on freeglut before by the way, please have a look here: conan-io/wishlist#124 and here https://github.com/croydon/conan-freeglut I got it working on Fedora, but linking fails on Ubuntu, Windows and macOS so far. Didn't got the time yet to work on that, also my understanding of the dependencies are probably not got enough to get this finished. Please feel free to contribute there, once it is working I would transfer it over to Bincrafters. Please feel also free to join our Slack here: https://cpplang.slack.com/messages/C41CWV9HA/ (in the rooms Conan and Bincrafters) |
I'm really quite puzzled where this version 4.9 gcc setting is coming from?
It doesn't seem be due to
Steps to reproduce (Include if Applicable)
The text was updated successfully, but these errors were encountered: