lc-soft / LCUI

C library for building user interfaces
https://lcui-dev.github.io
MIT License
4.13k stars 356 forks source link

can you release lcui.dll and lcui.h? #213

Closed retsyo closed 1 year ago

retsyo commented 4 years ago

Is your feature request related to a problem? Please describe. I failed to compile lcui on msys2+mingw64 on win7 64 bits. And I don't have VS installed [see the foot note]

Describe the solution you'd like Can you release lcui.lib( for static link), lcui.dll and lcui.h, so that the user can try it with for example, python

thanks

[footnote] I tweaked and compiled lcui. So far I can arrived at

$ make
...
  CCLD     libLCUI.la
libtool: warning: undefined symbols not allowed in x86_64-w64-mingw32 shared libraries; building static only
...

make[1]: Entering directory '/r/LCUI-develop/test'
  CC       helloworld.o
  CCLD     helloworld.exe
E:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: helloworld.o:helloworld.c:(.text+0x15): undefined reference to `LCUIWidget_GetById'
E:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: helloworld.o:helloworld.c:(.text+0x29): undefined reference to `LCUIWidget_GetById'
E:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: helloworld.o:helloworld.c:(.text+0x3f): undefined reference to `TextEdit_GetTextW'
E:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: helloworld.o:helloworld.c:(.text+0x4a): undefined reference to `TextView_SetTextW'
lc-soft commented 4 years ago

Just now, I found that artifacts on Appveyor CI does not contain the release version of LCUI.dll, and I will upload these full zip packages after updating its configuration file.

lc-soft commented 4 years ago

Try to run make V=1 for verbose output.

lc-soft commented 4 years ago

The zip packages have been uploaded, you can find them on the release page: https://github.com/lc-soft/LCUI/releases/tag/v2.1.0

image

retsyo commented 4 years ago

来自nim语言的问候“helloworld.nim” https://github.com/retsyo/nim-lcui 另外,可否也发布静态链接的库?我还是不尝试自己编译了

谢谢

lc-soft commented 4 years ago

@retsyo 静态库的话,记得当初好像是因为编译应用程序时需要指定链接 LCUI 及其全部依赖库,太麻烦,所以就没有加静态库的编译配置。

现在我没时间搞这个,也不打算搞,你可以找其他熟悉 C 编译配置技术的人来搞。