‎2023-05-05 05:00 AM - edited ‎2023-11-20 06:22 AM
i am having a problem trying to add a source code to my project, even though CUBE IDE already added it but the source codes of TOUCH GFX are not receiving, i see people using Makefile to add it but i am having trouble towel when using it.
I would be very grateful if you could help me in this matter  
Solved! Go to Solution.
‎2023-05-07 10:08 PM
No, you dont have to convert files. Just check that you have set new include folder to c and c++ compilers. You can see that more detailed in project properties - C/C++ build - settings and there check include paths for GCC and G++ compiler :thumbs_up:
‎2023-05-06 11:09 AM
Hello. Are you sure you have set this ST_hardware/Inc- path also to C++ language ?
‎2023-05-07 06:22 PM
did you mean convert it to a c++ file instead of a regular c ,do i need to convert both its source file and include file to c++ ?:kissing_face: :kissing_face: :kissing_face:
‎2023-05-07 10:08 PM
No, you dont have to convert files. Just check that you have set new include folder to c and c++ compilers. You can see that more detailed in project properties - C/C++ build - settings and there check include paths for GCC and G++ compiler :thumbs_up:
‎2023-05-07 10:45 PM - edited ‎2023-11-20 06:22 AM
oh it worked, seems the path is missing from the G++ compiler i have filled in the path of the include file there. Thanks for this great help  