Jump to content

GINPUT_NEED_TOGGLE and uGFX source file building error


Dvor_nik

Recommended Posts

Hi. I get building error when I set:

#define GINPUT_NEED_TOGGLE                           TRUE

TOOLS: CHIBIOS2.6.6 and ChibiStudioPre8

In file included from ../../chibios/ext/ugfx/src/ginput/ginput.h:44:0,
from ../../chibios/ext/ugfx/gfx.h:210,
from ../../chibios/ext/ugfx/src/gfx.c:16:
../../chibios/ext/ugfx/src/ginput/ginput_toggle.h:34:38: fatal error: ginput_lld_toggle_config.h: No such file or directory
compilation terminated.
make: *** [build/obj/gfx.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ../../chibios/ext/ugfx/src/ginput/ginput.h:44:0,
from ../../chibios/ext/ugfx/gfx.h:210,
from ../../chibios/ext/ugfx/src/gos/gos_freertos.c:8:
../../chibios/ext/ugfx/src/ginput/ginput_toggle.h:34:38: fatal error: ginput_lld_toggle_config.h: No such file or directory
compilation terminated.
make: *** [build/obj/gos_freertos.o] Error 1
In file included from ../../chibios/ext/ugfx/src/ginput/ginput.h:44:0,
from ../../chibios/ext/ugfx/gfx.h:210,
from ../../chibios/ext/ugfx/src/gos/gos_chibios.c:8:
../../chibios/ext/ugfx/src/ginput/ginput_toggle.h:34:38: fatal error: ginput_lld_toggle_config.h: No such file or directory
compilation terminated.
Compiling gos_linux.c
make: *** [build/obj/gos_chibios.o] Error 1
In file included from ../../chibios/ext/ugfx/src/ginput/ginput.h:44:0,
from ../../chibios/ext/ugfx/gfx.h:210,
from ../../chibios/ext/ugfx/src/gos/gos_win32.c:11:
../../chibios/ext/ugfx/src/ginput/ginput_toggle.h:34:38: fatal error: ginput_lld_toggle_config.h: No such file or directory
compilation terminated.
make: *** [build/obj/gos_win32.o] Error 1
In file included from ../../chibios/ext/ugfx/src/ginput/ginput.h:44:0,
from ../../chibios/ext/ugfx/gfx.h:210,
from ../../chibios/ext/ugfx/src/gos/gos_linux.c:11:
../../chibios/ext/ugfx/src/ginput/ginput_toggle.h:34:38: fatal error: ginput_lld_toggle_config.h: No such file or directory
compilation terminated.
make: *** [build/obj/gos_linux.o] Error 1

Link to comment
Share on other sites

fatal error: ginput_lld_toggle_config.h: No such file or directory

You are not providing the ginput_lld_toggle_config.h file to the compiler. You need to not only provide the toggle board file (ginput_lld_toggle_board.h) but also the corresponding configuration file. You can find a short readme and a board file template under \drivers\ginput\toggle\Pal.

~ Tectu

Link to comment
Share on other sites

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...