hxcpp icon indicating copy to clipboard operation
hxcpp copied to clipboard

FreeBSD, Could not find include file "toolchain/null-toolchain.xml"

Open devosalain opened this issue 1 year ago • 2 comments

My build.hxml is :


--main Main 
--cpp cpp
-D HXCPP_M64

haxe build.hxml , runs fine on arch-linux , but on FreeBSD 14.0-RELEASE-p3 it returns,


...
cpp/include/Reflect.h
cpp/include
cpp
haxelib run hxcpp Build.xml haxe -DHXCPP_M64="1" -Dhaxe="5.0.0-alpha.1" -Dhaxe3="1" -Dhaxe4="1" -Dhaxe_ver="5.000" -Dhxcpp_api_level="430" -Dhxcpp_smart_strings="1" -Dsource_header="Generated by Haxe 5.0.0-alpha.1" -Dstatic="1" -Dtarget.atomics="1" -Dtarget.name="cpp" -Dtarget.static="1" -Dtarget.sys="1" -Dtarget.threaded="1" -Dtarget.unicode="1" -Dtarget.utf16="1" -Dutf16="1" -I -I/usr/local/share/haxe/std/cpp/_std/ -I/usr/local/share/haxe/std/
Error: Could not find include file "toolchain/null-toolchain.xml"
Error: Build failed

devosalain avatar Jan 29 '24 12:01 devosalain

Looks like hxcpp doesn't support FreeBSD currently: https://github.com/HaxeFoundation/hxcpp/issues/277

tobil4sk avatar Jan 29 '24 19:01 tobil4sk

Actually hxcpp is supported by PS4/PS5 and these consoles use FreeBSD based operating systems. ORBIS definition might work for FreeBSD compilation.

https://github.com/HaxeFoundation/hxcpp/blob/54af892be2ca4c63988c99c9c524431af6c6f036/src/hx/Date.cpp#L363

barisyild avatar Oct 28 '24 01:10 barisyild