Skip to main content
Associate III
February 3, 2024
Solved

build error

  • February 3, 2024
  • 1 reply
  • 869 views

I got a problem when building the project in the CubeIDE.
problem 1.png

According to the console, the function "function1" is not declared, but in the .hpp it is.
problem 2.png
I think the .cpp is not realizing that the .hpp is changing.
Here, when I use the content assit, function1 doesnt show up.

ferdlf_0-1706990428429.png

 

This topic has been closed for replies.
Best answer by TDK

You need to save the Screen1View.hpp file before the IDE will recognize the new function. The "*" in the filename indicates it has been modified without being saved.

TDK_0-1706991984722.png

 

1 reply

TDK
TDKBest answer
Super User
February 3, 2024

You need to save the Screen1View.hpp file before the IDE will recognize the new function. The "*" in the filename indicates it has been modified without being saved.

TDK_0-1706991984722.png

 

"If you feel a post has answered your question, please click ""Accept as Solution""."