Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.
We have moved to a new forum at http://jevois.usc.edu, please check it out. The forum at jevois.org/qa will not allow new user registrations but is maintained alive for its useful past questions and answers.

Using pybind11 on JeVois

0 votes
Hi, I'm primarily using Python modules on the JeVois but I have a section of code that I want to use pybind11 to run using c++. I have a working c++ function but I don't know how to compile it on the JeVois.

Any help would be really appreciated.


asked Nov 9, 2018 in Programmer Questions by jj16883 (140 points)

1 Answer

0 votes
Cool, I did not know about pybind11, looks nice!

Now, since we already have boost.python support, maybe you could use that as well? Your project looks non-trivial and will take some thinking to get the c++ part compiled. Please email us your source code files and we will try to make it work. If I understand correctly so far, you have some core function in C++ which you would like to make available to a JeVois module written in Python? This is what we do in the core of JeVois, see files PythonSupport.H / .C and PythonModule.H / .C on the jevois github.
answered Nov 9, 2018 by JeVois (46,580 points)
Thank you for your response. I've emailed my c++ file and cmakelists file to you. If I make any progress I'll let you know on here. Cheers, Jasper.