Question

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

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top