Import ".h" Files Not Working

13 views
Skip to first unread message

Umer Huzaifa

unread,
Apr 28, 2023, 6:26:50 AM4/28/23
to YAKINDU User

Hi there,

I want to create a state chart that uses the definitions from a C header file. I don't want to compile this project though and only want to generate the C code for the state chart.

Here are the steps I follow:

  • Create a new C project
  • Create a new C header file in the project directory
  • use import: <header>.h

As I do it, I see the following error:

"Import 'buckler.h' cannot be resolved. Please check the statechart domain in the statechart properties, e.g. set the C/C++ domain to enable header file imports."

I have since then used “General Project” too in the first step but to no avail.

Kindly advise.



Reply all
Reply to author
Forward
0 new messages