From f57bab30d4e75b87033929363b8b9dbefa36a4b3 Mon Sep 17 00:00:00 2001 From: narfa0215 <124590168+narfa0215@users.noreply.github.com> Date: Mon, 27 Oct 2025 16:51:58 +0800 Subject: [PATCH] Resolve build problems --- superfastcode/superfastcode.vcxproj | 30 +++---- superfastcode2/superfastcode2.vcxproj | 112 +++++++------------------- 2 files changed, 44 insertions(+), 98 deletions(-) diff --git a/superfastcode/superfastcode.vcxproj b/superfastcode/superfastcode.vcxproj index 7a1bb77..6016e6b 100644 --- a/superfastcode/superfastcode.vcxproj +++ b/superfastcode/superfastcode.vcxproj @@ -22,32 +22,32 @@ 15.0 {28F6146F-9862-4C07-A931-F3DE0A093BB7} superfastcode - 10.0.17134.0 + 10.0 DynamicLibrary true - v141 + v143 MultiByte DynamicLibrary false - v141 + v143 true MultiByte DynamicLibrary true - v141 + v143 MultiByte DynamicLibrary false - v141 + v143 true MultiByte @@ -87,12 +87,11 @@ Disabled true true - %PYTHONPATH%\include - Py_LIMITED_API;_WINDLL;%(PreprocessorDefinitions) + C:\Python311\include MultiThreadedDLL - %PYTHONPATH%\libs + C:\Python311\libs @@ -101,10 +100,11 @@ Disabled true true - %PYTHONPATH%\include + C:\Python311\include + MultiThreadedDLL - %PYTHONPATH%\libs + C:\Python311\libs @@ -115,14 +115,13 @@ true true true - %PYTHONPATH%\include - Py_LIMITED_API;_WINDLL;%(PreprocessorDefinitions) + C:\Python311\include MultiThreadedDLL true true - %PYTHONPATH%\libs + C:\Python311\libs @@ -133,12 +132,13 @@ true true true - %PYTHONPATH%\include + C:\Python311\include + MultiThreadedDLL true true - %PYTHONPATH%\libs + C:\Python311\libs diff --git a/superfastcode2/superfastcode2.vcxproj b/superfastcode2/superfastcode2.vcxproj index 9eb9730..c744ddc 100644 --- a/superfastcode2/superfastcode2.vcxproj +++ b/superfastcode2/superfastcode2.vcxproj @@ -1,5 +1,5 @@ - - + + Debug @@ -19,64 +19,39 @@ + 15.0 {98D5E983-CE8C-4AE5-9DA2-0374C81BFB86} - superfastcode - 3.6 - 10.0.17134.0 - superfastcode2 + superfastcode2 + 10.0 DynamicLibrary true - v141 - Unicode + v143 + MultiByte DynamicLibrary false - v141 + v143 true - Unicode + MultiByte DynamicLibrary true - v141 - Unicode + v143 + MultiByte DynamicLibrary false - v141 + v143 true - Unicode - - - RegistryView.Registry32 - RegistryView.Registry64 - $(PythonVersion)-32 - $(PythonVersion) - $([MSBuild]::GetRegistryValueFromView('HKEY_CURRENT_USER\SOFTWARE\Python\PythonCore\$(PythonTag)\InstallPath', null, null, $(RegistryView))) - $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\$(PythonTag)\InstallPath', null, null, $(RegistryView))) - $([MSBuild]::GetRegistryValueFromView('HKEY_CURRENT_USER\SOFTWARE\Python\PythonCore\$(PythonTag)\InstallPath', 'ExecutablePath', null, $(RegistryView))) - $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\$(PythonTag)\InstallPath', 'ExecutablePath', null, $(RegistryView))) - $(PythonHome)python.exe - $([MSBuild]::GetRegistryValueFromView('HKEY_CURRENT_USER\SOFTWARE\Python\PythonCore\$(PythonTag)\InstalledFeatures', 'dev', null, $(RegistryView))) - $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\$(PythonTag)\InstalledFeatures', 'dev', null, $(RegistryView))) - $([MSBuild]::GetRegistryValueFromView('HKEY_CURRENT_USER\SOFTWARE\Python\PythonCore\$(PythonTag)\InstalledFeatures', 'core_pdb', null, $(RegistryView))) - $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\$(PythonTag)\InstalledFeatures', 'core_pdb', null, $(RegistryView))) - $([MSBuild]::GetRegistryValueFromView('HKEY_CURRENT_USER\SOFTWARE\Python\PythonCore\$(PythonTag)\InstalledFeatures', 'core_d', null, $(RegistryView))) - $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\$(PythonTag)\InstalledFeatures', 'core_d', null, $(RegistryView))) - _d - $([System.IO.Path]::GetDirectoryName($(PythonExe)))\python$(PythonDebugSuffix).exe - $(PythonExe) + MultiByte - - WindowsLocalDebugger - PythonDebugLaunchProvider - @@ -95,61 +70,41 @@ - superfastcode$(PythonDebugSuffix) .pyd - $(PythonDExe) - -i -c "print('>>> import superfastcode'); import superfastcode" - PYTHONPATH=$(OutDir) - $(DefaultDebuggerFlavor) - superfastcode2 .pyd - $(PythonExe) - -i -c "print('>>> import superfastcode'); import superfastcode" - PYTHONPATH=$(OutDir) - $(DefaultDebuggerFlavor) - superfastcode$(PythonDebugSuffix) .pyd - $(PythonDExe) - -i -c "print('>>> import superfastcode'); import superfastcode" - PYTHONPATH=$(OutDir) - $(DefaultDebuggerFlavor) - superfastcode .pyd - $(PythonExe) - -i -c "print('>>> import superfastcode'); import superfastcode" - PYTHONPATH=$(OutDir) - $(DefaultDebuggerFlavor) Level3 Disabled - MultithreadedDLL - $(PythonHome)Include;%(AdditionalIncludeDirectories) true + true + C:\Python311\include;C:\Python311\Lib\site-packages\pybind11\include + MultiThreadedDLL - true - $(PythonHome)libs;%(AdditionalLibraryDirectories) + C:\Python311\libs Level3 Disabled - MultithreadedDLL - $(PythonHome)Include;%(AdditionalIncludeDirectories) true + true + C:\Python311\include;C:\Python311\Lib\site-packages\pybind11\include + MultiThreadedDLL - true - $(PythonHome)libs;%(AdditionalLibraryDirectories) + C:\Python311\libs @@ -158,17 +113,15 @@ MaxSpeed true true - Multithreaded - $(PythonHome)/Include;%(AdditionalIncludeDirectories) true + true + C:\Python311\include;C:\Python311\Lib\site-packages\pybind11\include + MultiThreadedDLL - true true true - libucrt.lib;%(IgnoreSpecificDefaultLibraries) - ucrt.lib;%(AdditionalDependencies) - $(PythonHome)libs;%(AdditionalLibraryDirectories) + C:\Python311\libs @@ -177,17 +130,15 @@ MaxSpeed true true - Multithreaded - $(PythonHome)Include;%(AdditionalIncludeDirectories) true + true + C:\Python311\include;C:\Python311\Lib\site-packages\pybind11\include + MultiThreadedDLL - true true true - libucrt.lib;%(IgnoreSpecificDefaultLibraries) - ucrt.lib;%(AdditionalDependencies) - $(PythonHome)libs;%(AdditionalLibraryDirectories) + C:\Python311\libs @@ -199,9 +150,4 @@ - - - - - \ No newline at end of file