Windows Build Error



  • Hello,

    I'm trying to build a simple hello world program for windows. However, when I run "lime test windows" I get the following error:
    C:/HaxeToolkit/haxe/lib/hxcpp/3,4,64/include\hxcpp.h(16): fatal error C1083: Cannot open include file: 'typeinfo.h': No such file or directory
    Error: Could not create PCH

    Here is my haxelib list:
    flixel-addons: [2.5.0]
    flixel-demos: [2.4.2]
    flixel-templates: [2.4.4]
    flixel-tools: [1.4.1]
    flixel-ui: [2.2.0]
    flixel: [4.3.0]
    hxcpp: [3.4.64] 3.4.188
    lime-samples: [4.0.1]
    lime: [2.9.1]
    openfl: [3.6.1]

    Any ideas?



  • Try this version, haxelib install hxcpp 3.3.49 If that does not build a windows app then you can try it with these libs...

    haxelib install flixel 4.0.1
    haxelib install flixel-tools 1.1.3
    haxelib install flixel-addons 2.1.0
    haxelib install flixel-demos 2.2.0
    haxelib install flixel-templates 2.0.2
    haxelib install flixel-ui 2.1.0
    haxelib install hxcpp 3.3.49
    haxelib install layout 1.2.1
    haxelib install lime 2.9.1
    haxelib install lime-samples 2.6.0
    haxelib install nape 2.0.20
    haxelib install openfl-samples 4.0.0
    haxelib install openfl-tools 1.0.10
    haxelib install openfl 3.6.1
    haxelib install swf 2.3.1


  • After setting all of those, I get the following error:

    Error: error running cl.exe -Iinclude -nologo /WX- /fp:precise -DHX_WINDOWS -D_USING_V140_SDK71_ -GR -O2 -FS -Oy- -c -EHs -GS- -arch:SSE -IC:/HaxeToolkit/haxe/lib/hxcpp/3,3,49/include -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=331 -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -wd4996 -MT -Ychxcpp.h -Yllinkf4dc6f2e9462795bfb58e225ebb9d04a C:/Users/NuclearEagleFox/Software/HelloWorld/export/windows/cpp/obj/obj/msvc19-ncxp/__pch/haxe/hxcpp.cpp /FpC:/Users/NuclearEagleFox/Software/HelloWorld/export/windows/cpp/obj/obj/msvc19-ncxp/__pch/haxe/hxcpp.pch -FoC:/Users/NuclearEagleFox/Software/HelloWorld/export/windows/cpp/obj/obj/msvc19-ncxp/__pch/haxe/hxcpp.obj
    

    Haxelib list:

    flixel-addons: [2.1.0] 2.5.0
    flixel-demos: [2.2.0] 2.4.2
    flixel-templates: [2.0.2] 2.4.4
    flixel-tools: [1.1.3] 1.4.1
    flixel-ui: [2.1.0] 2.2.0
    flixel: [4.0.1] 4.3.0
    hxcpp: [3.3.49] 3.4.64 3.4.188
    layout: [1.2.1]
    lime-samples: [2.6.0] 4.0.1
    lime: [2.9.1] 5.7.1
    nape: [2.0.20]
    openfl-samples: [4.0.0]
    openfl-tools: [1.0.10]
    openfl: [3.6.1] 6.2.2
    swf: [2.3.1]
    


  • You can try haxe 3.2.0 with those libs



  • Unfortunately, I get the same error after installing 3.2.0.



  • What version of Visual Studio C++ do you have installed. I am using 2010 Express.



  • Whichever is installed when running lime setup windows.


Log in to reply
 

Looks like your connection to HaxeFlixel was lost, please wait while we try to reconnect.