happy-agent-4114
05/17/2023, 9:44 PMbright-gpu-74537
05/17/2023, 9:44 PMhappy-agent-4114
05/17/2023, 9:44 PMhappy-agent-4114
05/17/2023, 9:44 PMbright-gpu-74537
05/17/2023, 9:45 PMpowerful-morning-89
05/17/2023, 9:47 PMbright-gpu-74537
05/17/2023, 9:48 PMpowerful-morning-89
05/17/2023, 9:49 PM#error "No backend found, add -lib haxeui-<backend> to your hxml"
, which will trigger a compilation error showing that error message.bright-gpu-74537
05/17/2023, 9:50 PMpowerful-morning-89
05/17/2023, 9:51 PMComponentImpl.hx
in haxeui-core.
The only problem is that this might not work well if the user includes -lib haxeui-foo
before including -lib haxeui-core
.bright-gpu-74537
05/17/2023, 9:51 PMbright-gpu-74537
05/17/2023, 9:52 PMpowerful-morning-89
05/17/2023, 9:52 PMextraParams.hxml
with -D haxeui_has_backend
. Then you could do hx
#if !haxeui_has_backend
#error "..."
#end
bright-gpu-74537
05/17/2023, 9:52 PMhappy-agent-4114
05/17/2023, 9:53 PMbright-gpu-74537
05/17/2023, 9:53 PMbright-gpu-74537
05/17/2023, 9:54 PMpowerful-morning-89
05/17/2023, 9:56 PMType not found: haxe.ui...
happy-agent-4114
05/17/2023, 9:57 PMbright-gpu-74537
05/17/2023, 9:57 PMhappy-agent-4114
05/17/2023, 9:57 PMpowerful-morning-89
05/17/2023, 9:57 PMbright-gpu-74537
05/17/2023, 9:57 PMhappy-agent-4114
05/17/2023, 9:58 PMpowerful-morning-89
05/17/2023, 9:59 PMbright-gpu-74537
05/17/2023, 9:59 PMbright-gpu-74537
05/17/2023, 9:59 PMhttps://cdn.discordapp.com/attachments/565569107701923852/1108514190349578310/image.pngâ–¾
happy-agent-4114
05/17/2023, 9:59 PMhappy-agent-4114
05/17/2023, 10:00 PM