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
mac M1系统 ycm编译错误的问题 #415
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[ 78%] Building CXX object ycm/CMakeFiles/ycm_core.dir/IdentifierCompleter.cpp.o
[ 80%] Building CXX object ycm/CMakeFiles/ycm_core.dir/IdentifierDatabase.cpp.o
[ 83%] Building CXX object ycm/CMakeFiles/ycm_core.dir/IdentifierUtils.cpp.o
[ 85%] Building CXX object ycm/CMakeFiles/ycm_core.dir/PythonSupport.cpp.o
[ 88%] Building CXX object ycm/CMakeFiles/ycm_core.dir/Result.cpp.o
[ 90%] Building CXX object ycm/CMakeFiles/ycm_core.dir/Utils.cpp.o
[ 92%] Building CXX object ycm/CMakeFiles/ycm_core.dir/Word.cpp.o
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/PythonSupport.cpp:18:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/PythonSupport.h:21:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/pybind11.h:49:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/attr.h:13:
/Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/cast.h:442:36: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
" " + handle(frame->f_code->co_filename).caststd::string() +
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/PythonSupport.cpp:18:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/PythonSupport.h:21:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/pybind11.h:49:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/attr.h:13:
/Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/cast.h:444:29: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
handle(frame->f_code->co_name).caststd::string() + "\n";
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/PythonSupport.cpp:18:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/PythonSupport.h:21:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/pybind11.h:49:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/attr.h:13:
/Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/cast.h:445:26: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
frame = frame->f_back;
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
[ 95%] Building CXX object ycm/CMakeFiles/ycm_core.dir/versioning.cpp.o
[ 97%] Building CXX object ycm/CMakeFiles/ycm_core.dir/ycm_core.cpp.o
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/PythonSupport.cpp:18:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/PythonSupport.h:21:
/Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/pybind11.h:2032:49: error: no member named 'frame' in '_ts'
PyFrameObject *frame = PyThreadState_Get()->frame;
~~~~~~~~~~~~~~~~~~~ ^
/Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/pybind11.h:2033:41: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
if (frame && (std::string) str(frame->f_code->co_name) == name &&
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/PythonSupport.cpp:18:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/PythonSupport.h:21:
/Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/pybind11.h:2034:14: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
frame->f_code->co_argcount > 0) {
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/PythonSupport.cpp:18:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/PythonSupport.h:21:
/Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/pybind11.h:2037:18: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0));
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/PythonSupport.cpp:18:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/PythonSupport.h:21:
/Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/pybind11.h:2037:52: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0));
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/ycm_core.cpp:20:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/PythonSupport.h:21:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/pybind11.h:49:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/attr.h:13:
/Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/cast.h:442:36: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
" " + handle(frame->f_code->co_filename).caststd::string() +
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/ycm_core.cpp:20:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/PythonSupport.h:21:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/pybind11.h:49:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/attr.h:13:
/Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/cast.h:444:29: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
handle(frame->f_code->co_name).caststd::string() + "\n";
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/ycm_core.cpp:20:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/PythonSupport.h:21:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/pybind11.h:49:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/attr.h:13:
/Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/cast.h:445:26: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
frame = frame->f_back;
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/ycm_core.cpp:20:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/PythonSupport.h:21:
/Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/pybind11.h:2032:49: error: no member named 'frame' in '_ts'
PyFrameObject *frame = PyThreadState_Get()->frame;
~~~~~~~~~~~~~~~~~~~ ^
/Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/pybind11.h:2033:41: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
if (frame && (std::string) str(frame->f_code->co_name) == name &&
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/ycm_core.cpp:20:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/PythonSupport.h:21:
/Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/pybind11.h:2034:14: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
frame->f_code->co_argcount > 0) {
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/ycm_core.cpp:20:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/PythonSupport.h:21:
/Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/pybind11.h:2037:18: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0));
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/ycm_core.cpp:20:
In file included from /Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/PythonSupport.h:21:
/Users/wzb/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/pybind11/pybind11/pybind11.h:2037:52: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0));
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
8 errors generated.
make[3]: *** [ycm/CMakeFiles/ycm_core.dir/PythonSupport.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
8 errors generated.
make[3]: *** [ycm/CMakeFiles/ycm_core.dir/ycm_core.cpp.o] Error 1
make[2]: *** [ycm/CMakeFiles/ycm_core.dir/all] Error 2
make[1]: *** [ycm/CMakeFiles/ycm_core.dir/rule] Error 2
make: *** [ycm_core] Error 2
ERROR: the build failed.
NOTE: it is highly unlikely that this is a bug but rather
that this is a problem with the configuration of your system
or a missing dependency. Please carefully read CONTRIBUTING.md
and if you're sure that it is a bug, please raise an issue on the
issue tracker, including the entire output of this script
and the invocation line used to run it.
python :3.11.1
gcc : 14.0.0
The text was updated successfully, but these errors were encountered: