I am running this command on windows with pybind11:
>cmake . -G "MinGW Makefiles"
This command gives me an error:
Python config failure: Python is 64-bit, chosen compiler is 32-bit
Call Stack (most recent call first):
lib/pybind11/tools/pybind11Tools.cmake:16 (find_package)
lib/pybind11/CMakeLists.txt:33 (include)
And yes, I have seen this post, so please don't mark this as duplicate. Its different because I'm trying to use MinGW, whereas the answers in this post all uses Visual Studio. My goal is to generate .pyd files with pybind11, but compiling the C++ source file gives me some weird .vcxproj
files that I can't use.
Please teach me how to correctly specify 64-bit or 32-bit of MinGW so that I can generate a .pyd file.