matplotplusplus
matplotplusplus copied to clipboard
xrepo install matplotplusplus failed
Hello
Could you please let me know how to install matplotplusplus using xrepo?
xrepo install matplotplusplus
checking for Microsoft Visual Studio (x64) version ... 2022
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
-> matplotplusplus v1.2.0 [runtimes:"MT"]
please input: y (y/n/m)
y
=> install matplotplusplus v1.2.0 .. failed
_167213BE3D534333B4B1DAD29012286F.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\vcruntime.h(386): error C2065: 'uintptr_t': undeclared identifier
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\vcruntime.h(386): error C2146: syntax error: missing ')' before identifier '_StackCookie'
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\vcruntime.h(387): error C2065: 'uintptr_t': undeclared identifier
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\vcruntime.h(387): error C2146: syntax error: missing ')' before identifier '_StackCookie'
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\vcruntime.h(391): error C2146: syntax error: missing ';' before identifier '__security_cookie'
C:\msys64\ucrt64\bin\..\include\corecrt.h(75): error C2378: 'uintptr_t': redefinition; symbol cannot be overloaded with a typedef
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\vcruntime.h(391): note: see declaration of 'uintptr_t'
C:\msys64\ucrt64\bin\..\include\stddef.h(26): error C2143: syntax error: missing ';' before '__cdecl'
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\cstdint(51): error C2874: using-declaration causes a multiple declaration of 'uintptr_t'
C:\msys64\ucrt64\bin\..\include\corecrt.h(75): note: see declaration of 'uintptr_t'
C:\msys64\ucrt64\bin\..\include\math.h(209): error C2065: '__asm__': undeclared identifier
C:\msys64\ucrt64\bin\..\include\math.h(209): error C2146: syntax error: missing ';' before identifier '__volatile__'
C:\msys64\ucrt64\bin\..\include\math.h(209): error C2143: syntax error: missing ')' before ':'
C:\msys64\ucrt64\bin\..\include\math.h(209): error C3861: '__volatile__': identifier not found
C:\msys64\ucrt64\bin\..\include\math.h(209): error C2143: syntax error: missing ';' before ':'
C:\msys64\ucrt64\bin\..\include\math.h(209): error C2059: syntax error: ':'
if you want to get more verbose errors, please see:
-> C:\Users\lidan\AppData\Local\.xmake\cache\packages\2402\m\matplotplusplus\v1.2.0\installdir.failed\logs\install.txt
error: install failed!
error: execv(C:\Users\lidan\xmake\xmake.exe require -j 14 --extra={system=false} matplotplusplus) failed(-1)