-
Notifications
You must be signed in to change notification settings - Fork 286
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 on Windows with Visual Studio 2017 (Clang toolchain) #753
Comments
The support for Visual Studio 2015 building DART 6.0 has been suspended because of the incomplete |
Ok, As you say, in update 3, I did not see the constexpr error. |
I can confirm that the same error occurs with Visual Studio 2017 RC1.
Along with these.
|
Hm, I'm not sure whether these are bugs of VS or our code has syntactic errors. |
Any progress on this issue? Since there are no prebuilt libraries, it seems very constrictive to require a such an old VS for building |
Sorry, no progress yet. I'm still getting the same errors with Visual Studio 2017 RC1 as @mottosso . |
For now I compiled the old release (<3) which works. It's annoying though, it seems it's just this one weird template inference problem. There is probably an easy fix, but the strange way templates are used here are a mystery to me. |
Update: Visual Studio 2017 is now available, and AppVeyor seems to support the image for it soon. We could test DART 6.1 on AppVeyor with VS2017 + Clang toolchain at that moment. |
Resolved by #956 |
The original template problem of the author iamyaoting still persists in even in very latest VS2017 version 15.7.2 and git master branch ( DART 7.0.0 ) in code that is supposed to use a cmake compiled version of dart ( also DART 6.6.0 had the same problem ):
Also switching VS2017 to "ISO C++ Latest Draft Standard (/std:c++latest)" does not help. How exactly (with what version ) did you test that with VS2017 before closing ? Also the dart library shows a huge number of warnings in VS2017 , so I need to use the following:
|
I think the flag you need in your consumer project is We should probably make that flag a Let us know if adding |
Note that the (Edit: Although I suppose some new language features are related to parsing...) |
Indeed you are right, changing in VS2017 the "Conformance mode" in C++/Language to "Yes (/permissive-) " solves that issues. Thank you very much for the fast answer! |
* Build dartsim and test plugins with /permissive- with MSVC due to dartsim/dart#753 * Disable C4250 compiler warnings. * Create unversioned dartsim plugin by copy rather than symlink, since symlinks require extra permissions on Windows. This copies the TPE approach. Signed-off-by: Steve Peters <[email protected]>
* Build dartsim and test plugins with /permissive- with MSVC due to dartsim/dart#753 * Disable C4250 compiler warnings. * Create unversioned dartsim plugin by copy rather than symlink, since symlinks require extra permissions on Windows. This copies the TPE approach. * check_test_ran.py: windows compatibility Signed-off-by: Steve Peters <[email protected]>
Hello,I install the Visual Studio Update3, but I built it(Dart 6.0) with following error:
What's the problem? Can you help me?
Thank you
The text was updated successfully, but these errors were encountered: