Domanda

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

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top