VincentWei / MiniGUI

A modern and mature cross-platform window system for embedded systems and smart IoT devices.
http://www.minigui.com
GNU General Public License v3.0
694 stars 157 forks source link

Mginit for cross-build #112

Open gowrirengu opened 1 year ago

gowrirengu commented 1 year ago

Hi Team, We have tried cross compiling the minigui for mips architecture. In the cross-build we are not able to get the mginit binary. As we understood minigui will run as server and client, from the sample we seen that mginit is running as server and helloworld is client. But in the cross compilation we got only helloworld binary, we didn't get the mginit binary. Could you please help us why the mginit is not generated for cross build platform. Do we need mginit binary for cross platform?

VincentWei commented 1 year ago

Please check the runtime mode of MiniGUI you configured. If it is MiniGUI-Processes, mginit is a must. Otherwise, there is no need to use mginit, and the build-system will not generate mginit.

See https://github.com/VincentWei/minigui-docs/blob/master/MiniGUI-Overview.md#the-runtime-modes-of-minigui for more information.