2025-03-20 9:30 AM
Hi! I am getting this error and not being able to find out why. I've looked online and haven't found an answer either.
I have some #defines in my header file and for some reason I it is like my source file can't see these definitions. I've done just the same for all my other files and all of them work, however this one gives me: Type 'Button' could not be resolved.
I checked if there is a type, but everything seems to be correct. Any chance someone could help me?
Thank you!!
(I am using STM CUBE IDE)
Solved! Go to Solution.
2025-03-20 12:34 PM
Hello,
Use search utility to find were these defines are defined and check if they were defined before you have used it.
Check also it they were undefined somewhere in the code after their definitions.
2025-03-20 9:52 AM
You'll need to give more details on your code, system & development environment:
How to write your question to maximize your chances to find a solution
Is it TouchGFX?
2025-03-20 10:59 AM
If it can't be resolved, it isn't defined before you use it. Check that it is defined and the order of include files such that it's defined before use.
2025-03-20 12:34 PM
Hello,
Use search utility to find were these defines are defined and check if they were defined before you have used it.
Check also it they were undefined somewhere in the code after their definitions.