abetlen / llama-cpp-python

Python bindings for llama.cpp
https://llama-cpp-python.readthedocs.io
MIT License
7.11k stars 845 forks source link

Build/ Installation problem #943

Open oskaars opened 7 months ago

oskaars commented 7 months ago

Expected Behavior

I tried to install llama via poetry and it didnt work

Current Behavior

it just prompted some information that i dont understand, tried checking, asked for help and it still did not work

Environment and Context

Please provide detailed information about your computer setup. This is important in case the issue is not reproducible except for under certain specific conditions.

running it on my pendrive

Steps to Reproduce

  1. step 1 - pip install poetry
  2. step 2 - poetry install --with ui,local
  3. step 3 - after pressing enter the error occurs

I would like to add that I'm not running it on my C: drive but on my pendrive

Failure Logs

(private_gpt) E:\privateGPT>poetry install --with ui,local Installing dependencies from lock file

Package operations: 1 install, 0 updates, 0 removals

• Installing llama-cpp-python (0.2.18): Failed

ChefBuildError

Backend subprocess exited when trying to invoke build_wheel

scikit-build-core 0.6.1 using CMake 3.27.7 (wheel) Configuring CMake... 2023-11-24 18:44:51,719 - scikit_build_core - WARNING - Can't find a Python library, got libdir=None, ldlibrary=None, multiarch=None, masd=None loading initial cache file C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\CMakeInit.txt -- Building for: Visual Studio 17 2022 -- Selecting Windows SDK version 10.0.16299.0 to target Windows 10.0.19045. -- The C compiler identification is MSVC 19.38.33130.0 -- The CXX compiler identification is MSVC 19.38.33130.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/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/Community/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE -- CMAKE_SYSTEM_PROCESSOR: AMD64 -- CMAKE_GENERATOR_PLATFORM: x64 -- x86 detected -- Performing Test HAS_AVX_1 -- Performing Test HAS_AVX_1 - Success -- Performing Test HAS_AVX2_1 -- Performing Test HAS_AVX2_1 - Success -- Performing Test HAS_FMA_1 -- Performing Test HAS_FMA_1 - Success -- Performing Test HAS_AVX512_1 -- Performing Test HAS_AVX512_1 - Failed -- Performing Test HAS_AVX512_2 -- Performing Test HAS_AVX512_2 - Failed CMake Warning (dev) at CMakeLists.txt:20 (install): Target llama has PUBLIC_HEADER files but no PUBLIC_HEADER DESTINATION. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:29 (install): Target llama has PUBLIC_HEADER files but no PUBLIC_HEADER DESTINATION. This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done (20.7s) -- Generating done (0.1s) -- Build files have been written to: C:/Users/Oskar/AppData/Local/Temp/tmp5vxt2th1/build *** Building project with Visual Studio 17 2022... Change Dir: 'C:/Users/Oskar/AppData/Local/Temp/tmp5vxt2th1/build'

Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe" ALL_BUILD.vcxproj /p:Configuration=Release /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:n Wersja programu MSBuild 17.8.3+195e7f5a3 dla .NET Framework Kompilacja rozpocz©ˆa si© 24.11.2023 18:45:12.

