idea4good / guilitesamples Goto Github PK
View Code? Open in Web Editor NEW✨Small interesting GUI effects could be reused everywhere
Home Page: http://v.youku.com/v_show/id_XMzA5NTMzMTYyOA
License: Apache License 2.0
✨Small interesting GUI effects could be reused everywhere
Home Page: http://v.youku.com/v_show/id_XMzA5NTMzMTYyOA
License: Apache License 2.0
使用海思uclibc工具链编译ARM版本的HostMonitor示例时,出现如下错误:
~/GuiLiteSamples/HostMonitor/BuildLinux/main.cpp:8:22: fatal error: execinfo.h: No such file or directory
通过注释掉main.cpp文件中的include<execinfo.h>发现可以正常编译通过,可能这个包含不是必须的,建议移除掉。
此外在链接阶段,GCC-4.9.4依然会出现前面提出的issue #24
The examples go against (my) privacy expectations for open-source projects in 2 points:
.sync_build.sh
on Linux; this should be opt-in, not something by-default and without a visible notice (yes, I know this is metioned in https://github.com/idea4good/GuiLite#hero-features).sudo
— seriously...?!错误信息如下:
[ 95%] Built target UIcode
[ 97%] Linking CXX executable HostMonitor
Undefined symbols for architecture x86_64:
"c_bitmap::draw_bitmap(c_surface*, int, struct_bitmap_info const*, int, int, unsigned int)", referenced from:
c_bitmap_wave_ctrl::on_paint() in libUIcode.a(wave_ctrl_ex.cpp.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [BuildMacCmd/HostMonitor] Error 1
make[1]: *** [BuildMacCmd/CMakeFiles/HostMonitor.dir/all] Error 2
make: *** [all] Error 2
建议给GuiLiteSamples写个说明文档,readme说明内容有点少。
Hi,
I liked GuiLite project and the sample which you have showcased is awesome.
I'm a QT developer i have checked the samples and didn't found the waveform drawing in QT application.
Is waveform drawing is possible in QT widget?.
I have planned to use this toolkit for drawing audio waveform please suggest me, how we can use it in QT widget.
Thanks,
Sundaram
这是最后的示提(前面还有很多都是 -fPIC 的):
/usr/bin/ld: /home/C/GuiLiteSamples/HostMonitor/BuildLinux/libs/libcore.a(msg_linux.cpp.o): relocation R_X86_64_32 against
.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: 最后的链结失败: 输出不可表示的节
collect2: error: ld returned 1 exit status
CMakeFiles/sample_native.dir/build.make:120: recipe for target 'sample_native' failed
make[2]: *** [sample_native] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/sample_native.dir/all' failed
make[1]: *** [CMakeFiles/sample_native.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2`
linux下,HelloGuiLite 的 FB_APP_MODE 模式不能显示,只能使用截图功能。
Running a GUILiteDemo on macOS Monterey and see a lot of flickering, see a screencast below
it's a bit slower at the time I was recording it, but after some idle running, the flicker increases.
Also, rendering stops when selecting a menu.
下载太慢了, 入驻 gitee 吧?
I running at gui mode use xcode. but demo allways occupy highly cpu resource(about 500%) at my macbook pro.
I use macbook pro 2017 15',macOS 10.12.3.
would you do it in the future?
为什么我将工程移植到stm32f407zgt6后,有些工程项目无法显示。比如3dwave和mario。其他的都可以比如wave和3d就可以显示但不知道什么原因。
能否出一个基于原生Win32 API的例子,而不是MFC。
HostMonitor示例在Ubuntu18.04和Ubuntu16.04(GCC-5.4.0)上编译OK,但是在Ubuntu 14.04(GCC-4.8.4)上编译出现链接失败错误:
[100%] Linking CXX executable HostMonitor
~/GuiLiteSamples/HostMonitor/BuildLinux/libs/libgui.a(button.cpp.o): In function `c_button::clone()':
button.cpp:(.text._ZN8c_button5cloneEv[_ZN8c_button5cloneEv]+0x4b): undefined reference to `operator delete(void*, unsigned long)'
~/GuiLiteSamples/HostMonitor/BuildLinux/libs/libgui.a(edit.cpp.o): In function `c_edit::clone()':
edit.cpp:(.text._ZN6c_edit5cloneEv[_ZN6c_edit5cloneEv]+0x4b): undefined reference to `operator delete(void*, unsigned long)'
~/GuiLiteSamples/HostMonitor/BuildLinux/libs/libgui.a(edit.cpp.o): In function `c_keyboard::~c_keyboard()':
edit.cpp:(.text._ZN10c_keyboardD0Ev[_ZN10c_keyboardD5Ev]+0x25): undefined reference to `operator delete(void*, unsigned long)'
~/GuiLiteSamples/HostMonitor/BuildLinux/libs/libgui.a(keyboard.cpp.o): In function `c_keyboard::clone()':
keyboard.cpp:(.text._ZN10c_keyboard5cloneEv[_ZN10c_keyboard5cloneEv]+0x4b): undefined reference to `operator delete(void*, unsigned long)'
~/GuiLiteSamples/HostMonitor/BuildLinux/libs/libgui.a(keyboard.cpp.o): In function `c_keyboard_button::clone()':
keyboard.cpp:(.text._ZN17c_keyboard_button5cloneEv[_ZN17c_keyboard_button5cloneEv]+0x4b): undefined reference to `operator delete(void*, unsigned long)'
~/GuiLiteSamples/HostMonitor/BuildLinux/libs/libgui.a(keyboard.cpp.o):keyboard.cpp:(.text._ZN17c_keyboard_buttonD0Ev[_ZN17c_keyboard_buttonD5Ev]+0x25): more undefined references to `operator delete(void*, unsigned long)' follow
~/GuiLiteSamples/HostMonitor/BuildLinux/libs/libcore.a(display.cpp.o): In function `c_display::snap_shot(char const*)':
display.cpp:(.text+0x9b4): undefined reference to `__cxa_throw_bad_array_new_length'
~/GuiLiteSamples/HostMonitor/BuildLinux/libs/libcore.a(wave_ctrl.cpp.o): In function `c_wave_ctrl::clone()':
wave_ctrl.cpp:(.text._ZN11c_wave_ctrl5cloneEv[_ZN11c_wave_ctrl5cloneEv]+0x35): undefined reference to `operator delete(void*, unsigned long)'
collect2: error: ld returned 1 exit status
make[2]: *** [BuildLinux/HostMonitor] Error 1
make[1]: *** [BuildLinux/CMakeFiles/HostMonitor.dir/all] Error 2
make: *** [all] Error 2
兄弟,你能不能写个涵盖大部分使用方法或者是函数的文档啊,感觉看起来好累啊……
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.