Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error in windows using mingw32 #331

Open
jacklowtaken opened this issue Feb 21, 2024 · 2 comments
Open

build error in windows using mingw32 #331

jacklowtaken opened this issue Feb 21, 2024 · 2 comments

Comments

@jacklowtaken
Copy link

jacklowtaken commented Feb 21, 2024

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

@AlbertShown
Copy link
Contributor

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

@jacklowtaken
Copy link
Author

fixed, should use mingw64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants