build-minigui-5.0 icon indicating copy to clipboard operation
build-minigui-5.0 copied to clipboard

build-minigui.sh

Open xiejiangcan opened this issue 3 years ago • 1 comments

/usr/bin/ld: newgdi/.libs/libnewgdi.al(textout.lo):/home/xjc/opensource-project/build-minigui-5.0/minigui/src/include/newgal.h:441: multiple definition of `__mg_free_update_region_list'; misc/.libs/libmisc.al(license.lo):/home/xjc/opensource-project/build-minigui-5.0/minigui/src/include/newgal.h:441: first defined here

ERROR WHEN COMPILING 'minigui' FOR MiniGUI configured with --with-runmode=procs --enable-compositing --enable-virtualwindow

采用默认配置安装的,报错以上错误,不清楚什么原因

xiejiangcan avatar May 18 '21 09:05 xiejiangcan

Add the keyword extern at the beginning of the line (minigui/src/include/newgal.h:441).

This is a mistake that should not be made. Why doesn't my compiler report it? :(

VincentWei avatar May 19 '21 00:05 VincentWei