Jump to content

Sting

Members
  • Posts

    77
  • Joined

  • Last visited

Posts posted by Sting

  1. I am attempting to add ugfx to an existing project that cross compines a bunch of c++ code to an ARM target.  I use the remote system explorer to move the project executable to the target.

    I thought I would start simple and use the notepad demo just to see if I could build it and I can't see that anything is actually being done.

    Is there a tutorial or hints for how to do this, or is it not recommended?

    So far I have changed Eclipse to not use default build command and instead inserted gfx.mk in its place.  I also disabled the automatic generation of make files.  I added the base directory of ugfx to the eclipse path.  

    11:47:35 **** Incremental Build of configuration Debug for project TestUgfx ****
    gfx.mk all 
    
    11:47:35 Build Finished (took 62ms)

    In my project I added the main,c and demo.mk files and modified demo.mk to have GFXLIB point to the head of ugfx and pointed the DEMODIR to my project head.

    GFXLIB = /usr/local/arm/ugfx_2.5
    DEMODIR = /home/ray/Eclipse/brewery/TestUgfx
    GFXINC +=   $(DEMODIR)
    GFXSRC +=	$(DEMODIR)/main.c

    I added an environment variable to eclipse GFXLIB that points to the head of ugfx, the same value that is in the demo.mk file.

    Is there a way to see the progress that gfx.mk is making.

    I know that this is insufficient to actually build the application, I want to see if I understand and I clearly don't.  

    What am I missing :)

     

×
×
  • Create New...