-
Notifications
You must be signed in to change notification settings - Fork 195
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
MSVC 2015 support #259
Comments
Hi. It's already there (3356a27), but its missing in msvc64-setup.bat |
Right sorry, that's what I meant to come back and note, I was intending to look into it but didn't get around to my Windows machine. We should test 2015 for other potential problems and compatibility with the prebuilt libs. @hughsando |
I have been meaning to find time to test this myself. Does the git version It should be pretty easy to do a release to solve this issue. On Sat, Jul 25, 2015 at 3:27 AM, Sven Bergström [email protected]
|
Hi. The issue I have found is when compiling (openfl) as "static", all the libs had to be recompiled with vs2015 (in my case I had to recompile the hxcpp/project libs and nme-dev) |
Also this small fix if someone wants to recompile OpenAL (now not used) haxenme/nme-dev#5 |
This is a tricky one, since now msvc 2015 can't be made compatible with On Fri, Aug 7, 2015 at 9:24 PM, Carlos Madrazo [email protected]
|
Maybe they can be saved with a different name or directory and use ${MSVC_VER} or another flag to differentiate them? |
@hughsando any word on an updated release? I am now well past one user a day failing to work on stable releases. With the fact that VS installer takes forever to install/uninstall its extremely unfortunate to be told that the install you just spent an hour waiting for is actually invalid and you need to start over. Please, let me know if there are things I can help to speed up a hxcpp stable release. |
I implemented 'magic_libs' a little while ago: This should solve the problem by compiling the library code on the Is something not working, or is it that you just need a new release? On Wed, Sep 23, 2015 at 7:52 AM, Sven Bergström [email protected]
|
From what I understand, MSVC 2015 does not work out of the box, as with 2013/2012/2010. This is leading users into a mess, and often MSVC un/re/installs break things further by messing up the environment variables. The fixes mentioned above are needed for the normal use of hxcpp for VS 2015. re: static libs: That, and there are numerous other important fixes as well - like 500+ lines of warnings that GCC is still spewing since then as well :) |
I guess then I am asking if you think the current version on On Thu, Sep 24, 2015 at 3:38 PM, Sven Bergström [email protected]
|
Is there a reason that a 4 month+ time window is not time for a release yet? I know haxe 3.3.0 is around the corner, if that is the case maybe we could use more communication on timing. My concern is that we are getting back to months and months of waiting for hxcpp releases like 2012~2013 and it's disruptive to growth, but it's directly affecting the user experience on multiple platforms. This is amplified by the fact that Windows 10, El Capitan, iOS 9, and more platform changes are already out, and right around the corner. The longer we wait the more behind the users get, and the more changes are required, leading to even longer release cycles. So, what are we waiting on? |
Maybe I did not make myself clear. I intend to do a release this weekend, On Thu, Sep 24, 2015 at 4:36 PM, Sven Bergström [email protected]
|
I'll test anything you need to me, not just MSVC related, you can grab me any time on slack as well. I'll report back soon, thanks @hughsando |
Since updating to latest hxcpp release (yay!), I have a fresh install of VS2015 only on Windows 10, the following error is reported; This seems to be a regression, as 64 bit builds have been working fine all along.
|
So something may have changed in the latest, or there could be a bug in On Thu, Oct 1, 2015 at 7:30 AM, Sven Bergström [email protected]
|
2015 is still the full featured version, they got rid of that with the community editions (thankfully). How about this comment, seems relevant #259 (comment) I'll have a look. |
I missed that fact that it is a windows 10 issue - I should be able to get this reproduced. |
So it seems to be working for me on win10 - any chance you can try the bat file directly for a hint about what might be going wrong? |
I can give more verbose info from the hxcpp parts and such. |
Yes, virgin 2015 install on top of fresh windows10 upgrade yesterday. On Sat, Oct 3, 2015 at 12:10 AM, Sven Bergström [email protected]
|
I just heard about the "-19" naming. I believe it would be ideal perhaps to keep the same name for dynamic linking, and to work up a solution for user builds of static linked builds We will have the same problem with mingw32, or other variations of compilers. Lime does not include static binaries, the user needs to build these or use dynamic linking |
I have been meaning to do a post about the "-19" stuff, but I have been On Thu, Oct 8, 2015 at 1:02 AM, Joshua Granick [email protected]
|
I've experienced (as well as others as I have searched the openfl forums regarding the same issue) what is presumably a Visual Studio conflict in versions of
Now as far as the toolchain in hxcpp is concerned, if either Visual Studio 2013 or 2015 is installed, it will use the compiler found in version 14.0 of the IDE. However, if both 2013 and 2015 is installed, this results in the above error. Installing 2015 started causing the error, and uninstalling removed the error. I suspect if I uninstalled 2013 instead of 2015, that this would result in hxcpp using the 2015 version of the compiler. Perhaps hxcpp should add a clear distinguishment between the versions so that this error is resolved, and then I can install 2015 without the Haxe compiler complaining that it can't open the process? |
I'm a little late to this discussion, but I think there should be no If I use an old Android NDK, or a new one, I will likely have different The "-19" prefix has been causing trouble for users with new versions of On Wed, 07 Oct 2015 18:09:41 -0700, Hugh Sanderson
|
@tienery The only VS I have installed is VS2015 Comunnity on my Windows 10, still, I keep getting the Is there any workaround? Edit: Installing the VS2010 Express through |
I suspect it's because |
@tienery Sadly, this is my main developer machine... Going back to VS2013 will probably break my current projects, and I'm too afraid of this risk... |
If you read this thread it IS supported: The error comes from the fact that I have also been trying to figure out why this happens - on many cases a clean install of 2015 just works without problems. SOMETIMES it installs when hxcpp can't even detect MSVC (when msvc doesn't correctly configure the ENV var) and SOMETIMES it makes the variable but cl.exe is not found in the path. The problem lies with the configuration of the system that hxcpp relies on:
If it can find this var, hxcpp assumes that the path is correct, and assumes cl.exe will be found. This error comes from this assumption not being true. One suggested work around is to run your commands from inside the VS Command Line Prompt because it configures it's environment - but hxcpp runs this environment (or attempts to) automatically when VS is configured correctly. You don't need to uninstall 2015 and use 2013, you just have to figure out why this state is inconsistent. Here's the hxcpp part - you can try explicitly configuring it from your user folder .hxcpp_config.xml file, using something like |
@underscorediscovery Ok, let's break this thing down... If I compile through the VS Command Prompt it works correctly (as you pointed out). You said that I "... have to figure out why this state is inconsistent.", but I don't think I understand what you mean. Edit: |
I wonder if it is to do with which user and which permissions installed the If you set the environment variable "HXCPP_VERBOSE" then you will get some
On Sat, Feb 27, 2016 at 5:47 AM, NemoStein [email protected] wrote:
|
MSVC 2015 I think is well enough supported. The -19 suffix will not longer be an issue because the next version of haxe/hxcpp will not use static libraries. |
Hello guys, have you problem with Visual Studio 2015 Community, right? just use -vs14 example lime build windows -vs14 PS: Don't forget to copy netfx_core and netfx_extended into Net Frameworks 4.5 and 4.6 for fix Because I have checked Netfx Setup verifier - If you forget to copy both mzz files from Net Frameworks 4.0 because newest net frameworks didn't add mzz of Net Frameworks 4.0 cause it gets failure of Net Frameworks 4.0 If you use Windows 7 SP 1 than you make sure cleaned full-fresh net frameworks installations
And Net Frameworks 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2 you can like my step-step from 3. you know how does it fix with Net Frameworks 4.0 and newest Net Frameworks 4.x and all net frameworks 4.0 installed successful and verified complete. Do not forget about Net Frameworks 4.6.1 Developer Pack if it says processing net frameworks 4.6.1.. Now you can install Visual Studio 2015 Community I hope my fixed solution helps you... If you work with Windows 7 SP 1. Thanks for taking with my good result! And I have installed haxe 3.2.1 with HXCPP 3.3.49, Openfl 4.1.0 and Lime 3.1.0 and i type lime create helloworld and cd helloworld and lime test windows -vs14 -release than you see that is fresh. No errors yeah! |
Just making a note here for reference while I look into it - MSVC 2015 needs some changes to work.
The
VS140COMNTOOLS
variable is used for 2015, but isn't referenced in the msvc-setup.bat files.The text was updated successfully, but these errors were encountered: