From: Barry S. <ba...@ba...> - 2017-06-05 20:49:45
|
> On 5 Jun 2017, at 06:05, madan kumar yelburgi <mad...@gm...> wrote: > > Hi, > I'm new to pycxx and i installed and ran the demos using pycxx 7.0.2. > > But i did not get how can you use pycxx extension in a c++ code like say "hello world" in visual studio and how do you call it in a command window or a python interpreter. > > I really did not understand from the demo examples and their building. so can you please give me suggestion, how can this be achieved. > > I tried building using setup.py in my file and try to build but didn't get it and there's not much videos or snippets of pycxx basic examples except the demos in installed folder, which i found hard to understand. Please help me in this. > > Any Links to basic c++ example with pycxx extension and the way how it's called in the interpreter would give me a good understanding. Given you have built pycxx examples I suggest you look at Demo/python3/simple.cxx. From python3 you can import simple to play with the code. There are 3 things to pay attention to: 1) the module at liunen 215 > > > Thanks, > Madan > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________ > CXX-Users mailing list > CXX...@li... > https://lists.sourceforge.net/lists/listinfo/cxx-users |