Joel Bodenmann Posted July 22, 2014 Report Posted July 22, 2014 When you are getting an undefined reference to the gfxInit() call, then you either don't have the gfx.h header file properly included (by using #include "gfx.h"[/] at the appropriate place) or you have an issue in your inclusion path (Check your Makefile).~ Tectu
fastlink30 Posted July 22, 2014 Report Posted July 22, 2014 as you can see from the attached file, seems all ok, i not understand
Joel Bodenmann Posted July 22, 2014 Report Posted July 22, 2014 It is not possible for us to check and fix your include path.However, you need more than just the path to the uGFX top level directory. You take a look at each modules Makefile (sys_make.mk) and the toplevel Makefile (gfx.mk) to see what needs to be included.Note that you also need to manually add all the related source files manually to your IDEs file tree. That's the pain (and price) you have to pay for using an IDE :-PAlso make sure that the relative path that you showed in the image posted above is correct. The undefined reference error that you are getting is because the gfx.h file is not being included properly in your inclusion path.~ Tectu
fastlink30 Posted July 23, 2014 Report Posted July 23, 2014 where i can found the file board_ssd1289.h?slowly i start understand (i hope) how must be the things... but is a pain... there aren't examples?i have included the source files on the ide
Joel Bodenmann Posted July 23, 2014 Report Posted July 23, 2014 We appreciate feedback like this as we see where we have to improve our documentation.The file board_ssd1289.h is a board file. You have to write the board file yourself as this depends on your wiring (how the display is connected to your microcontroller). You can find a template at /drivers/gdisp/SSD1289/board_ssd1289_template.h. Simply copy the file to your project directory, name it board_ssd1289.h and fill in the routines.In order to see if everything compiles fine, I strongly recommend to just compile the template without filling in anything yet until it compiles.~ Tectu
inmarket Posted July 23, 2014 Report Posted July 23, 2014 Some of the better known development boards have sets of board files predefined for them. You can find those in the boards/base directory.Some extra board files for various situations have also been put in the boards/addons directory.If you are lucky you will find exactly what you are looking for in one of those two places.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now