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

VS2022 gives ob_digit': is not a member of '_longobject' #161

Open
mobileFX opened this issue Mar 15, 2024 · 2 comments
Open

VS2022 gives ob_digit': is not a member of '_longobject' #161

mobileFX opened this issue Mar 15, 2024 · 2 comments

Comments

@mobileFX
Copy link

Followed instructions to generate VS2022 SLN with CMake and getting error in common.cpp

Severity Code Description Project File Line Suppression State Details Error C2039 'ob_digit': is not a member of '_longobject' nanobind-static D:\mobileFX\Projects\Software\CasinoX\RGS\Web\nanogui\ext\nanobind\src\common.cpp 827

Output:

Rebuild started at 12:45...
1>------ Rebuild All started: Project: ZERO_CHECK, Configuration: Debug x64 ------
1>Build started 15/3/2024 12:45:21.
1>Target _PrepareForClean:
1> Deleting file "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
1>Target PrepareForBuild:
1> Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details.
1>Target InitializeBuildStatus:
1> Creating "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
1> Touching "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
1>Target CustomBuild:
1> 1>Checking Build System
1>Target FinalizeBuildStatus:
1> Deleting file "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
1> Touching "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
1>
1>Build succeeded.
1> 0 Warning(s)
1> 0 Error(s)
1>
1>Time Elapsed 00:00:00.75
2>------ Rebuild All started: Project: nanobind-static, Configuration: Debug x64 ------
3>------ Rebuild All started: Project: glfw_objects, Configuration: Debug x64 ------
4>------ Skipped Rebuild All: Project: docstrings, Configuration: Debug x64 ------
4>Project not selected to build for this solution configuration
2>Build started 15/3/2024 12:45:22.
2>Target _PrepareForClean:
2> Deleting file "nanobind-static.dir\Debug\nanobind-static.tlog\nanobind-static.lastbuildstate".
2>Target ResolveProjectReferences:
2>Target PrepareForBuild:
2> Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details.
2>Target InitializeBuildStatus:
2> Touching "nanobind-static.dir\Debug\nanobind-static.tlog\unsuccessfulbuild".
2>Target CustomBuild:
2> Building Custom Rule D:/mobileFX/Projects/Software/CasinoX/RGS/Web/nanogui/src/python/CMakeLists.txt
2>Target GetReferencedVCProjectsInfo:
3>Build started 15/3/2024 12:45:23.
2>Target VcpkgTripletSelection:
2> Using triplet "x64-windows" from "E:\dev\vcpkg\installed\x64-windows"
2> Using normalized configuration "Release"
3>Target _PrepareForClean:
3> Deleting file "glfw_objects.dir\Debug\glfw_objects.tlog\glfw_objects.lastbuildstate".
3>Target CoreClean:
3> Deleting file "D:\mobileFX\Projects\Software\CasinoX\RGS\Web\nanogui\ext\glfw\src\glfw_objects.dir\Debug\glfw_objects.lib".
3>Target ResolveProjectReferences:
3>Target PrepareForBuild:
3> Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details.
3>Target InitializeBuildStatus:
3> Creating "glfw_objects.dir\Debug\glfw_objects.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
3> Touching "glfw_objects.dir\Debug\glfw_objects.tlog\unsuccessfulbuild".
2>Target ClCompile:
2> nb_internals.cpp
2> nb_func.cpp
2> nb_type.cpp
2> nb_enum.cpp
2> nb_ndarray.cpp
2> common.cpp
2> error.cpp
2> trampoline.cpp
2> implicit.cpp
3>Target CustomBuild:
3> Building Custom Rule D:/mobileFX/Projects/Software/CasinoX/RGS/Web/nanogui/ext/glfw/src/CMakeLists.txt
3>Target GetReferencedVCProjectsInfo:
3>Target VcpkgTripletSelection:
3> Using triplet "x64-windows" from "E:\dev\vcpkg\installed\x64-windows"
3> Using normalized configuration "Release"
3>Target ClCompile:
3> context.c
3> init.c
3> input.c
3> monitor.c
3> vulkan.c
3> window.c
3> win32_init.c
2> D:\mobileFX\Projects\Software\CasinoX\RGS\Web\nanogui\ext\nanobind\src\common.cpp(827,37): error C2039: 'ob_digit': is not a member of '_longobject'
2> C:\Python312\include\cpython\longintrepr.h(87,8):
2> see declaration of '_longobject'
2> D:\mobileFX\Projects\Software\CasinoX\RGS\Web\nanogui\ext\nanobind\src\common.cpp(827,37):
2> the template instantiation context (the oldest one first) is
2> D:\mobileFX\Projects\Software\CasinoX\RGS\Web\nanogui\ext\nanobind\src\common.cpp(892,12):
2> see reference to function template instantiation 'bool nanobind::detail::load_int<uint8_t,true>(PyObject *,uint32_t,T *) noexcept' being compiled
2> with
2> [
2> T=uint8_t
2> ]
2> D:\mobileFX\Projects\Software\CasinoX\RGS\Web\nanogui\ext\nanobind\src\common.cpp(838,53): error C2039: 'ob_digit': is not a member of '_longobject'
2> C:\Python312\include\cpython\longintrepr.h(87,8):
2> see declaration of '_longobject'
3> win32_joystick.c
3> win32_monitor.c
2>Done building target "ClCompile" in project "nanobind-static.vcxproj" -- FAILED.
2>
2>Done building project "nanobind-static.vcxproj" -- FAILED.
2>
2>Build FAILED.
2>
2>D:\mobileFX\Projects\Software\CasinoX\RGS\Web\nanogui\ext\nanobind\src\common.cpp(827,37): error C2039: 'ob_digit': is not a member of '_longobject'
2>D:\mobileFX\Projects\Software\CasinoX\RGS\Web\nanogui\ext\nanobind\src\common.cpp(838,53): error C2039: 'ob_digit': is not a member of '_longobject'
2> 0 Warning(s)
2> 2 Error(s)
2>
2>Time Elapsed 00:00:04.11
3> win32_time.c
3> win32_thread.c
3> win32_window.c
3> wgl_context.c
3> egl_context.c
3> osmesa_context.c
3> Generating Code...
3>Target Lib:
3> glfw_objects.vcxproj -> D:\mobileFX\Projects\Software\CasinoX\RGS\Web\nanogui\ext\glfw\src\glfw_objects.dir\Debug\glfw_objects.lib
3>Target GetCopyToOutputDirectoryItems:
3> Target _GetCopyToOutputDirectoryItemsFromTransitiveProjectReferences:
3>Target FinalizeBuildStatus:
3> Deleting file "glfw_objects.dir\Debug\glfw_objects.tlog\unsuccessfulbuild".
3> Touching "glfw_objects.dir\Debug\glfw_objects.tlog\glfw_objects.lastbuildstate".
3>
3>Build succeeded.
3> 0 Warning(s)
3> 0 Error(s)
3>
3>Time Elapsed 00:00:05.01
5>------ Rebuild All started: Project: nanogui, Configuration: Debug x64 ------
6>------ Skipped Rebuild All: Project: glfw, Configuration: Debug x64 ------
6>Project not selected to build for this solution configuration
5>Build started 15/3/2024 12:45:28.
5>Target _PrepareForClean:
5> Deleting file "nanogui.dir\Debug\nanogui.tlog\nanogui.lastbuildstate".
5>Target ResolveProjectReferences:
5>Target PrepareForBuild:
5> Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details.
5>Target InitializeBuildStatus:
5> Creating "nanogui.dir\Debug\nanogui.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
5> Touching "nanogui.dir\Debug\nanogui.tlog\unsuccessfulbuild".
5>Target CustomBuild:
5> Running bin2c
5> CMake Deprecation Warning at resources/bin2c.cmake:1 (cmake_minimum_required):
5> Compatibility with CMake < 3.5 will be removed from a future version of
5> CMake.
5>
5> Update the VERSION argument value or use a ... suffix to tell
5> CMake that the project does not need compatibility with older versions.
5>
5>
5> Building Custom Rule D:/mobileFX/Projects/Software/CasinoX/RGS/Web/nanogui/CMakeLists.txt
5>Target GetReferencedVCProjectsInfo:
5>Target VcpkgTripletSelection:
5> Using triplet "x64-windows" from "E:\dev\vcpkg\installed\x64-windows"
5> Using normalized configuration "Release"
5>Target ClCompile:
5> nanovg.c
5> texture_gl.cpp
5> shader_gl.cpp
5> renderpass_gl.cpp
5> opengl.cpp
5> nanogui_resources.cpp
5> common.cpp
5> widget.cpp
5> theme.cpp
5> layout.cpp
5> screen.cpp
5> label.cpp
5> window.cpp
5> popup.cpp
5> checkbox.cpp
5> button.cpp
5> popupbutton.cpp
5> combobox.cpp
5> progressbar.cpp
5> slider.cpp
5> messagedialog.cpp
5> textbox.cpp
5> textarea.cpp
5> imagepanel.cpp
5> vscrollpanel.cpp
5> colorwheel.cpp
5> colorpicker.cpp
5> graph.cpp
5> tabwidget.cpp
5> canvas.cpp
5> texture.cpp
5> shader.cpp
5> imageview.cpp
5> traits.cpp
5> glad.c
5>Target Link:
5> Creating library D:/mobileFX/Projects/Software/CasinoX/RGS/Web/nanogui/Debug/nanogui.lib and object D:/mobileFX/Projects/Software/CasinoX/RGS/Web/nanogui/Debug/nanogui.exp
5> nanogui.vcxproj -> D:\mobileFX\Projects\Software\CasinoX\RGS\Web\nanogui\Debug\nanogui.dll
5>Target AppLocalFromInstalled:
5> 'pwsh.exe' is not recognized as an internal or external command,
5> operable program or batch file.
5> The command "pwsh.exe -ExecutionPolicy Bypass -noprofile -File "E:\dev\vcpkg\scripts\buildsystems\msbuild\applocal.ps1" "D:\mobileFX\Projects\Software\CasinoX\RGS\Web\nanogui\Debug\nanogui.dll" "E:\dev\vcpkg\installed\x64-windows\bin" "nanogui.dir\Debug\nanogui.tlog\nanogui.write.1u.tlog" "nanogui.dir\Debug\vcpkg.applocal.log"" exited with code 9009.
5>Target GetCopyToOutputDirectoryItems:
5> Target _GetCopyToOutputDirectoryItemsFromTransitiveProjectReferences:
5>Target FinalizeBuildStatus:
5> Deleting file "nanogui.dir\Debug\nanogui.tlog\unsuccessfulbuild".
5> Touching "nanogui.dir\Debug\nanogui.tlog\nanogui.lastbuildstate".
5>
5>Build succeeded.
5> 0 Warning(s)
5> 0 Error(s)
5>
5>Time Elapsed 00:00:06.05
7>------ Rebuild All started: Project: nanogui-python, Configuration: Debug x64 ------
8>------ Rebuild All started: Project: example_icons, Configuration: Debug x64 ------
9>------ Rebuild All started: Project: example4, Configuration: Debug x64 ------
10>------ Rebuild All started: Project: example3, Configuration: Debug x64 ------
11>------ Rebuild All started: Project: example2, Configuration: Debug x64 ------
12>------ Rebuild All started: Project: example1, Configuration: Debug x64 ------
8>Build started 15/3/2024 12:45:34.
8>Target _PrepareForClean:
8> Deleting file "example_icons.dir\Debug\example_icons.tlog\example_icons.lastbuildstate".
8>Target ResolveProjectReferences:
8>Target PrepareForBuild:
8> Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details.
8>Target InitializeBuildStatus:
8> Creating "example_icons.dir\Debug\example_icons.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
8> Touching "example_icons.dir\Debug\example_icons.tlog\unsuccessfulbuild".
8>Target CustomBuild:
8> Building Custom Rule D:/mobileFX/Projects/Software/CasinoX/RGS/Web/nanogui/CMakeLists.txt
8>Target GetReferencedVCProjectsInfo:
7>Build started 15/3/2024 12:45:34.
7>Target _PrepareForClean:
7> Deleting file "nanogui-python.dir\Debug\nanogui-python.tlog\nanogui-python.lastbuildstate".
7>Target ResolveProjectReferences:
7>Target PrepareForBuild:
7> Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details.
7>Target InitializeBuildStatus:
7> Touching "nanogui-python.dir\Debug\nanogui-python.tlog\unsuccessfulbuild".
7>Target CustomBuild:
7> Building Custom Rule D:/mobileFX/Projects/Software/CasinoX/RGS/Web/nanogui/src/python/CMakeLists.txt
7>Target GetReferencedVCProjectsInfo:
8>Target VcpkgTripletSelection:
8> Using triplet "x64-windows" from "E:\dev\vcpkg\installed\x64-windows"
8> Using normalized configuration "Release"
8>Target ClCompile:
8> example_icons.cpp
7>Target VcpkgTripletSelection:
7> Using triplet "x64-windows" from "E:\dev\vcpkg\installed\x64-windows"
7> Using normalized configuration "Release"
7>Target ClCompile:
7> main.cpp
7> glfw.cpp
7> icons.cpp
7> color.cpp
7> widget.cpp
7> layout.cpp
7> basics.cpp
7> button.cpp
7> tabs.cpp
7> textbox.cpp
7> textarea.cpp
7> theme.cpp
7> formhelper.cpp
7> misc.cpp
7> canvas.cpp
7> nanovg.cpp
7> render.cpp
7> vector.cpp
9>Build started 15/3/2024 12:45:35.
9>Target _PrepareForClean:
9> Deleting file "example4.dir\Debug\example4.tlog\example4.lastbuildstate".
9>Target ResolveProjectReferences:
9>Target PrepareForBuild:
9> Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details.
9>Target InitializeBuildStatus:
9> Creating "example4.dir\Debug\example4.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
9> Touching "example4.dir\Debug\example4.tlog\unsuccessfulbuild".
10>Build started 15/3/2024 12:45:35.
10>Target _PrepareForClean:
10> Deleting file "example3.dir\Debug\example3.tlog\example3.lastbuildstate".
10>Target ResolveProjectReferences:
10>Target PrepareForBuild:
10> Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details.
10>Target InitializeBuildStatus:
10> Creating "example3.dir\Debug\example3.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
10> Touching "example3.dir\Debug\example3.tlog\unsuccessfulbuild".
12>Build started 15/3/2024 12:45:35.
12>Target _PrepareForClean:
12> Deleting file "example1.dir\Debug\example1.tlog\example1.lastbuildstate".
12>Target ResolveProjectReferences:
12>Target PrepareForBuild:
12> Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details.
12>Target InitializeBuildStatus:
12> Creating "example1.dir\Debug\example1.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
12> Touching "example1.dir\Debug\example1.tlog\unsuccessfulbuild".
9>Target CustomBuild:
9> Building Custom Rule D:/mobileFX/Projects/Software/CasinoX/RGS/Web/nanogui/CMakeLists.txt
12>Target CustomBuild:
12> Building Custom Rule D:/mobileFX/Projects/Software/CasinoX/RGS/Web/nanogui/CMakeLists.txt
10>Target CustomBuild:
10> Building Custom Rule D:/mobileFX/Projects/Software/CasinoX/RGS/Web/nanogui/CMakeLists.txt
9>Target GetReferencedVCProjectsInfo:
9>Target VcpkgTripletSelection:
9> Using triplet "x64-windows" from "E:\dev\vcpkg\installed\x64-windows"
9> Using normalized configuration "Release"
11>Build started 15/3/2024 12:45:35.
12>Target GetReferencedVCProjectsInfo:
12>Target VcpkgTripletSelection:
12> Using triplet "x64-windows" from "E:\dev\vcpkg\installed\x64-windows"
12> Using normalized configuration "Release"
10>Target GetReferencedVCProjectsInfo:
11>Target _PrepareForClean:
11> Deleting file "example2.dir\Debug\example2.tlog\example2.lastbuildstate".
10>Target VcpkgTripletSelection:
10> Using triplet "x64-windows" from "E:\dev\vcpkg\installed\x64-windows"
10> Using normalized configuration "Release"
11>Target ResolveProjectReferences:
11>Target PrepareForBuild:
11> Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details.
11>Target InitializeBuildStatus:
11> Creating "example2.dir\Debug\example2.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
11> Touching "example2.dir\Debug\example2.tlog\unsuccessfulbuild".
12>Target ClCompile:
12> example1.cpp
9>Target ClCompile:
9> example4.cpp
10>Target ClCompile:
10> example3.cpp
11>Target CustomBuild:
11> Building Custom Rule D:/mobileFX/Projects/Software/CasinoX/RGS/Web/nanogui/CMakeLists.txt
11>Target GetReferencedVCProjectsInfo:
11>Target VcpkgTripletSelection:
11> Using triplet "x64-windows" from "E:\dev\vcpkg\installed\x64-windows"
11> Using normalized configuration "Release"
11>Target ClCompile:
11> example2.cpp
9>Target Link:
9> example4.vcxproj -> D:\mobileFX\Projects\Software\CasinoX\RGS\Web\nanogui\Debug\example4.exe
9>Target AppLocalFromInstalled:
9> 'pwsh.exe' is not recognized as an internal or external command,
9> operable program or batch file.
9> The command "pwsh.exe -ExecutionPolicy Bypass -noprofile -File "E:\dev\vcpkg\scripts\buildsystems\msbuild\applocal.ps1" "D:\mobileFX\Projects\Software\CasinoX\RGS\Web\nanogui\Debug\example4.exe" "E:\dev\vcpkg\installed\x64-windows\bin" "example4.dir\Debug\example4.tlog\example4.write.1u.tlog" "example4.dir\Debug\vcpkg.applocal.log"" exited with code 9009.
8>Target Link:
8> example_icons.vcxproj -> D:\mobileFX\Projects\Software\CasinoX\RGS\Web\nanogui\Debug\example_icons.exe
8>Target AppLocalFromInstalled:
8> 'pwsh.exe' is not recognized as an internal or external command,
8> operable program or batch file.
8> The command "pwsh.exe -ExecutionPolicy Bypass -noprofile -File "E:\dev\vcpkg\scripts\buildsystems\msbuild\applocal.ps1" "D:\mobileFX\Projects\Software\CasinoX\RGS\Web\nanogui\Debug\example_icons.exe" "E:\dev\vcpkg\installed\x64-windows\bin" "example_icons.dir\Debug\example_icons.tlog\example_icons.write.1u.tlog" "example_icons.dir\Debug\vcpkg.applocal.log"" exited with code 9009.
10>Target Link:
10> example3.vcxproj -> D:\mobileFX\Projects\Software\CasinoX\RGS\Web\nanogui\Debug\example3.exe
12>Target Link:
12> example1.vcxproj -> D:\mobileFX\Projects\Software\CasinoX\RGS\Web\nanogui\Debug\example1.exe
10>Target AppLocalFromInstalled:
10> 'pwsh.exe' is not recognized as an internal or external command,
10> operable program or batch file.
12>Target AppLocalFromInstalled:
12> 'pwsh.exe' is not recognized as an internal or external command,
12> operable program or batch file.
11>Target Link:
11> example2.vcxproj -> D:\mobileFX\Projects\Software\CasinoX\RGS\Web\nanogui\Debug\example2.exe
12> The command "pwsh.exe -ExecutionPolicy Bypass -noprofile -File "E:\dev\vcpkg\scripts\buildsystems\msbuild\applocal.ps1" "D:\mobileFX\Projects\Software\CasinoX\RGS\Web\nanogui\Debug\example1.exe" "E:\dev\vcpkg\installed\x64-windows\bin" "example1.dir\Debug\example1.tlog\example1.write.1u.tlog" "example1.dir\Debug\vcpkg.applocal.log"" exited with code 9009.
10> The command "pwsh.exe -ExecutionPolicy Bypass -noprofile -File "E:\dev\vcpkg\scripts\buildsystems\msbuild\applocal.ps1" "D:\mobileFX\Projects\Software\CasinoX\RGS\Web\nanogui\Debug\example3.exe" "E:\dev\vcpkg\installed\x64-windows\bin" "example3.dir\Debug\example3.tlog\example3.write.1u.tlog" "example3.dir\Debug\vcpkg.applocal.log"" exited with code 9009.
11>Target AppLocalFromInstalled:
11> 'pwsh.exe' is not recognized as an internal or external command,
11> operable program or batch file.
11> The command "pwsh.exe -ExecutionPolicy Bypass -noprofile -File "E:\dev\vcpkg\scripts\buildsystems\msbuild\applocal.ps1" "D:\mobileFX\Projects\Software\CasinoX\RGS\Web\nanogui\Debug\example2.exe" "E:\dev\vcpkg\installed\x64-windows\bin" "example2.dir\Debug\example2.tlog\example2.write.1u.tlog" "example2.dir\Debug\vcpkg.applocal.log"" exited with code 9009.
9>Target GetCopyToOutputDirectoryItems:
9> Target _GetCopyToOutputDirectoryItemsFromTransitiveProjectReferences:
8>Target GetCopyToOutputDirectoryItems:
8> Target _GetCopyToOutputDirectoryItemsFromTransitiveProjectReferences:
8>Target FinalizeBuildStatus:
8> Deleting file "example_icons.dir\Debug\example_icons.tlog\unsuccessfulbuild".
8> Touching "example_icons.dir\Debug\example_icons.tlog\example_icons.lastbuildstate".
8>
8>Build succeeded.
8> 0 Warning(s)
8> 0 Error(s)
8>
8>Time Elapsed 00:00:05.18
9>Target FinalizeBuildStatus:
9> Deleting file "example4.dir\Debug\example4.tlog\unsuccessfulbuild".
9> Touching "example4.dir\Debug\example4.tlog\example4.lastbuildstate".
9>
9>Build succeeded.
9> 0 Warning(s)
9> 0 Error(s)
9>
9>Time Elapsed 00:00:04.62
10>Target GetCopyToOutputDirectoryItems:
10> Target _GetCopyToOutputDirectoryItemsFromTransitiveProjectReferences:
12>Target GetCopyToOutputDirectoryItems:
12> Target _GetCopyToOutputDirectoryItemsFromTransitiveProjectReferences:
10>Target FinalizeBuildStatus:
10> Deleting file "example3.dir\Debug\example3.tlog\unsuccessfulbuild".
10> Touching "example3.dir\Debug\example3.tlog\example3.lastbuildstate".
10>
10>Build succeeded.
10> 0 Warning(s)
10> 0 Error(s)
10>
10>Time Elapsed 00:00:04.65
12>Target FinalizeBuildStatus:
12> Deleting file "example1.dir\Debug\example1.tlog\unsuccessfulbuild".
12> Touching "example1.dir\Debug\example1.tlog\example1.lastbuildstate".
12>
12>Build succeeded.
12> 0 Warning(s)
12> 0 Error(s)
12>
12>Time Elapsed 00:00:04.61
11>Target GetCopyToOutputDirectoryItems:
11> Target _GetCopyToOutputDirectoryItemsFromTransitiveProjectReferences:
11>Target FinalizeBuildStatus:
11> Deleting file "example2.dir\Debug\example2.tlog\unsuccessfulbuild".
11> Touching "example2.dir\Debug\example2.tlog\example2.lastbuildstate".
11>
11>Build succeeded.
11> 0 Warning(s)
11> 0 Error(s)
11>
11>Time Elapsed 00:00:04.52
7>Target Link:
7> LINK : fatal error LNK1104: cannot open file 'Debug\nanobind-static.lib'
7>Done building target "Link" in project "nanogui-python.vcxproj" -- FAILED.
7>
7>Done building project "nanogui-python.vcxproj" -- FAILED.
7>
7>Build FAILED.
7>
7>LINK : fatal error LNK1104: cannot open file 'Debug\nanobind-static.lib'
7> 0 Warning(s)
7> 1 Error(s)
7>
7>Time Elapsed 00:00:05.56
13>------ Rebuild All started: Project: ALL_BUILD, Configuration: Debug x64 ------
13>Build started 15/3/2024 12:45:40.
13>Target _PrepareForClean:
13> Deleting file "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\ALL_BUILD.lastbuildstate".
13>Target ResolveProjectReferences:
13> Target GetTargetPathWithTargetPlatformMoniker:
13>Target PrepareForBuild:
13> Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details.
13>Target InitializeBuildStatus:
13> Creating "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
13> Touching "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild".
13>Target CustomBuild:
13> Building Custom Rule D:/mobileFX/Projects/Software/CasinoX/RGS/Web/nanogui/CMakeLists.txt
13>Target GetReferencedVCProjectsInfo:
13> Target DisableProjectReferenceRecursionForClInputs:
13> Target DisableProjectReferenceRecursionForClInputs:
13>Target FinalizeBuildStatus:
13> Deleting file "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild".
13> Touching "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\ALL_BUILD.lastbuildstate".
13>
13>Build succeeded.
13> 0 Warning(s)
13> 0 Error(s)
13>
13>Time Elapsed 00:00:00.18
14>------ Skipped Rebuild All: Project: INSTALL, Configuration: Debug x64 ------
14>Project not selected to build for this solution configuration
========== Rebuild All: 9 succeeded, 2 failed, 3 skipped ==========
========== Rebuild completed at 12:45 and took 20.011 seconds ==========

@thealmightyzhou
Copy link

"lo->ob_digit[0]" changes to "lo->long_value.ob_digit[0]" will work

@dtourolle
Copy link
Contributor

This is an issue with using python 3.12, you are better off using a virtualenv with a lower version of python, e.g. 3.11.

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

No branches or pull requests

3 participants