'Calling C++ function in Python using Pybind11

I am trying to use pybindings to call a C++ function. I am referring to this github repository [https://github.com/wangyiqiu/pargeo][1] and I see a folder named pybindings already existent there. There seems to be a function test.py. However when I do as directed in the README.md i.e build a cmake file I still am getting the error saying pypargeo module not found when I run test.py file. Is there something more to be done before directly running the pybindings? Secondly, I also see squiggles on my #include <pybind11/pybind11.h> in the .cpp file. Does it suggest the error being in the pybind11 library?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source