openFL to windows fatal error: cannot open typeinfo.h

Thanks for your reply! I had missed the rebuild command, so I tried it for the first time.
However it did not work.

The openfl rebuild hxcpp windows generates an error saying that stddef.h cannot be found (full output below).
The openfl rebuild windows works without errors but trying to rebuild hxcpp windows yields a slightly different output, however the error is still that stddef.h is missing.

Worth noting is that I have been able to build to windows before, but I haven’t coded in haxe on the laptop for a while now.

Here is the long error output.

$ openfl rebuild hxcpp windows
 - Compiling group 'std' with flags -nologo -DHX_WINDOWS -GR -O2(optim-std) -Zi(debug) -Fdc:\sdk\haxe\hxcpp\3,3,49\project\obj/msvc16xp/vc.pdb(debug) -Od(debug) -O2(release) -Os(optim-size) -Oy- -c -EHs -GS- -arch:SSE -Ic:/sdk/haxe/hxcpp/3,3,49/include -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=0(haxe) -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -wd4996 tags=[haxe,static]
 - Compile : Xml.cpp
 - Compile : Sys.cpp
 - Compile : Process.cpp
Error: While running :cl.exe -nologo -DHX_WINDOWS -GR -O2 -Oy- -c -EHs -GS- -arch:SSE -Ic:/sdk/haxe/hxcpp/3,3,49/include -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=0 -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -wd4996 -MT c:/sdk/haxe/hxcpp/3,3,49/project/libs/std/Xml.cpp -Foc:/sdk/haxe/hxcpp/3,3,49/project/libs/std/obj/msvc16xp/d6864f50_Xml.obj
Xml.cpp
c:\sdk\haxe\hxcpp\3,3,49\include\hx\OS.h(59) : fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory

Error: While running :cl.exe -nologo -DHX_WINDOWS -GR -O2 -Oy- -c -EHs -GS- -arch:SSE -Ic:/sdk/haxe/hxcpp/3,3,49/include -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=0 -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -wd4996 -MT c:/sdk/haxe/hxcpp/3,3,49/project/libs/std/Sys.cpp -Foc:/sdk/haxe/hxcpp/3,3,49/project/libs/std/obj/msvc16xp/d6864f50_Sys.obj
Sys.cpp
c:\sdk\haxe\hxcpp\3,3,49\include\hx\OS.h(59) : fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory

Error: While running :cl.exe -nologo -DHX_WINDOWS -GR -O2 -Oy- -c -EHs -GS- -arch:SSE -Ic:/sdk/haxe/hxcpp/3,3,49/include -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=0 -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -wd4996 -MT c:/sdk/haxe/hxcpp/3,3,49/project/libs/std/Process.cpp Foc:/sdk/haxe/hxcpp/3,3,49/project/libs/std/obj/msvc16xp/d6864f50_Process.obj
Process.cpp
c:\sdk\haxe\hxcpp\3,3,49\include\hx\OS.h(59) : fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory