-
Notifications
You must be signed in to change notification settings - Fork 158
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
Compiler errors in a simple program that uses Windows.h in version 3.3.0 #217
Comments
Ok, after reading the detailed output of the commands I think I have identified the problem. When I was using the version 3.2.3 the plugin didn't have a functionality to detect the Windows SDK/Visual Studio, so you had to configure manually your tools first. See: http://stackoverflow.com/a/34658125/2692914 It appears to me that in version 3.3.0 the plugin tries to detect the Windows SDK/Visual Studio versions, so if you have more than one: it will select the first it encounters? In my case:
So, is there a way to override this automatic detection? For example, when you need to use some specific Windows SDK/Visual Studio compiler. |
A check-in for 3.3.0 to supporting win10 sdk which had some backward compatibility issue. Rather than taking "whatever is in the environment" the 3.3.0 process will look for latest tools. One option to override would be "by specific path" - this prevents the search
Another better option not working in 3.3.0 is to specify the version desired
|
Thanks for your response. I am not sured what happened but it worked with 3.3.0 and
As a side note, maybe it will be better to look for paths or tools only when the user hasn't configured its tools. For example, executing Thanks a lot for your answer! |
Found the same issue when the system has more than one VS. I traced the code and found in However, conceptionally, |
@lmiguelmh: can you please give it a try and see if this issue is resolved with your system configuration? |
Hi guys sorry for the late answer.
This was the result when executing
Thanks again. The problem is fixed. |
Awesome, thanks for following up @lmiguelmh. |
A simple program like this was compiling and executing fine in version 3.2.3.
The problem arises when using 3.3.0 (published the 29-Feb-2016 in the maven central repository).
Will give a lot of errors:
The text was updated successfully, but these errors were encountered: