I can’t include python.h in omnet

  c++, omnet++, python

I need to call a python function from my omnet++ project. I figured trying this https://www.coveros.com/calling-python-code-from-c/ . but when I include python.h I get the unresolved inclusion error. I have added the following path to file>properties> Paths and symbols: /usr/local/Cellar/[email protected]/3.9.2_1/Frameworks/Python.framework/Versions/3.9/include/python3.9

enter image description here

Source: Windows Questions C++

LEAVE A COMMENT