VS2017 + conan usage #606
Replies: 14 comments 1 reply
-
I've just enabled EnTT discussions here (finally, thanks GH!) and this questions is probably better suited for that. |
Beta Was this translation helpful? Give feedback.
-
Since this package doesn't need to be built, you can do a separate install: |
Beta Was this translation helpful? Give feedback.
-
The trouble we run in to is conan itself performs a compiler check during cmake scan. The conan VS/MSVC version managing is complicated to say the least. At any rate, at this point cmake halts because it: "Detected a mismatch for the compiler version between your profile settings and CMake" Which is actually technically true, since A workaround seems possible by using UPDATE Am met with error Rather than going that way, I wonder - would be possible for entt packaging to be upgraded to permit |
Beta Was this translation helpful? Give feedback.
-
Umm are you using the Just remember to set the CMAKE_MODULE_PATH to the build directory when doing so, so that cmake finds the scripts conan generates. |
Beta Was this translation helpful? Give feedback.
-
@malachib I'm more than willing to do what is needed in |
Beta Was this translation helpful? Give feedback.
-
Yeah, I am using the UPDATE I've reworked things to use the suggested It's a little mysterious to me what piece of conan is actually generating that https://github.com/conan-io/conan-center-index/blob/master/recipes/cpp-taskflow/all/conanfile.py but frankly that seems like a random shot in the dark. I'm confused 😕 |
Beta Was this translation helpful? Give feedback.
-
What about contacting someone from Conan for this? Maybe they can provide a solution that we don't see. |
Beta Was this translation helpful? Give feedback.
-
@malachib I'd be happy to help further, maybe move this to the discussions area or the discord so we can keep the EnTT issues clean 😅 |
Beta Was this translation helpful? Give feedback.
-
Hi! The error comes from this condition in the
and it should work, Conan would inject the flag to use C++17 and the library will compile... but given the checks in the recipe, that configuration will fail too. Let me submit a PR to ConanCenter to fix the issue. |
Beta Was this translation helpful? Give feedback.
-
Creating #612 as suggested 😄 |
Beta Was this translation helpful? Give feedback.
-
We can directly convert the issue in a discussion. I think it's better, so as to maintain the history. Here is the last comment by @malachib from the discussion he created:
|
Beta Was this translation helpful? Give feedback.
-
Relinking conan-io/conan-center-index#3840 for fun and profit |
Beta Was this translation helpful? Give feedback.
-
So, the conan-sided issue is solved as far as I can tell and |
Beta Was this translation helpful? Give feedback.
-
Been so slammed!! |
Beta Was this translation helpful? Give feedback.
-
Hey, firstly thank you for this amazing library!
Although this is primarily a conan issue, I'm hoping you have some expertise to help me out because the conan discussions go on for miles on the topic.
I am unable to do a
conan install
when using VS2017 due to:This is primarily because compiler.version=15 was the first release of VS2017 which had no C++17, but now it does. Conan has no notion of compiler.version=15.9, and conan's
cppstd=17
isn't noticed because the compiler test fails first.Do you have any suggestions for using VS2017 + conan + C++17? It seems a shame to go down the C++14 route (though I am doubly thankful, that you've provided that option)
Beta Was this translation helpful? Give feedback.
All reactions