Open jacklowtaken opened 4 months ago
while I build example at webui\examples\C\minimal, I meet an error:
E:\tool\ui\webui\examples\C\minimal>mingw32-make "Build C Example (gcc release static)..." D:\Users\yl3410\AppData\Local\Temp\cc8Ga2nq.o:main.c:(.text.startup+0xf): undefined reference to webui_new_window' D:\Users\yl3410\AppData\Local\Temp\cc8Ga2nq.o:main.c:(.text.startup+0x1f): undefined reference towebui_show' D:\Users\yl3410\AppData\Local\Temp\cc8Ga2nq.o:main.c:(.text.startup+0x24): undefined reference to `webui_wait' collect2.exe: error: ld returned 1 exit status GNUmakefile:99: recipe for target 'release' failed mingw32-make: *** [release] Error 1
webui_new_window' D:\Users\yl3410\AppData\Local\Temp\cc8Ga2nq.o:main.c:(.text.startup+0x1f): undefined reference to
You need to build first the library before building the examples.
cd E:\tool\ui\webui mingw32-make cd E:\tool\ui\webui\examples\C\minimal mingw32-make
fixed, should use mingw64
while I build example at webui\examples\C\minimal, I meet an error:
E:\tool\ui\webui\examples\C\minimal>mingw32-make "Build C Example (gcc release static)..." D:\Users\yl3410\AppData\Local\Temp\cc8Ga2nq.o:main.c:(.text.startup+0xf): undefined reference to
webui_new_window' D:\Users\yl3410\AppData\Local\Temp\cc8Ga2nq.o:main.c:(.text.startup+0x1f): undefined reference to
webui_show' D:\Users\yl3410\AppData\Local\Temp\cc8Ga2nq.o:main.c:(.text.startup+0x24): undefined reference to `webui_wait' collect2.exe: error: ld returned 1 exit status GNUmakefile:99: recipe for target 'release' failed mingw32-make: *** [release] Error 1