Hi there,

Good evening. I have a special need to embed python code in CPP for my E312 
because I want to do some data processing and generate a waveform. In order to 
do so, <Python.h> must be included as header, however it requires changing the 
gcc compiler argument. Could someone point me in which file I can add the gcc 
arguments? The argument needed to be added should be something like below. 
Thank you in advance.

gcc mycode.cpp -o mycode -lpython2.7 -lm -L/usr/lib/python2.7/config/ 
-I/usr/include/python2.7/


Best

James
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to