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
695 stars 157 forks source link

If build not in source code dirctory, can't find ../mgconfig.h #4

Closed steprun closed 6 years ago

steprun commented 6 years ago

Source in directory 'minigui' Build in directory 'build'

$ cd build $ ../minigui/configure $ make some code can't ../mgconfig.h

Then I add '-I$(abs_top_builddir)/src' to AM_CPPFLAGS for fixing it.

VincentWei commented 6 years ago

Not a real problem, and your solution is not good yet. You should build MiniGUI in the root directory of the source code tree.