سؤال

when embedding python in a c++ application using

#include "python2.6/Python.h"

and linking -lpython2.6

does the target computer (computer running the final compiled program) need to have python installed in order to work with my application?

thanks

هل كانت مفيدة؟

المحلول

It depends. Are you linking the libraries statically or dynamically? If you link dynamically then yes your target computer needs to have Python installed.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top