0

Can I embed python into my app using only boost:python? Will I need any additional libraries to bring with my app?

Or is there any embeddable language which natively supports unicode chars and does not need any libraries to bring with app

Ivan
  • 609
  • 8
  • 21
  • You always need at least one library: The one implementing the language. –  Sep 25 '12 at 16:52
  • So, boost:python is just a wrapper on library? – Ivan Sep 25 '12 at 17:49
  • Well, `boost::python` is a library. I don't actually know a lot about its it, I figure you still have to link to CPython in library form. But my point is, to embed a language you must bring in C++ code (or code callable from C++) which implements the language. By linking it in, statically or dynamically. –  Sep 25 '12 at 17:54

1 Answers1

1

To integrate Python in a C++ application you can use Boost.Python but you can also interface the Python C API directly.

For both you need the Python library, for Boost.Python approach you also need to link to the Boost.Python library.

moooeeeep
  • 31,622
  • 22
  • 98
  • 187