Hi all
I am currently running the C version of the libmodbus. I have written a piece of code and the libmodbus was running very well so far.
However, I would like to incorporate python into the C code (I know libmodbus is available in python too, but I don't want to use it because I am not too familiar with python). To use call up another piece of python code in C, I would need to include <python.h> as header.
However, when I compile (by typing 'make' in the libmodubs folder), I am having terriable hard time because it says it doesn't link to the python header (namely, <python.h>). Is there any way for me to change the makefile of libmodbus so that it compiles with <python.h>?
Thank you
Andy