cancel
Showing results for 
Search instead for 
Did you mean: 

Type 'Button' could not be resolved

LucasStartTech
Associate III

@MM..1  @Tesla DeLorean 

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)

3 REPLIES 3

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?

TDK
Guru

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.

If you feel a post has answered your question, please click "Accept as Solution".
mƎALLEm
ST Employee

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.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.