Boost logo

Boost :

Subject: Re: [boost] boost::python help?
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2013-07-24 08:27:01


David,

On 07/24/2013 01:18 AM, David M. Cotter wrote:
> Okay, for now let's skip the thing about "it should work when my app isn't running", just assume it's going to be embedded.
>
> For Mac, I understand i need to "create" (?) a python.dylib, but i find no directions for that at the expected location:
>
> http://docs.python.org/2/extending/embedding.html
>
> is there some wiki page explaining how to create this for use in MacOS / Xcode?
>
> Now for Windows: same thing, i think i must create a .dll, right? Is there a tutorial for that?
>
> After that, i can link to these items, then in my C++ app, just #include "Python.h" and i've covered step 1.

You might find the following boost.python documentation useful:

http://www.boost.org/doc/libs/1_54_0/libs/python/doc/tutorial/doc/html/python/embedding.html

http://www.boost.org/doc/libs/1_54_0/libs/python/doc/v2/exec.html

    Stefan

-- 
      ...ich hab' noch einen Koffer in Berlin...

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk