I have included Python.h in my module header file and it was built successfully.
Somehow when I enabled-examples configuration to compile the example.cc file, which includes the module header file. It reported the Python.h file can not be found - fatal error.
I have no clue at the moment what is being wrong.
Could anyone give a hint? It is for the NS3(Network Simulator 3) framework.
thanks for writing back to me:).
I solved the issue by adding the pyembed feature in the wscript within the same folder as my.cc file.
Thanks again:).
J.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.