已解決:fatal error C1189: #error: pybind11 requires MSVC 2015 update 3 or newer

1、問題描述: 編譯的時候出現:pybind11 requires MSVC 2015 update 3 or newer 的提示信息。具體如下圖所示。 2、原因: VS版本過低 3、解決方案: 3.1 根出錯提示信息,打開出錯文件查找錯誤信息,我的是在 common.h 的71行。 3.2 記事本打開找到出錯位置如下: 3.3 看到要求 _MSC_FULL_VER 版本要大於 190024210
相關文章
相關標籤/搜索