David George
-
Posts
5 -
Joined
-
Last visited
Content Type
Forums
Store
Downloads
Blogs
Posts posted by David George
-
-
I have finally got a uGFX Autotools project to cross-build from the command line and also in Eclipse. I created a 'single' makefile (collating the various .mk files) to make debugging gmake easier. I will now try and work back to getting a build using the original uGFX makefiles - if I can. I will post the final neat solution hopefully next week.
The only changed I made were in my single makefile, just re-arranging some paths and variable defines, probably because autoreconf/configure works slightly differently. No changes to any source code files.
-
Hi Victor - I'm attempting to do the same thing, your right its not easy. I will post the solution when I have one!
Here's some info on including '3rd party' Makefiles into an Automake project : http://www.gnu.org/software/automake/manual/html_node/Third_002dParty-Makefiles.html
-
Hi I'm attempting something similar using Eclipse (not working yet), But I have cross-build a uGFX Demo from the command line, scp'd to the target and run successfully.
Have you created your top level Makefile that basically builds the target ( you can't make from just a .mk file)
Your top level Makefile will set GFXLIB etc..
You don't need a main.c file as this is supplied by the uGFX Demo directory.
-
Hi all - just wondered if anyone had any experience adding uGFX to an Eclipse Automake project?
I'm using a Yocto ADT Toolchain. So its a cross-compile environment for a Yocto Linux custom BSP.
I'm nearly there, I have basically "included" my top gfx Makefile in a new 'GNUMakefile.in' file the gfx directory. But with no examples its a slow process.
Have tried the no-Makefile approach just adding gfx_mk.c etc but this doesn't seem right when there are perfectly good makefiles, and it created more build errors that I could list.
I have successfully build and run the normal 'gmake' command line uGFX demo on my BSP Board using the framebuffer driver :-)
Using UGFX in eclipse
in Support
Posted
Hi quick reply, the problems I found where missing include paths in the gfx makefile (linker includes) (I'm using Autotools in Eclipse), it will build, here my Eclipse console output...