HXCPP Compile Error by different versions of hxcpp
-
Dear guys,
i have the latest stable haxe, flixel and so on
i follow the tutorial for flixel
i try all commands:
lime test flash <- works fine
lime test html5 <- works fine
lime test android <- works fine
lime test windows <- fails
change version, i remember that i change the version on work, because i got the error with the "std.dll"
i change the version to 3.4.46
lime test windows <- fails
i try a lot of different versions of hxcpp, no one works
on work it works with version 3.4.64 without problemsCreating FlixelTut/export/windows/cpp/obj/obj/msvc16-debug-ncxp/__pch/haxe/hxcpp.pch...
hxcpp.cpp
HaxeToolkit\haxe\lib\hxcpp\3,4,64\include\hxcpp.h(16) : fatal error C1083: Datei (Include) kann nicht ge”ffnet werden: "typeinfo.h": No such file or directory
Error: Could not create PCHWindows 10
VS C++ Express 2010 <- install by lime setup windows
haxedevelop 5.3.1
haxe 3.4.4
lime 2.9.1
hxcpp 3.4.64
-
Try Visual Studio 2013 or 2015
-
Visual Studio Community 2013 doesn't work
now i try VS-Community 2015
-
It works with VS-Studio Express 2010 with following versions:
flixel-addons: [2.5.0]
flixel-demos: [2.4.3]
flixel-templates: [2.4.6]
flixel-tools: [1.4.1]
flixel-ui: [2.2.0]
flixel: [4.3.0]
flow: [git]
hxcpp: [3.4.64]
lime-samples: [4.0.1]
lime: [2.9.1]
openfl: [3.6.1]It could be helpful to check the path on Windows
The Installation doesn't do it correctly
I write the following folders in the path on Windows for system and user:
C:\Program Files (x86)\Microsoft Visual Studio 10.0
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\includei hope it will helpful for other people wich have the same problem with flixel and the "lime test windows"
-
I mean compilation surely should work with both VS2013 and VS2015. VS2010 has some problems, like processing assets for an hour, so I don't recommend it.
As I wrote this I also remembered that new VS versions don't install C++ compiler by default and only install C#, so C++ should be explicitly enabled by the user in the installer. (but if this is the case, Android builds should be broken too)