Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pybind11 to the latest stable release #20

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

kazuki0824
Copy link
Contributor

to avoid the error in Windows. This is mentioned in pybind/pybind11#2293

-- Building for: Visual Studio 17 2022
-- The C compiler identification is MSVC 19.39.33218.0
-- The CXX compiler identification is MSVC 19.39.33218.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.39.33218/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.39.33218/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: C:/Users/kazuk/AppData/Local/Temp/build-env-yobt4j_l/Scripts/python.exe (found version "3.10.11") 
-- Found PythonLibs: C:/Program Files/WindowsApps/PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0/libs/Python310.lib
-- pybind11 v2.2.1
-- Performing Test HAS_MSVC_GL_LTCG
-- Performing Test HAS_MSVC_GL_LTCG - Success
-- LTO enabled
-- Configuring done (8.7s)
-- Generating done (0.1s)
-- Build files have been written to: C:/Users/kazuk/AppData/Local/Temp/build-via-sdist-_4jemhuv/lapsolver-1.1.0/build/temp.win-amd64-cpython-310/Release
MSBuild のバージョン 17.9.0-preview-23551-05+34ae4f308 (.NET Framework)

C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: 中間ディレクトリまたは出力ディレクトリを一時ディレクトリに置くことはできません。インクリメンタル ビルドで問題が発生する可能性があります。 [C:\Users\kazuk\AppData\Local\Temp\build-via-sdist-_4jemhuv\lapsolver-1.1.0\build\temp.win-amd64-cpython-310\Release\ZERO_CHECK.vcxproj]
  Checking Build System
C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: 中間ディレクトリまたは出力ディレクトリを一時ディレクトリに置くことはできません。インクリメンタル ビルドで問題が発生する可能性があります。 [C:\Users\kazuk\AppData\Local\Temp\build-via-sdist-_4jemhuv\lapsolver-1.1.0\build\temp.win-amd64-cpython-310\Release\lapsolverc.vcxproj]
  Building Custom Rule C:/Users/kazuk/AppData/Local/Temp/build-via-sdist-_4jemhuv/lapsolver-1.1.0/CMakeLists.txt
  lapsolverc.cpp
C:\Users\kazuk\AppData\Local\Temp\build-via-sdist-_4jemhuv\lapsolver-1.1.0\pybind11\include\pybind11\numpy.h(35,22): error C2065: 'ssize_t': 定義されていない識別子です。 [C:\Users\kazuk\AppData\Local\Temp\build-via-sdist-_4jemhuv\lapsolver-1.1.0\build\temp.win-amd64-cpython-310\Release\lapsolverc.vcxproj]
  (ソース ファイル '../../../src/lapsolverc.cpp' をコンパイルしています)
  
C:\Users\kazuk\AppData\Local\Temp\build-via-sdist-_4jemhuv\lapsolver-1.1.0\pybind11\include\pybind11\numpy.h(35,31): error C2338: static_assert failed: 'ssize_t != Py_intptr_t' [C:\Users\kazuk\AppData\Local\Temp\build-via-sdist-_4jemhuv\lapsolver-1.1.0\build\temp.win-amd64-cpython-310\Release\lapsolverc.vcxproj]
  (ソース ファイル '../../../src/lapsolverc.cpp' をコンパイルしています)

@kazuki0824
Copy link
Contributor Author

Also mentioned in #17

@cheind cheind merged commit 347b73f into cheind:master Dec 22, 2023
1 check failed
@cheind
Copy link
Owner

cheind commented Dec 22, 2023

thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants