Error lime test windows



  • Hi there,

    I'm a flixel beginner and I am trying to test what Haxe and Flixel is so strong about : multi-platform compilation.

    I followed the "Hello world" flixel tutorial and it worked for html5 and flash, but then struggled with windows compilation, with the following error :

    Creating D:/Web/HaxeFlixel/HelloWorld/export/windows/cpp/obj/obj/msvc-ncxp/__pch/haxe/hxcpp.pch...
    'cl.exe' is not recognized
    Error : Could not create PCH

    So, I read cl.exe is an executable from Microsoft visual studio, which I have installed.

    I found the cl.exe file in Visual Studio 14.0 bin folder. I added this folder to the environment path, and I get through the previous error, but then another one appeared :

    D:/Logiciels/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

    So I guess I really had to mistep something, though I don't know what.

    Perhaps my hxcpp version it too newer ?
    I have :

    • haxe compiler version 3.4.3
    • lime version 2.9.1

    Thank you.



  • Try with older Visual Studio or newer hxcpp
    https://github.com/HaxeFoundation/hxcpp/issues/590


Log in to reply
 

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