Projekt "C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\ALL_BUILD.vcxproj" w w©«le 1 (domy˜lne elementy docelowe). Projekt "C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\ALL_BUILD.vcxproj" (1) kompiluje "C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\ZERO_CHECK.vcxproj" (2) w w©«le 1 (domy˜lne elementy docelowe). PrepareForBuild: Tworzenie katalogu "x64\Release\ZERO_CHECK\". C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: Katalog po˜redni ani katalog danych wyj˜ciowych nie mog¥ znajdowa† si© w katalogu tymczasowym, poniewa¾ mo¾e to spowodowa† problemy z kompilacj¥ przyrostow¥. [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\ZERO_CHECK.vcxproj] Dane wyj˜ciowe ze struktur¥ s¥ wˆ¥czone. Formatowanie diagnostyki kompilatora b©dzie odzwierciedla† hierarchi© bˆ©d¢w. Aby uzyska† wi©cej informacji, zobacz https://aka.ms/cpp/structured-output. Tworzenie katalogu "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\". InitializeBuildStatus: Trwa tworzenie "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild", poniewa¾ okre˜lono "AlwaysCreate". Modyfikowanie "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild". CustomBuild: 1>Checking Build System FinalizeBuildStatus: Usuwanie pliku "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild". Modyfikowanie "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate". Kompilowanie projektu "C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\ZERO_CHECK.vcxproj" wykonane (domy˜lne elementy docelowe). Projekt "C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\ALL_BUILD.vcxproj" (1) kompiluje "C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\common\build_info.vcxproj" (3) w w©«le 1 (domy˜lne elementy docelowe). PrepareForBuild: Tworzenie katalogu "build_info.dir\Release\". C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: Katalog po˜redni ani katalog danych wyj˜ciowych nie mog¥ znajdowa† si© w katalogu tymczasowym, poniewa¾ mo¾e to spowodowa† problemy z kompilacj¥ przyrostow¥. [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\common\build_info.vcxproj] Dane wyj˜ciowe ze struktur¥ s¥ wˆ¥czone. Formatowanie diagnostyki kompilatora b©dzie odzwierciedla† hierarchi© bˆ©d¢w. Aby uzyska† wi©cej informacji, zobacz https://aka.ms/cpp/structured-output. Tworzenie katalogu "build_info.dir\Release\build_info.tlog\". InitializeBuildStatus: Trwa tworzenie "build_info.dir\Release\build_info.tlog\unsuccessfulbuild", poniewa¾ okre˜lono "AlwaysCreate". Modyfikowanie "build_info.dir\Release\build_info.tlog\unsuccessfulbuild". CustomBuild: Generating build details from Git -- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.41.0.windows.1") Building Custom Rule C:/Users/Oskar/AppData/Local/Temp/tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/common/CMakeLists.txt ClCompile: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\bin\HostX64\x64\CL.exe /c /nologo /W1 /WX- /diagnostics:column /O2 /Ob2 /D _MBCS /D WIN32 /D _WINDOWS /D NDEBUG /D _CRT_SECURE_NO_WARNINGS /D _XOPEN_SOURCE=600 /D "CMAKE_INTDIR=\"Release\"" /Gm- /EHsc /MD /GS /arch:AVX2 /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"build_info.dir\Release\" /Fd"build_info.dir\Release\build_info.pdb" /external:W1 /Gd /TP /errorReport:queue "C:\Users\Oskar\AppData\Local\Temp\tmp_tmdts8e\llama_cpp_python-0.2.18\vendor\llama.cpp\common\build-info.cpp" build-info.cpp Lib: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\bin\HostX64\x64\Lib.exe /OUT:"build_info.dir\Release\build_info.lib" /NOLOGO /MACHINE:X64 /machine:x64 "build_info.dir\Release\build-info.obj" build_info.vcxproj -> C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\common\build_info.dir\Release\build_info.lib FinalizeBuildStatus: Usuwanie pliku "build_info.dir\Release\build_info.tlog\unsuccessfulbuild". Modyfikowanie "build_info.dir\Release\build_info.tlog\build_info.lastbuildstate". Kompilowanie projektu "C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\common\build_info.vcxproj" wykonane (domy˜lne elementy docelowe). Projekt "C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\ALL_BUILD.vcxproj" (1) kompiluje "C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj" (4) w w©«le 1 (domy˜lne elementy docelowe). PrepareForBuild: Tworzenie katalogu "ggml.dir\Release\". C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: Katalog po˜redni ani katalog danych wyj˜ciowych nie mog¥ znajdowa† si© w katalogu tymczasowym, poniewa¾ mo¾e to spowodowa† problemy z kompilacj¥ przyrostow¥. [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] Dane wyj˜ciowe ze struktur¥ s¥ wˆ¥czone. Formatowanie diagnostyki kompilatora b©dzie odzwierciedla† hierarchi© bˆ©d¢w. Aby uzyska† wi©cej informacji, zobacz https://aka.ms/cpp/structured-output. Tworzenie katalogu "ggml.dir\Release\ggml.tlog\". InitializeBuildStatus: Trwa tworzenie "ggml.dir\Release\ggml.tlog\unsuccessfulbuild", poniewa¾ okre˜lono "AlwaysCreate". Modyfikowanie "ggml.dir\Release\ggml.tlog\unsuccessfulbuild". CustomBuild: Building Custom Rule C:/Users/Oskar/AppData/Local/Temp/tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/CMakeLists.txt ClCompile: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\bin\HostX64\x64\CL.exe /c /I"C:\Users\Oskar\AppData\Local\Temp\tmp_tmdts8e\llama_cpp_python-0.2.18\vendor\llama.cpp." /nologo /W1 /WX- /diagnostics:column /O2 /Ob2 /D _MBCS /D WIN32 /D _WINDOWS /D NDEBUG /D _CRT_SECURE_NO_WARNINGS /D _XOPEN_SOURCE=600 /D "CMAKE_INTDIR=\"Release\"" /Gm- /MD /GS /arch:AVX2 /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /std:c11 /Fo"ggml.dir\Release\" /Fd"ggml.dir\Release\ggml.pdb" /external:W1 /Gd /TC /errorReport:queue "C:\Users\Oskar\AppData\Local\Temp\tmp_tmdts8e\llama_cpp_python-0.2.18\vendor\llama.cpp\ggml.c" "C:\Users\Oskar\AppData\Local\Temp\tmp_tmdts8e\llama_cpp_python-0.2.18\vendor\llama.cpp\ggml-alloc.c" "C:\Users\Oskar\AppData\Local\Temp\tmp_tmdts8e\llama_cpp_python-0.2.18\vendor\llama.cpp\ggml-backend.c" "C:\Users\Oskar\AppData\Local\Temp\tmp_tmdts8e\llama_cpp_python-0.2.18\vendor\llama.cpp\ggml-quants.c" ggml.c C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_memory.h(76,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_wstring.h(573,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\string.h(530,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_math.h(43,13): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_math.h(962,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\malloc.h(172,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\time.h(588,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_search.h(188,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdlib.h(78,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdlib.h(1297,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdio.h(377,9): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdio.h(2435,9): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\float.h(327,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\ctype.h(223,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\winbase.h(9156,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\oaidl.h(487,17): warning C5103: wklejenie element¢w "/" i "/" nie powoduje utworzenia prawidˆowego tokenu przetwarzania wst©pnego [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c") C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\shared\wtypes.h(745,1): w rozwini©ciu makra "_VARIANT_BOOL"

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\oaidl.h(487,17): error C2059: bˆ¥d skˆadniowy: "/" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\oaidl.h(502,17): warning C5103: wklejenie element¢w "/" i "/" nie powoduje utworzenia prawidˆowego tokenu przetwarzania wst©pnego [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c") C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\shared\wtypes.h(745,1): w rozwini©ciu makra "_VARIANT_BOOL"

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\oaidl.h(502,17): error C2059: bˆ¥d skˆadniowy: "/" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\oaidl.h(530,17): error C2059: bˆ¥d skˆadniowy: "}" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\oaidl.h(531,13): error C2059: bˆ¥d skˆadniowy: "}" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\oaidl.h(533,9): error C2059: bˆ¥d skˆadniowy: "}" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\oaidl.h(534,5): error C2059: bˆ¥d skˆadniowy: "}" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\oaidl.h(665,16): error C2079: "varDefaultValue" u¾ywa niezdefiniowanego struct "tagVARIANT" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\oaidl.h(950,16): error C2079: "varValue" u¾ywa niezdefiniowanego struct "tagVARIANT" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\propidlbase.h(319,24): warning C5103: wklejenie element¢w "/" i "/" nie powoduje utworzenia prawidˆowego tokenu przetwarzania wst©pnego [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c") C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\shared\wtypes.h(745,1): w rozwini©ciu makra "_VARIANT_BOOL"

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\propidlbase.h(319,24): error C2059: bˆ¥d skˆadniowy: "/" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\propidlbase.h(378,37): error C2371: "pvarVal": zmiana definicji; r¢¾ne typy podstawowe [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c") C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\oaidl.h(510,26): zobacz deklaracj© "pvarVal"

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\propidlbase.h(379,9): error C2059: bˆ¥d skˆadniowy: "}" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\propidlbase.h(380,5): error C2059: bˆ¥d skˆadniowy: "}" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\propidlbase.h(383,3): error C2059: bˆ¥d skˆadniowy: "}" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\propidlbase.h(384,1): error C2059: bˆ¥d skˆadniowy: "}" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml.c")

ggml-alloc.c

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_memory.h(76,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-alloc.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_wstring.h(573,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-alloc.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\string.h(530,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-alloc.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_math.h(43,13): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-alloc.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_math.h(962,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-alloc.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\malloc.h(172,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-alloc.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdio.h(377,9): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-alloc.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdio.h(2435,9): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-alloc.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_search.h(188,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-alloc.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdlib.h(78,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-alloc.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdlib.h(1297,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-alloc.c")

ggml-backend.c

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_memory.h(76,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-backend.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_wstring.h(573,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-backend.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\string.h(530,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-backend.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_math.h(43,13): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-backend.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_math.h(962,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-backend.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\malloc.h(172,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-backend.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdio.h(377,9): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-backend.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdio.h(2435,9): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-backend.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_search.h(188,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-backend.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdlib.h(78,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-backend.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdlib.h(1297,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-backend.c")

C:\Users\Oskar\AppData\Local\Temp\tmp_tmdts8e\llama_cpp_python-0.2.18\vendor\llama.cpp\ggml-backend.c(875,21): warning C4477: "fprintf": ci¥g formatu "%lu" wymaga argumentu typu "unsigned long", ale argument 1 ze zmienn¥ liczb¥ argument¢w ma typ "unsigned __int64" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Users\Oskar\AppData\Local\Temp\tmp_tmdts8e\llama_cpp_python-0.2.18\vendor\llama.cpp\ggml-backend.c(875,21): rozwa¾ u¾ycie elementu "%llu" w ci¥gu formatu C:\Users\Oskar\AppData\Local\Temp\tmp_tmdts8e\llama_cpp_python-0.2.18\vendor\llama.cpp\ggml-backend.c(875,21): rozwa¾ u¾ycie elementu "%Iu" w ci¥gu formatu C:\Users\Oskar\AppData\Local\Temp\tmp_tmdts8e\llama_cpp_python-0.2.18\vendor\llama.cpp\ggml-backend.c(875,21): rozwa¾ u¾ycie elementu "%I64u" w ci¥gu formatu

ggml-quants.c

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_memory.h(76,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-quants.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_wstring.h(573,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-quants.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\string.h(530,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-quants.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_math.h(43,13): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-quants.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_math.h(962,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-quants.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\malloc.h(172,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-quants.c")

C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\float.h(327,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] (kompilowanie pliku «r¢dˆowego "../../../../tmp_tmdts8e/llama_cpp_python-0.2.18/vendor/llama.cpp/ggml-quants.c")

Generowanie kodu...

Kompilowanie projektu "C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj" wykonane (domy˜lne elementy docelowe) - NIEPOWODZENIE. Kompilowanie projektu "C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\ALL_BUILD.vcxproj" wykonane (domy˜lne elementy docelowe) - NIEPOWODZENIE.

Kompilacja NIE POWIODA SI¨.

"C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\ALL_BUILD.vcxproj" (domy˜lny element docelowy) (1)-> "C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\ZERO_CHECK.vcxproj" (domy˜lny element docelowy) (2)-> (element docelowy PrepareForBuild) -> C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: Katalog po˜redni ani katalog danych wyj˜ciowych nie mog¥ znajdowa† si© w katalogu tymczasowym, poniewa¾ mo¾e to spowodowa† problemy z kompilacj¥ przyrostow¥. [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\ZERO_CHECK.vcxproj]

"C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\ALL_BUILD.vcxproj" (domy˜lny element docelowy) (1)-> "C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\common\build_info.vcxproj" (domy˜lny element docelowy) (3)-> C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: Katalog po˜redni ani katalog danych wyj˜ciowych nie mog¥ znajdowa† si© w katalogu tymczasowym, poniewa¾ mo¾e to spowodowa† problemy z kompilacj¥ przyrostow¥. [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\common\build_info.vcxproj]

"C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\ALL_BUILD.vcxproj" (domy˜lny element docelowy) (1)-> "C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj" (domy˜lny element docelowy) (4)-> C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: Katalog po˜redni ani katalog danych wyj˜ciowych nie mog¥ znajdowa† si© w katalogu tymczasowym, poniewa¾ mo¾e to spowodowa† problemy z kompilacj¥ przyrostow¥. [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj]

"C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\ALL_BUILD.vcxproj" (domy˜lny element docelowy) (1)-> "C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj" (domy˜lny element docelowy) (4)-> (element docelowy ClCompile) -> C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_memory.h(76,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_wstring.h(573,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\string.h(530,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_math.h(43,13): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_math.h(962,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\malloc.h(172,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\time.h(588,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_search.h(188,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdlib.h(78,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdlib.h(1297,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdio.h(377,9): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdio.h(2435,9): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\float.h(327,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\ctype.h(223,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\winbase.h(9156,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\oaidl.h(487,17): warning C5103: wklejenie element¢w "/" i "/" nie powoduje utworzenia prawidˆowego tokenu przetwarzania wst©pnego [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\oaidl.h(502,17): warning C5103: wklejenie element¢w "/" i "/" nie powoduje utworzenia prawidˆowego tokenu przetwarzania wst©pnego [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\propidlbase.h(319,24): warning C5103: wklejenie element¢w "/" i "/" nie powoduje utworzenia prawidˆowego tokenu przetwarzania wst©pnego [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_memory.h(76,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_wstring.h(573,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\string.h(530,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_math.h(43,13): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_math.h(962,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\malloc.h(172,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdio.h(377,9): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdio.h(2435,9): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_search.h(188,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdlib.h(78,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdlib.h(1297,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_memory.h(76,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_wstring.h(573,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\string.h(530,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_math.h(43,13): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_math.h(962,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\malloc.h(172,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdio.h(377,9): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdio.h(2435,9): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_search.h(188,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdlib.h(78,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\stdlib.h(1297,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Users\Oskar\AppData\Local\Temp\tmp_tmdts8e\llama_cpp_python-0.2.18\vendor\llama.cpp\ggml-backend.c(875,21): warning C4477: "fprintf": ci¥g formatu "%lu" wymaga argumentu typu "unsigned long", ale argument 1 ze zmienn¥ liczb¥ argument¢w ma typ "unsigned __int64" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_memory.h(76,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_wstring.h(573,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\string.h(530,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_math.h(43,13): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\corecrt_math.h(962,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\malloc.h(172,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\ucrt\float.h(327,5): warning C5105: rozwini©cie makra generuj¥ce element "defined" ma niezdefiniowane zachowanie [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj]

"C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\ALL_BUILD.vcxproj" (domy˜lny element docelowy) (1)-> "C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj" (domy˜lny element docelowy) (4)-> (element docelowy ClCompile) -> C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\oaidl.h(487,17): error C2059: bˆ¥d skˆadniowy: "/" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\oaidl.h(502,17): error C2059: bˆ¥d skˆadniowy: "/" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\oaidl.h(530,17): error C2059: bˆ¥d skˆadniowy: "}" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\oaidl.h(531,13): error C2059: bˆ¥d skˆadniowy: "}" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\oaidl.h(533,9): error C2059: bˆ¥d skˆadniowy: "}" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\oaidl.h(534,5): error C2059: bˆ¥d skˆadniowy: "}" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\oaidl.h(665,16): error C2079: "varDefaultValue" u¾ywa niezdefiniowanego struct "tagVARIANT" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\oaidl.h(950,16): error C2079: "varValue" u¾ywa niezdefiniowanego struct "tagVARIANT" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\propidlbase.h(319,24): error C2059: bˆ¥d skˆadniowy: "/" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\propidlbase.h(378,37): error C2371: "pvarVal": zmiana definicji; r¢¾ne typy podstawowe [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\propidlbase.h(379,9): error C2059: bˆ¥d skˆadniowy: "}" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\propidlbase.h(380,5): error C2059: bˆ¥d skˆadniowy: "}" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\propidlbase.h(383,3): error C2059: bˆ¥d skˆadniowy: "}" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\propidlbase.h(384,1): error C2059: bˆ¥d skˆadniowy: "}" [C:\Users\Oskar\AppData\Local\Temp\tmp5vxt2th1\build\vendor\llama.cpp\ggml.vcxproj]

  Ostrze¾enia: 51
  Liczba bˆ©d¢w: 14

Czas, kt¢ry upˆyn¥ˆ: 00:00:02.63

*** CMake build failed

at E:\anaconda prompt\envs\private_gpt\Lib\site-packages\poetry\installation\chef.py:164 in _prepare 160│ 161│ error = ChefBuildError("\n\n".join(message_parts)) 162│ 163│ if error is not None: → 164│ raise error from None 165│ 166│ return path 167│ 168│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:

PiotrEsse commented 7 months ago

I was able to overcome this issue by :

`

sudo apt update

sudo apt upgrade

sudo add-apt-repository ppa:ubuntu-toolchain-r/test

sudo apt update

sudo apt install gcc-11 g++-11

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 60 --slave /usr/bin/g++ g++ /usr/bin/g++-11

`

as per this article https://juejin.cn/s/ubuntu%E5%AE%89%E8%A3%85gcc11