Adding multiple paths to ADDITIONAL_INCLUDE_PATHS results in error
Hello
I have been trying to add multiple paths to my ADDITIONAL_INCLUDE_PATHS in simulator/gcc/Makefile, based on this thread: https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/how-to-add-several-include-path-to-touchgfx-simulator/m-p/227349
So my ADDITIONAL_INCLUDE_PATHS look like this now:
ADDITIONAL_INCLUDE_PATHS := ${platform_path}/src \
${platform_path}/src/config/PRODUCT \However trying to make this file results in the following terminal output:
g++.exe: fatal error: no input files
compilation terminated.
/usr/bin/sh: line 2: c:TouchGFX4.25.0envMinGWmsys1.0SW_developmentplatformsrc: command not found
/usr/bin/sh: line 2: c:TouchGFX4.25.0envMinGWmsys1.0SW_developmentplatformsrcconfigPRODUCT: command not found
If I add all paths as their own as such:
ADDITIONAL_INCLUDE_PATHS := ${platform_path}/src
CONFIG_PATH := ${platform_path}/src/config/PRODUCT/
export ADDITIONAL_SOURCES ADDITIONAL_INCLUDE_PATHS ADDITIONAL_LIBRARY_PATHS ADDITIONAL_LIBRARIES CONFIG_PATHAnd update the include_paths in generated/simulator/gcc/Makefile:
include_paths := $(library_includes) $(foreach comp, $(all_components), $(comp)/include) $(framework_includes) $(ADDITIONAL_INCLUDE_PATHS) $(CONFIG_PATH)Everything works, however when generating code from the designer the generated/simulator/gcc/Makefile is overwritten, and thus that is not exactly a good solution.
Is there some special trick to adding multiple paths in the ADDITIONAL_INCLUDE_PATHS that I do not know of, or some mistake that I am doing causing it to not read the paths properly?
Best regards




