pybind/python_example

I can't get it to work when I use my own python interpreter

jienow opened this issue · 1 comments

The thing is like this, I studied in the official documentation of pybind11, and then I saw the network connection of python_example, I clicked it, and found it was very good, I tried to use it in my own project: imitate the setup.py in it but I found an error reported.
image

The above said the type is wrong, but the official document and python_example are the same, so I downloaded python_example and found that it can be compiled and run. The comparison found that it is the reason of the compiler. As long as the compiler of python_example is used, it can be compiled. I don't Know why, can't you just use what he provides?
My system is windows.
If you need additional information, please ask me.

I understand my problem