boost-python
Is there anyway to use boost python wrappers in headers?
Is there anyway to use BOOST_PYTHON_MODULE in a header file? For instance, I\'d like to be able to declare this Module[详细]
2023-02-18 02:28 分类:问答Dynamic casts returns null when library with C++ python extensions is used as a plugin on RHEL5
I have a library with C++ python extensions (C++ calls python which in turn calls C++) using boost::python and python libraries (this is messy, but a lot of it is legacy) which when tested standalone[详细]
2023-02-14 01:35 分类:问答Return python unicode instances from UTF-8 encoded char* using boost.python
I\'m trying to do something which should be very simple, but I\'m not having much luck figuring out how from the existing documentation.[详细]
2023-02-12 22:24 分类:问答Python exception text on syntax errors (boost library)
I\'ve got this code snnipet (the whole program compiles and links correctly): ... t开发者_运维百科ry[详细]
2023-02-11 04:49 分类:问答Boost::python Exposing C++ functions using and returning templates
I need to build python bindings for a C++ codebase. I use boost::python and I ran into problems trying to expose classes containing functions using and returning templates. Here is a typical example[详细]
2023-02-07 07:32 分类:问答Passing Python list to C++ vector using Boost.python
How do I pass a Python list of my object type ClassName to a C++ function that accepts a vector<ClassName>?[详细]
2023-02-07 06:25 分类:问答Any way to pass an image loaded from PIL to a C++ function using Boost.Python?
I\'m trying to make a wrapper to use a C++ Class in Python but I can\'t fin开发者_开发知识库d a way to pass this image I already loaded in my Python program.[详细]
2023-01-31 13:31 分类:问答Using C++ streams to serialize numbers crashes boost.python on the Mac
I think something is wrong with my linking (I am running on a mac, and had to change the library to be a MODULE?). Here\'s what I have:[详细]
2023-01-29 14:01 分类:问答boost.python argument type mismatch (numpy.int64 -> int)
I\'m running into this problem: Boost.Python.ArgumentError: Python argument types in Dirichlet.Observe(int, numpy.int64, float)[详细]
2023-01-29 04:06 分类:问答Calling Python functions from C++
I am trying to achieve call Python functions from C++. I thought it could be achieved through function pointers, but it does not seem to be possible. I have been using boost.python to accomplish this.[详细]
2023-01-27 18:12 分类:问答