#include "eui_neo.h"
namespace app {
const DslAppConfig& dslAppConfig() {
static const DslAppConfig config = DslAppConfig{}
.title("My App")
.pageId("my_app")
.windowSize(960, 640);
return config;
}
void compose(eui::Ui& ui, const eui::Screen& screen) {
ui.column("root")
.size(screen.width, screen.height)
.padding(32.0f)
.content([&] {
ui.text("title")
.text("Hello EUI-NEO")
.fontSize(28.0f)
.build();
})
.build();
}
} // namespace app
Details
ld.lld: error: undefined symbol: WinMain
referenced by ../crt/crtexewin.c:62
libmingw32.a(lib64_libmingw32_a-crtexewin.o):(main)
clang-22: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Details
ld.lld: error: undefined symbol: WinMain