-
Notifications
You must be signed in to change notification settings - Fork 5
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
Test won't run on Windows #4
Comments
I don't understand what it has to do with icons ... The new visual studio (2017) has changed things at the back, like the location of vcvarsall ... |
I suspect haxe/hxcpp/flow doesnt cope with VS2017 yet? |
At this stage it's before hxcpp, @kewp I think long back there was some issues that catching a missing msvc early was better and it was just where it happened to be doing checks anyway. You can see the code here, I'd appreciate some insight into what has changed for the new version to be supported? Alternatively just disable the |
Yes - Once vcvarsall is run VS150COMNTOOLS is set (and in the code that isn't checked) |
Does that mean the order is wrong in 2017? |
(Not sure what you mean by 'the order is wrong') Still doesn't work. See here https://developercommunity.visualstudio.com/content/problem/13223/no-environmental-variable-vscomntools150.html Looks like Visual Studio 2017 stopped setting the environment variables (like VS150COMNTOOLS). So you have to run vcvarsall FIRST... not sure how you would from flow. Also, in icons.windows.js, the path for vcvarsall (line 62 in your link above) is wrong - in 2017 it needs to be That is moot, though, since you can't rely on the environment variable. Here it says you need to use a tool called I suppose the best is to include it in the distribution ? |
Been trying all morning to tie this into your scripts but getting the environment variable set in a batch file to persist out to node is a nightmare. |
ah, at this point it's clear that 2017 just isn't supported. Gotta love Microsoft approach to breaking everything at least. Did you try without the |
Same thing - looks like hxcpp doesn't work with visual studio 2017 either.
Using makefile: flow.Build.xml
|
MSCV 2017 support was added in 3.4.185: https://github.com/HaxeFoundation/hxcpp/blob/master/Changes.md#34185 |
I do have Visual Studio installed (2017) with C++ modules.
The text was updated successfully, but these errors were encountered: