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

xrepo install matplotplusplus failed #391

Open
danli349 opened this issue Feb 7, 2024 · 0 comments
Open

xrepo install matplotplusplus failed #391

danli349 opened this issue Feb 7, 2024 · 0 comments

Comments

@danli349
Copy link

danli349 commented Feb 7, 2024

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)
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

1 participant