Jump to content

duplicate definitions for "GDISPVMT_OnlyOne"


Recommended Posts

Posted

Hi,

I am using ugfx 2.4 in my project, using stm32 hal lib and freertos.

The ide is IAR 7.4, and gfxconf.h is setted as follow:

#define GFX_USE_OS_FREERTOS TRUE

#define GFX_USE_GDISP TRUE

#define GDISP_NEED_AUTOFLUSH FALSE

#define GDISP_NEED_TEXT TRUE

#define GDISP_INCLUDE_FONT_UI2 TRUE

when i make, i get error as:

Error[Li006]: duplicate definitions for "GDISPVMT_OnlyOne"; in "E:\vbt6\p_vbt6\EWARM\p_vbt6 Configuration\Obj\gdisp.o", and "E:\vbt6\p_vbt6\EWARM\

p_vbt6 Configuration\Obj\gdisp_lld_SSD1306.o"

If i use ugfx with mbed, it is OK ,and can disply. As my project change MCU from STM32F103VET6 to VBT6, couldnot use mbed any wany, because of RAM is smaller.

Any help?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...