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

(Environment installing concerned) error: command 'E:\\Microsoft Visual Studio\\2019\\Professional\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2 #37

Open
saulgooodman opened this issue Nov 8, 2023 · 5 comments

Comments

@saulgooodman
Copy link

Hello there. I was about to install the Co-SLAM environment, when I was installing the 'marching_cubes' according to the given README.md (which is cd external/NumpyMarchingCubes; python setup.py install) but I encountered a problem error:
'command 'E:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2'
I use windows platform and the python version is 3.8.
Could you please explain why? Tks!

@HengyiWang
Copy link
Owner

Hi @saulgooodman, this error message does not provide any information about why this compilation error happens, can you try to check the compiler output for a more detailed error message so I can help you with it?

In the meantime, maybe check this issue: #5 to see if this can help you to fix the problem.

@saulgooodman
Copy link
Author

issue #5 didn't solve my problem :<
The error is given below. Tks!
(pytorch_env) E:\桌面\Co-SLAM-main\external\NumpyMarchingCubes>python setup.py install
E:\anaconda\envs\pytorch_env\lib\site-packages\setuptools\installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
running install
E:\anaconda\envs\pytorch_env\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
E:\anaconda\envs\pytorch_env\lib\site-packages\setuptools\command\easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running bdist_egg
running egg_info
writing NumpyMarchingCubes.egg-info\PKG-INFO
writing dependency_links to NumpyMarchingCubes.egg-info\dependency_links.txt
writing top-level names to NumpyMarchingCubes.egg-info\top_level.txt
reading manifest file 'NumpyMarchingCubes.egg-info\SOURCES.txt'
writing manifest file 'NumpyMarchingCubes.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
running build_ext
building 'marching_cubes._mcubes' extension
"E:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Imarching_cubes/src -IC:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include -IE:\anaconda\envs\pytorch_env\include -IE:\anaconda\envs\pytorch_env\Include "-IE:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\ATLMFC\include" "-IE:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /EHsc /Tpmarching_cubes/src/_mcubes.cpp /Fobuild\temp.win-amd64-cpython-38\Release\marching_cubes/src/_mcubes.obj -std=c++11 -Wall
cl: 命令行 warning D9002 :忽略未知选项“-std=c++11”
_mcubes.cpp
E:\anaconda\envs\pytorch_env\include\object.h(182): warning C4820: “”:“4”字节填充添加在 数据成员“::slot”后
E:\anaconda\envs\pytorch_env\include\object.h(190): warning C4820: “”:“4”字节填充添加在 数据成员“::flags”后
E:\anaconda\envs\pytorch_env\include\cpython/object.h(212): warning C4820: “_typeobject”:“4”字节填充添加在 数据成员“_typeobject::tp_flags”后
E:\anaconda\envs\pytorch_env\include\cpython/object.h(256): warning C4820: “_typeobject”:“4”字节填充添加在 数据成员“_typeobject::tp_version_tag”后
E:\anaconda\envs\pytorch_env\include\bytearrayobject.h(30): warning C4820: “”:“4”字节填充添加在 数据成员“::ob_exports”后
E:\anaconda\envs\pytorch_env\include\bytesobject.h(41): warning C4820: “”:“7”字节填充添加在 数据成员“::ob_sval”后
E:\anaconda\envs\pytorch_env\include\bytesobject.h(165): warning C4820: “”:“4”字节填充添加在 数据成员“::small_buffer”后
E:\anaconda\envs\pytorch_env\include\cpython/unicodeobject.h(221): warning C4820: “”:“4”字节填充添加在 数据成员“::state”后
E:\anaconda\envs\pytorch_env\include\cpython/unicodeobject.h(625): warning C4820: “”:“2”字节填充添加在 数据成员“::readonly”后
E:\anaconda\envs\pytorch_env\include\longintrepr.h(88): warning C4820: “_longobject”:“4”字节填充添加在 数据成员“_longobject::ob_digit”后
E:\anaconda\envs\pytorch_env\include\memoryobject.h(45): warning C4820: “”:“4”字节填充添加在 数据成员“::flags”后
E:\anaconda\envs\pytorch_env\include\memoryobject.h(62): warning C4820: “”:“4”字节填充添加在 数据成员“::flags”后
E:\anaconda\envs\pytorch_env\include\methodobject.h(56): warning C4820: “PyMethodDef”:“4”字节填充添加在 数据成员“PyMethodDef::ml_flags”后
E:\anaconda\envs\pytorch_env\include\moduleobject.h(63): warning C4820: “PyModuleDef_Slot”:“4”字节填充添加在 数据成员“PyModuleDef_Slot::slot”后
E:\anaconda\envs\pytorch_env\include\cpython/initconfig.h(16): warning C4820: “”:“4”字节填充添加在 数据成员“::_type”后
E:\anaconda\envs\pytorch_env\include\cpython/initconfig.h(19): warning C4820: “”:“4”字节填充添加在 数据成员“::exitcode”后
E:\anaconda\envs\pytorch_env\include\cpython/initconfig.h(202): warning C4820: “”:“4”字节填充添加在 数据成员“::parse_argv”后
E:\anaconda\envs\pytorch_env\include\cpython/initconfig.h(357): warning C4820: “”:“4”字节填充添加在 数据成员“::legacy_windows_stdio”后
E:\anaconda\envs\pytorch_env\include\cpython/initconfig.h(367): warning C4820: “”:“4”字节填充添加在 数据成员“::pathconfig_warnings”后
E:\anaconda\envs\pytorch_env\include\cpython/initconfig.h(374): warning C4820: “”:“4”字节填充添加在 数据成员“::module_search_paths_set”后
E:\anaconda\envs\pytorch_env\include\cpython/initconfig.h(393): warning C4820: “”:“4”字节填充添加在 数据成员“::skip_source_first_line”后
E:\anaconda\envs\pytorch_env\include\cpython/pystate.h(65): warning C4820: “_ts”:“2”字节填充添加在 数据成员“_ts::recursion_critical”后
E:\anaconda\envs\pytorch_env\include\cpython/pystate.h(73): warning C4820: “_ts”:“4”字节填充添加在 数据成员“_ts::use_tracing”后
E:\anaconda\envs\pytorch_env\include\cpython/pystate.h(96): warning C4820: “_ts”:“4”字节填充添加在 数据成员“_ts::gilstate_counter”后
E:\anaconda\envs\pytorch_env\include\cpython/pystate.h(130): warning C4820: “_ts”:“4”字节填充添加在 数据成员“_ts::coroutine_origin_tracking_depth”后
E:\anaconda\envs\pytorch_env\include\genobject.h(35): warning C4820: “”:“7”字节填充添加在 数据成员“::gi_running”后
E:\anaconda\envs\pytorch_env\include\genobject.h(55): warning C4820: “”:“7”字节填充添加在 数据成员“::cr_running”后
E:\anaconda\envs\pytorch_env\include\genobject.h(72): warning C4820: “”:“7”字节填充添加在 数据成员“::ag_running”后
E:\anaconda\envs\pytorch_env\include\genobject.h(85): warning C4820: “”:“4”字节填充添加在 数据成员“::ag_running_async”后
E:\anaconda\envs\pytorch_env\include\descrobject.h(29): warning C4820: “wrapperbase”:“4”字节填充添加在 数据成员“wrapperbase::offset”后
E:\anaconda\envs\pytorch_env\include\descrobject.h(33): warning C4820: “wrapperbase”:“4”字节填充添加在 数据成员“wrapperbase::flags”后
E:\anaconda\envs\pytorch_env\include\structseq.h(20): warning C4820: “PyStructSequence_Desc”:“4”字节填充添加在 数据成员“PyStructSequence_Desc::n_in_sequence”后
E:\anaconda\envs\pytorch_env\include\cpython/pyerrors.h(19): warning C4820: “”:“7”字节填充添加在 数据成员“::suppress_context”后
E:\anaconda\envs\pytorch_env\include\cpython/pyerrors.h(23): warning C4820: “”:“7”字节填充添加在 数据成员“::suppress_context”后
E:\anaconda\envs\pytorch_env\include\cpython/pyerrors.h(33): warning C4820: “”:“7”字节填充添加在 数据成员“::suppress_context”后
E:\anaconda\envs\pytorch_env\include\cpython/pyerrors.h(40): warning C4820: “”:“7”字节填充添加在 数据成员“::suppress_context”后
E:\anaconda\envs\pytorch_env\include\cpython/pyerrors.h(49): warning C4820: “”:“7”字节填充添加在 数据成员“::suppress_context”后
E:\anaconda\envs\pytorch_env\include\cpython/pyerrors.h(54): warning C4820: “”:“7”字节填充添加在 数据成员“::suppress_context”后
E:\anaconda\envs\pytorch_env\include\cpython/pyerrors.h(66): warning C4820: “”:“7”字节填充添加在 数据成员“::suppress_context”后
E:\anaconda\envs\pytorch_env\include\modsupport.h(97): warning C4820: “_PyArg_Parser”:“4”字节填充添加在 数据成员“_PyArg_Parser::max”后
E:\anaconda\envs\pytorch_env\include\code.h(32): warning C4820: “”:“4”字节填充添加在 数据成员“::co_firstlineno”后
E:\anaconda\envs\pytorch_env\include\code.h(69): warning C4820: “”:“3”字节填充添加在 数据成员“::co_opcache_size”后
E:\anaconda\envs\pytorch_env\include\import.h(138): warning C4820: “_frozen”:“4”字节填充添加在 数据成员“_frozen::size”后
E:\anaconda\envs\pytorch_env\include\cpython/abstract.h(77): warning C4365: “return”: 从“size_t”转换到“Py_ssize_t”,有符号/无符号不匹配
E:\anaconda\envs\pytorch_env\include\fileutils.h(73): warning C4820: “_Py_stat_struct”:“4”字节填充添加在 数据成员“_Py_stat_struct::st_dev”后
E:\anaconda\envs\pytorch_env\include\fileutils.h(75): warning C4820: “_Py_stat_struct”:“2”字节填充添加在 数据成员“_Py_stat_struct::st_mode”后
E:\anaconda\envs\pytorch_env\include\fileutils.h(79): warning C4820: “_Py_stat_struct”:“4”字节填充添加在 数据成员“_Py_stat_struct::st_rdev”后
E:\anaconda\envs\pytorch_env\include\fileutils.h(82): warning C4820: “_Py_stat_struct”:“4”字节填充添加在 数据成员“_Py_stat_struct::st_atime_nsec”后
E:\anaconda\envs\pytorch_env\include\fileutils.h(84): warning C4820: “_Py_stat_struct”:“4”字节填充添加在 数据成员“_Py_stat_struct::st_mtime_nsec”后
E:\anaconda\envs\pytorch_env\include\fileutils.h(88): warning C4820: “_Py_stat_struct”:“4”字节填充添加在 数据成员“_Py_stat_struct::st_reparse_tag”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(443): warning C4820: “”:“4”字节填充添加在 数据成员“::len” 后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(701): warning C4820: “tagPyArrayObject_fields”:“4”字节填充添加在 数据成员“tagPyArrayObject_fields::nd”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(731): warning C4820: “tagPyArrayObject_fields”:“4”字节填充添加在 数据成员“tagPyArrayObject_fields::flags”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(774): warning C4820: “PyArrayFlagsObject”:“4”字节填充添加在 数据成员“PyArrayFlagsObject::flags”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(784): warning C4820: “”:“4”字节填充添加在 数据成员“::flags ”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1149): warning C4820: “PyArrayIterObject_tag”:“4”字节填充添加在 数据成员“PyArrayIterObject_tag::nd_m1”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1159): warning C4820: “PyArrayIterObject_tag”:“7”字节填充添加在 数据成员“PyArrayIterObject_tag::contiguous”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1282): warning C4820: “”:“4”字节填充添加在 数据成员“::numiter”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1285): warning C4820: “”:“4”字节填充添加在 数据成员“::nd” 后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1345): warning C4820: “”:“4”字节填充添加在 数据成员“::numiter”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1349): warning C4820: “”:“4”字节填充添加在 数据成员“::nd” 后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1378): warning C4820: “”:“4”字节填充添加在 数据成员“::consec”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1381): warning C4820: “”:“4”字节填充添加在 数据成员“::nd_fancy”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1389): warning C4820: “”:“4”字节填充添加在 数据成员“::needs_api”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1432): warning C4820: “”:“4”字节填充添加在 数据成员“::nd_m1”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1442): warning C4820: “”:“7”字节填充添加在 数据成员“::contiguous”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1467): warning C4820: “”:“4”字节填充添加在 数据成员“::mode ”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1846): warning C4820: “”:“3”字节填充添加在 数据成员“::typekind”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1857): warning C4820: “”:“4”字节填充添加在 数据成员“::flags”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/arrayscalars.h(8): warning C4820: “”:“7”字节填充添加在 数据成员“::obval” 后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/arrayscalars.h(15): warning C4820: “”:“7”字节填充添加在 数据成员“::obval”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/arrayscalars.h(21): warning C4820: “”:“6”字节填充添加在 数据成员“::obval”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/arrayscalars.h(27): warning C4820: “”:“4”字节填充添加在 数据成员“::obval”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/arrayscalars.h(33): warning C4820: “”:“4”字节填充添加在 数据成员“::obval”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/arrayscalars.h(45): warning C4820: “”:“7”字节填充添加在 数据成员“::obval”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/arrayscalars.h(51): warning C4820: “”:“6”字节填充添加在 数据成员“::obval”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/arrayscalars.h(57): warning C4820: “”:“4”字节填充添加在 数据成员“::obval”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/arrayscalars.h(63): warning C4820: “”:“4”字节填充添加在 数据成员“::obval”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/arrayscalars.h(75): warning C4820: “”:“6”字节填充添加在 数据成员“::obval”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/arrayscalars.h(81): warning C4820: “”:“4”字节填充添加在 数据成员“::obval”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/arrayscalars.h(135): warning C4820: “”:“7”字节填充添加在 数据成员“::obval ”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/arrayscalars.h(151): warning C4820: “”:“4”字节填充添加在 数据成员“::flags ”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/ufuncobject.h(205): warning C4820: “_tagPyUFuncObject”:“4”字节填充添加在 数据成员“_tagPyUFuncObject::iter_flags”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/ufuncobject.h(323): warning C4820: “_loop1d_info”:“4”字节填充添加在 数据成员“_loop1d_info::nargs”后
marching_cubes/src/_mcubes.cpp(1262): warning C4820: “”:“5”字节填充添加在 数据成员“::intern”后
E:\anaconda\envs\pytorch_env\include\structmember.h(21): warning C4820: “PyMemberDef”:“4”字节填充添加在 数据成员“PyMemberDef::type”后
E:\anaconda\envs\pytorch_env\include\structmember.h(23): warning C4820: “PyMemberDef”:“4”字节填充添加在 数据成员“PyMemberDef::flags”后
marching_cubes/src/_mcubes.cpp(2213): warning C4820: “”:“4”字节填充添加在 数据成员“::defaults_pyobjects”后
marching_cubes/src/_mcubes.cpp(2215): warning C4820: “”:“4”字节填充添加在 数据成员“::flags”后
marching_cubes/src/_mcubes.cpp(2301): warning C4820: “”:“4”字节填充添加在 数据成员“::code_line”后
marching_cubes/src/_mcubes.cpp(4319): warning C4100: “__pyx_self”: 未引用的形参
marching_cubes/src/_mcubes.cpp(7425): warning C4191: “类型强制转换”: 从“PyCFunction”到“void (__cdecl *)(void)”的不安全转换
通过结果指针调用该函数可能导致程序失败
marching_cubes/src/_mcubes.cpp(7425): warning C4191: “类型强制转换”: 从“void (__cdecl *)(void)”到“_PyCFunctionFastWithKeywords”的不安全转换
通过结果指针调用该函数可能导致程序失败
marching_cubes/src/_mcubes.cpp(7450): warning C4191: “类型强制转换”: 从“PyCFunction”到“void (__cdecl *)(void)”的不安全转换
通过结果指针调用该函数可能导致程序失败
marching_cubes/src/_mcubes.cpp(7450): warning C4191: “类型强制转换”: 从“void (__cdecl *)(void)”到“__Pyx_PyCMethod”的不安全转换
通过结果指针调用该函数可能导致程序失败
E:\anaconda\envs\pytorch_env\include\frameobject.h(33): warning C4820: “_frame”:“6”字节填充添加在 数据成员“_frame::f_trace_opcodes”后
E:\anaconda\envs\pytorch_env\include\frameobject.h(44): warning C4820: “_frame”:“3”字节填充添加在 数据成员“_frame::f_executing”后
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\basetsd.h(163): warning C4514: “HandleToULong”: 未引用的内联函数已移除
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\basetsd.h(172): warning C4514: “HandleToLong”: 未引用的内联函数已移除
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\basetsd.h(181): warning C4514: “ULongToHandle”: 未引用的内联函数已移除
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\basetsd.h(191): warning C4514: “LongToHandle”: 未引用的内联函数已移除
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\basetsd.h(201): warning C4514: “PtrToUlong”: 未引用的内联函数已移除
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\basetsd.h(210): warning C4514: “PtrToUint”: 未引用的内联函数已移除
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\basetsd.h(219): warning C4514: “PtrToUshort”: 未引用的内联函数已移除
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\basetsd.h(228): warning C4514: “PtrToLong”: 未引用的内联函数已移除
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\basetsd.h(237): warning C4514: “PtrToInt”: 未引用的内联函数已移除
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\basetsd.h(246): warning C4514: “PtrToShort”: 未引用的内联函数已移除
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\basetsd.h(255): warning C4514: “IntToPtr”: 未引用的内联函数已移除
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\basetsd.h(265): warning C4514: “UIntToPtr”: 未引用的内联函数已移除
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\basetsd.h(275): warning C4514: “LongToPtr”: 未引用的内联函数已移除
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\basetsd.h(285): warning C4514: “ULongToPtr”: 未引用的内联函数已移除
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\basetsd.h(300): warning C4514: “Ptr32ToPtr”: 未引用的内联函数已移除
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\basetsd.h(309): warning C4514: “Handle32ToHandle”: 未引用的内联函数已移除
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\basetsd.h(318): warning C4514: “PtrToPtr32”: 未引用的内联函数已移除
E:\anaconda\envs\pytorch_env\include\object.h(446): warning C4514: “_Py_ForgetReference”: 未引用的内联函数已移除
E:\anaconda\envs\pytorch_env\include\cpython/object.h(339): warning C4514: “_Py_Dealloc_inline”: 未引用的内联函数已移除
E:\anaconda\envs\pytorch_env\include\objimpl.h(152): warning C4514: “_PyObject_INIT_VAR”: 未引用的内联函数已移除
E:\anaconda\envs\pytorch_env\include\cpython/abstract.h(145): warning C4514: “_PyObject_FastCall”: 未引用的内联函数已移除
E:\anaconda\envs\pytorch_env\include\cpython/abstract.h(152): warning C4514: “_PyObject_CallNoArg”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(815): warning C4514: “__Pyx_CyOrPyCFunction_GET_SELF”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(819): warning C4514: “__Pyx__IsSameCFunction”: 未引用的内联函数已移除
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy_neighborhood_iterator_imp.h(53): warning C4514: “_PyArrayNeighborhoodIter_IncrCoord2D”: 未引用的内联函数已移除
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy_neighborhood_iterator_imp.h(68): warning C4514: “PyArrayNeighborhoodIter_Next”: 未引用的内联函数已移除
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy_neighborhood_iterator_imp.h(80): warning C4514: “PyArrayNeighborhoodIter_Reset”: 未引用的内联函数已移 除
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1651): warning C4514: “PyArray_DTYPE”: 未引用的内联函数已移除
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1657): warning C4514: “PyArray_SHAPE”: 未引用的内联函数已移除
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1683): warning C4514: “PyArray_HANDLER”: 未引用的内联函数已移除
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarrayobject.h(156): warning C4514: “PyArray_DiscardWritebackIfCopy”: 未引用的内联函数已移除
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarrayobject.h(218): warning C4514: “NPY_TITLE_KEY_check”: 未引用的内联函数已移除
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/npy_math.h(30): warning C4514: “__npy_inff”: 未引用的内联函数已移除
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/npy_math.h(36): warning C4514: “__npy_nanf”: 未引用的内联函数已移除
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/npy_math.h(42): warning C4514: “__npy_pzerof”: 未引用的内联函数已移除
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/npy_math.h(48): warning C4514: “__npy_nzerof”: 未引用的内联函数已移除
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/npy_math.h(412): warning C4514: “npy_cpack”: 未引用的内联函数已移除
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/npy_math.h(417): warning C4514: “npy_cpackf”: 未引用的内联函数已移除
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/npy_math.h(422): warning C4514: “npy_cpackl”: 未引用的内联函数已移除
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/npy_math.h(444): warning C4514: “npy_creal”: 未引用的内联函数已移除
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/npy_math.h(449): warning C4514: “npy_cimag”: 未引用的内联函数已移除
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/npy_math.h(454): warning C4514: “npy_crealf”: 未引用的内联函数已移除
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/npy_math.h(459): warning C4514: “npy_cimagf”: 未引用的内联函数已移除
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/npy_math.h(464): warning C4514: “npy_creall”: 未引用的内联函数已移除
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy/npy_math.h(469): warning C4514: “npy_cimagl”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(1282): warning C4514: “__Pyx_is_valid_index”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(1340): warning C4514: “__Pyx_Py_UNICODE_strlen”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(1505): warning C4514: “__Pyx_pretend_to_initialize”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(2933): warning C4514: “__pyx_f_5numpy_7ndarray_4base_base”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(2967): warning C4514: “__pyx_f_5numpy_7ndarray_5descr_descr”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(3009): warning C4514: “__pyx_f_5numpy_7ndarray_4ndim_ndim”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(3043): warning C4514: “__pyx_f_5numpy_7ndarray_5shape_shape”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(3077): warning C4514: “__pyx_f_5numpy_7ndarray_7strides_strides”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(3111): warning C4514: “__pyx_f_5numpy_7ndarray_4size_size”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(3145): warning C4514: “__pyx_f_5numpy_7ndarray_4data_data”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(3179): warning C4514: “__pyx_f_5numpy_PyArray_MultiIterNew1”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(3229): warning C4514: “__pyx_f_5numpy_PyArray_MultiIterNew2”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(3279): warning C4514: “__pyx_f_5numpy_PyArray_MultiIterNew3”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(3329): warning C4514: “__pyx_f_5numpy_PyArray_MultiIterNew4”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(3379): warning C4514: “__pyx_f_5numpy_PyArray_MultiIterNew5”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(3429): warning C4514: “__pyx_f_5numpy_PyDataType_SHAPE”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(3503): warning C4514: “__pyx_f_5numpy_set_array_base”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(3542): warning C4514: “__pyx_f_5numpy_get_array_base”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(3755): warning C4514: “__pyx_f_5numpy_import_umath”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(3887): warning C4514: “__pyx_f_5numpy_import_ufunc”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(4019): warning C4514: “__pyx_f_5numpy_is_timedelta64_object”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(4053): warning C4514: “__pyx_f_5numpy_is_datetime64_object”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(4087): warning C4514: “__pyx_f_5numpy_get_datetime64_value”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(4121): warning C4514: “__pyx_f_5numpy_get_timedelta64_value”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(4155): warning C4514: “__pyx_f_5numpy_get_datetime64_unit”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(5612): warning C4514: “__Pyx_PyTuple_FromArray”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(5625): warning C4514: “__Pyx_PyList_FromArray”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(5639): warning C4514: “__Pyx_PyBytes_Equals”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(6612): warning C4514: “__Pyx__IsSameCyOrCFunction”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(6616): warning C4514: “__Pyx__CyFunction_SetClassObj”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(7577): warning C4514: “__Pyx_CyFunction_InitDefaults”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(7587): warning C4514: “__Pyx_CyFunction_SetDefaultsTuple”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(7592): warning C4514: “__Pyx_CyFunction_SetDefaultsKwDict”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(7597): warning C4514: “__Pyx_CyFunction_SetAnnotationsDict”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(7618): warning C4514: “__Pyx_get_tp_dict_version”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(7634): warning C4514: “__Pyx_object_dict_version_matches”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(7962): warning C4514: “__pyx_t_float_complex_from_parts”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(8116): warning C4514: “__pyx_t_double_complex_from_parts”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(8284): warning C4514: “__Pyx_PyInt_From_long”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(9020): warning C4514: “__Pyx_PyErr_GivenExceptionMatches2”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(9130): warning C4514: “__Pyx_PyUnicode_FromString”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(9135): warning C4514: “__Pyx_PyByteArray_FromString”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(9140): warning C4514: “__Pyx_PyObject_AsString”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(9214): warning C4514: “__Pyx_PyObject_IsTrueAndDecref”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(9354): warning C4514: “__Pyx_PyIndex_AsHash_t”: 未引用的内联函数已移除
marching_cubes/src/_mcubes.cpp(9374): warning C4514: “__Pyx_PyInt_FromSize_t”: 未引用的内联函数已移除
"E:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Imarching_cubes/src -IC:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include -IE:\anaconda\envs\pytorch_env\include -IE:\anaconda\envs\pytorch_env\Include "-IE:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\ATLMFC\include" "-IE:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /EHsc /Tpmarching_cubes/src/marching_cubes.cpp /Fobuild\temp.win-amd64-cpython-38\Release\marching_cubes/src/marching_cubes.obj -std=c++11 -Wall
cl: 命令行 warning D9002 :忽略未知选项“-std=c++11”
marching_cubes.cpp
E:\anaconda\envs\pytorch_env\include\object.h(182): warning C4820: “”:“4”字节填充添加在 数据成员“::slot”后
E:\anaconda\envs\pytorch_env\include\object.h(190): warning C4820: “”:“4”字节填充添加在 数据成员“::flags”后
E:\anaconda\envs\pytorch_env\include\cpython/object.h(212): warning C4820: “_typeobject”:“4”字节填充添加在 数据成员“_typeobject::tp_flags”后
E:\anaconda\envs\pytorch_env\include\cpython/object.h(256): warning C4820: “_typeobject”:“4”字节填充添加在 数据成员“_typeobject::tp_version_tag”后
E:\anaconda\envs\pytorch_env\include\bytearrayobject.h(30): warning C4820: “”:“4”字节填充添加在 数据成员“::ob_exports”后
E:\anaconda\envs\pytorch_env\include\bytesobject.h(41): warning C4820: “”:“7”字节填充添加在 数据成员“::ob_sval”后
E:\anaconda\envs\pytorch_env\include\bytesobject.h(165): warning C4820: “”:“4”字节填充添加在 数据成员“::small_buffer”后
E:\anaconda\envs\pytorch_env\include\cpython/unicodeobject.h(221): warning C4820: “”:“4”字节填充添加在 数据成员“::state”后
E:\anaconda\envs\pytorch_env\include\cpython/unicodeobject.h(625): warning C4820: “”:“2”字节填充添加在 数据成员“::readonly”后
E:\anaconda\envs\pytorch_env\include\longintrepr.h(88): warning C4820: “_longobject”:“4”字节填充添加在 数据成员“_longobject::ob_digit”后
E:\anaconda\envs\pytorch_env\include\memoryobject.h(45): warning C4820: “”:“4”字节填充添加在 数据成员“::flags”后
E:\anaconda\envs\pytorch_env\include\memoryobject.h(62): warning C4820: “”:“4”字节填充添加在 数据成员“::flags”后
E:\anaconda\envs\pytorch_env\include\methodobject.h(56): warning C4820: “PyMethodDef”:“4”字节填充添加在 数据成员“PyMethodDef::ml_flags”后
E:\anaconda\envs\pytorch_env\include\moduleobject.h(63): warning C4820: “PyModuleDef_Slot”:“4”字节填充添加在 数据成员“PyModuleDef_Slot::slot”后
E:\anaconda\envs\pytorch_env\include\cpython/initconfig.h(16): warning C4820: “”:“4”字节填充添加在 数据成员“::_type”后
E:\anaconda\envs\pytorch_env\include\cpython/initconfig.h(19): warning C4820: “”:“4”字节填充添加在 数据成员“::exitcode”后
E:\anaconda\envs\pytorch_env\include\cpython/initconfig.h(202): warning C4820: “”:“4”字节填充添加在 数据成员“::parse_argv”后
E:\anaconda\envs\pytorch_env\include\cpython/initconfig.h(357): warning C4820: “”:“4”字节填充添加在 数据成员“::legacy_windows_stdio”后
E:\anaconda\envs\pytorch_env\include\cpython/initconfig.h(367): warning C4820: “”:“4”字节填充添加在 数据成员“::pathconfig_warnings”后
E:\anaconda\envs\pytorch_env\include\cpython/initconfig.h(374): warning C4820: “”:“4”字节填充添加在 数据成员“::module_search_paths_set”后
E:\anaconda\envs\pytorch_env\include\cpython/initconfig.h(393): warning C4820: “”:“4”字节填充添加在 数据成员“::skip_source_first_line”后
E:\anaconda\envs\pytorch_env\include\cpython/pystate.h(65): warning C4820: “_ts”:“2”字节填充添加在 数据成员“_ts::recursion_critical”后
E:\anaconda\envs\pytorch_env\include\cpython/pystate.h(73): warning C4820: “_ts”:“4”字节填充添加在 数据成员“_ts::use_tracing”后
E:\anaconda\envs\pytorch_env\include\cpython/pystate.h(96): warning C4820: “_ts”:“4”字节填充添加在 数据成员“_ts::gilstate_counter”后
E:\anaconda\envs\pytorch_env\include\cpython/pystate.h(130): warning C4820: “_ts”:“4”字节填充添加在 数据成员“_ts::coroutine_origin_tracking_depth”后
E:\anaconda\envs\pytorch_env\include\genobject.h(35): warning C4820: “”:“7”字节填充添加在 数据成员“::gi_running”后
E:\anaconda\envs\pytorch_env\include\genobject.h(55): warning C4820: “”:“7”字节填充添加在 数据成员“::cr_running”后
E:\anaconda\envs\pytorch_env\include\genobject.h(72): warning C4820: “”:“7”字节填充添加在 数据成员“::ag_running”后
E:\anaconda\envs\pytorch_env\include\genobject.h(85): warning C4820: “”:“4”字节填充添加在 数据成员“::ag_running_async”后
E:\anaconda\envs\pytorch_env\include\descrobject.h(29): warning C4820: “wrapperbase”:“4”字节填充添加在 数据成员“wrapperbase::offset”后
E:\anaconda\envs\pytorch_env\include\descrobject.h(33): warning C4820: “wrapperbase”:“4”字节填充添加在 数据成员“wrapperbase::flags”后
E:\anaconda\envs\pytorch_env\include\structseq.h(20): warning C4820: “PyStructSequence_Desc”:“4”字节填充添加在 数据成员“PyStructSequence_Desc::n_in_sequence”后
E:\anaconda\envs\pytorch_env\include\cpython/pyerrors.h(19): warning C4820: “”:“7”字节填充添加在 数据成员“::suppress_context”后
E:\anaconda\envs\pytorch_env\include\cpython/pyerrors.h(23): warning C4820: “”:“7”字节填充添加在 数据成员“::suppress_context”后
E:\anaconda\envs\pytorch_env\include\cpython/pyerrors.h(33): warning C4820: “”:“7”字节填充添加在 数据成员“::suppress_context”后
E:\anaconda\envs\pytorch_env\include\cpython/pyerrors.h(40): warning C4820: “”:“7”字节填充添加在 数据成员“::suppress_context”后
E:\anaconda\envs\pytorch_env\include\cpython/pyerrors.h(49): warning C4820: “”:“7”字节填充添加在 数据成员“::suppress_context”后
E:\anaconda\envs\pytorch_env\include\cpython/pyerrors.h(54): warning C4820: “”:“7”字节填充添加在 数据成员“::suppress_context”后
E:\anaconda\envs\pytorch_env\include\cpython/pyerrors.h(66): warning C4820: “”:“7”字节填充添加在 数据成员“::suppress_context”后
E:\anaconda\envs\pytorch_env\include\modsupport.h(97): warning C4820: “_PyArg_Parser”:“4”字节填充添加在 数据成员“_PyArg_Parser::max”后
E:\anaconda\envs\pytorch_env\include\code.h(32): warning C4820: “”:“4”字节填充添加在 数据成员“::co_firstlineno”后
E:\anaconda\envs\pytorch_env\include\code.h(69): warning C4820: “”:“3”字节填充添加在 数据成员“::co_opcache_size”后
E:\anaconda\envs\pytorch_env\include\import.h(138): warning C4820: “_frozen”:“4”字节填充添加在 数据成员“_frozen::size”后
E:\anaconda\envs\pytorch_env\include\cpython/abstract.h(77): warning C4365: “return”: 从“size_t”转换到“Py_ssize_t”,有符号/无符号不匹配
E:\anaconda\envs\pytorch_env\include\fileutils.h(73): warning C4820: “_Py_stat_struct”:“4”字节填充添加在 数据成员“_Py_stat_struct::st_dev”后
E:\anaconda\envs\pytorch_env\include\fileutils.h(75): warning C4820: “_Py_stat_struct”:“2”字节填充添加在 数据成员“_Py_stat_struct::st_mode”后
E:\anaconda\envs\pytorch_env\include\fileutils.h(79): warning C4820: “_Py_stat_struct”:“4”字节填充添加在 数据成员“_Py_stat_struct::st_rdev”后
E:\anaconda\envs\pytorch_env\include\fileutils.h(82): warning C4820: “_Py_stat_struct”:“4”字节填充添加在 数据成员“_Py_stat_struct::st_atime_nsec”后
E:\anaconda\envs\pytorch_env\include\fileutils.h(84): warning C4820: “_Py_stat_struct”:“4”字节填充添加在 数据成员“_Py_stat_struct::st_mtime_nsec”后
E:\anaconda\envs\pytorch_env\include\fileutils.h(88): warning C4820: “_Py_stat_struct”:“4”字节填充添加在 数据成员“_Py_stat_struct::st_reparse_tag”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(443): warning C4820: “”:“4”字节填充添加在 数据成员“::len” 后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(701): warning C4820: “tagPyArrayObject_fields”:“4”字节填充添加在 数据成员“tagPyArrayObject_fields::nd”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(731): warning C4820: “tagPyArrayObject_fields”:“4”字节填充添加在 数据成员“tagPyArrayObject_fields::flags”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(774): warning C4820: “PyArrayFlagsObject”:“4”字节填充添加在 数据成员“PyArrayFlagsObject::flags”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(784): warning C4820: “”:“4”字节填充添加在 数据成员“::flags ”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1149): warning C4820: “PyArrayIterObject_tag”:“4”字节填充添加在 数据成员“PyArrayIterObject_tag::nd_m1”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1159): warning C4820: “PyArrayIterObject_tag”:“7”字节填充添加在 数据成员“PyArrayIterObject_tag::contiguous”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1282): warning C4820: “”:“4”字节填充添加在 数据成员“::numiter”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1285): warning C4820: “”:“4”字节填充添加在 数据成员“::nd” 后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1345): warning C4820: “”:“4”字节填充添加在 数据成员“::numiter”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1349): warning C4820: “”:“4”字节填充添加在 数据成员“::nd” 后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1378): warning C4820: “”:“4”字节填充添加在 数据成员“::consec”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1381): warning C4820: “”:“4”字节填充添加在 数据成员“::nd_fancy”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1389): warning C4820: “”:“4”字节填充添加在 数据成员“::needs_api”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1432): warning C4820: “”:“4”字节填充添加在 数据成员“::nd_m1”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1442): warning C4820: “”:“7”字节填充添加在 数据成员“::contiguous”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1467): warning C4820: “”:“4”字节填充添加在 数据成员“::mode ”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1846): warning C4820: “”:“3”字节填充添加在 数据成员“::typekind”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\ndarraytypes.h(1857): warning C4820: “”:“4”字节填充添加在 数据成员“::flags”后
C:\Users\fqy\AppData\Roaming\Python\Python38\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
E:\桌面\Co-SLAM-main\external\NumpyMarchingCubes\marching_cubes\src\marching_cubes.h(20): warning C4820: “npy_accessor”:“4”字节填充添加在 数据成员“npy_accessor::m_size”后
E:\桌面\Co-SLAM-main\external\NumpyMarchingCubes\marching_cubes\src\marching_cubes.h(20): warning C4626: “npy_accessor”: 已将对齐运算符隐式定义为“已删除”
E:\桌面\Co-SLAM-main\external\NumpyMarchingCubes\marching_cubes\src\marching_cubes.h(20): warning C5027: “npy_accessor”: 已将移动赋值运算符隐式定义为“已删除”
marching_cubes/src/marching_cubes.cpp(82): warning C4244: “=”: 从“double”转换到“float”,可能丢失数据
marching_cubes/src/marching_cubes.cpp(99): warning C5219: 从“int”隐式转换到“const float”,可能会丢失数据
marching_cubes/src/marching_cubes.cpp(99): warning C5219: 从“int”隐式转换到“const float”,可能会丢失数据
marching_cubes/src/marching_cubes.cpp(99): warning C5219: 从“int”隐式转换到“const float”,可能会丢失数据
marching_cubes/src/marching_cubes.cpp(172): error C2065: “uint”: 未声明的标识符
marching_cubes/src/marching_cubes.cpp(172): error C2146: 语法错误: 缺少“;”(在标识符“cubeindex”的前面)
marching_cubes/src/marching_cubes.cpp(172): error C2065: “cubeindex”: 未声明的标识符
marching_cubes/src/marching_cubes.cpp(173): error C2065: “cubeindex”: 未声明的标识符
marching_cubes/src/marching_cubes.cpp(174): error C2065: “cubeindex”: 未声明的标识符
marching_cubes/src/marching_cubes.cpp(175): error C2065: “cubeindex”: 未声明的标识符
marching_cubes/src/marching_cubes.cpp(176): error C2065: “cubeindex”: 未声明的标识符
marching_cubes/src/marching_cubes.cpp(177): error C2065: “cubeindex”: 未声明的标识符
marching_cubes/src/marching_cubes.cpp(178): error C2065: “cubeindex”: 未声明的标识符
marching_cubes/src/marching_cubes.cpp(179): error C2065: “cubeindex”: 未声明的标识符
marching_cubes/src/marching_cubes.cpp(180): error C2065: “cubeindex”: 未声明的标识符
marching_cubes/src/marching_cubes.cpp(187): error C2065: “uint”: 未声明的标识符
marching_cubes/src/marching_cubes.cpp(187): error C2146: 语法错误: 缺少“;”(在标识符“k”的前面)
marching_cubes/src/marching_cubes.cpp(187): error C2143: 语法错误: 缺少“;”(在“=”的前面)
marching_cubes/src/marching_cubes.cpp(187): error C2143: 语法错误: 缺少“)”(在“=”的前面)
marching_cubes/src/marching_cubes.cpp(187): error C2059: 语法错误:“=”
marching_cubes/src/marching_cubes.cpp(187): error C2065: “k”: 未声明的标识符
marching_cubes/src/marching_cubes.cpp(187): error C2065: “k”: 未声明的标识符
marching_cubes/src/marching_cubes.cpp(187): error C2059: 语法错误:“)”
marching_cubes/src/marching_cubes.cpp(188): error C2059: 语法错误:“for”
marching_cubes/src/marching_cubes.cpp(188): error C2143: 语法错误: 缺少“)”(在“;”的前面)
marching_cubes/src/marching_cubes.cpp(188): error C2065: “l”: 未声明的标识符
marching_cubes/src/marching_cubes.cpp(188): error C2065: “l”: 未声明的标识符
marching_cubes/src/marching_cubes.cpp(188): error C2059: 语法错误:“)”
marching_cubes/src/marching_cubes.cpp(189): error C2059: 语法错误:“if”
marching_cubes/src/marching_cubes.cpp(189): error C2143: 语法错误: 缺少“;”(在“{”的前面)
marching_cubes/src/marching_cubes.cpp(190): error C2065: “k”: 未声明的标识符
marching_cubes/src/marching_cubes.cpp(190): error C2065: “l”: 未声明的标识符
marching_cubes/src/marching_cubes.cpp(192): error C2181: 没有匹配 if 的非法 else
marching_cubes/src/marching_cubes.cpp(193): error C2065: “k”: 未声明的标识符
marching_cubes/src/marching_cubes.cpp(193): error C2065: “l”: 未声明的标识符
marching_cubes/src/marching_cubes.cpp(196): error C2059: 语法错误:“}”
marching_cubes/src/marching_cubes.cpp(196): error C2143: 语法错误: 缺少“;”(在“}”的前面)
marching_cubes/src/marching_cubes.cpp(198): error C2059: 语法错误:“if”
marching_cubes/src/marching_cubes.cpp(199): error C2059: 语法错误:“if”
marching_cubes/src/marching_cubes.cpp(200): error C2059: 语法错误:“if”
marching_cubes/src/marching_cubes.cpp(201): error C2059: 语法错误:“if”
marching_cubes/src/marching_cubes.cpp(202): error C2059: 语法错误:“if”
marching_cubes/src/marching_cubes.cpp(203): error C2059: 语法错误:“if”
marching_cubes/src/marching_cubes.cpp(204): error C2059: 语法错误:“if”
marching_cubes/src/marching_cubes.cpp(206): error C2059: 语法错误:“if”
marching_cubes/src/marching_cubes.cpp(209): error C2447: “{”: 缺少函数标题(是否是老式的形式表?)
marching_cubes/src/marching_cubes.cpp(215): error C2059: 语法错误:“if”
marching_cubes/src/marching_cubes.cpp(216): error C2059: 语法错误:“if”
marching_cubes/src/marching_cubes.cpp(217): error C2059: 语法错误:“if”
marching_cubes/src/marching_cubes.cpp(218): error C2059: 语法错误:“if”
marching_cubes/src/marching_cubes.cpp(219): error C2059: 语法错误:“if”
marching_cubes/src/marching_cubes.cpp(220): error C2059: 语法错误:“if”
marching_cubes/src/marching_cubes.cpp(221): error C2059: 语法错误:“if”
marching_cubes/src/marching_cubes.cpp(222): error C2059: 语法错误:“if”
marching_cubes/src/marching_cubes.cpp(223): error C2059: 语法错误:“if”
marching_cubes/src/marching_cubes.cpp(224): error C2059: 语法错误:“if”
marching_cubes/src/marching_cubes.cpp(225): error C2059: 语法错误:“if”
marching_cubes/src/marching_cubes.cpp(226): error C2059: 语法错误:“if”
marching_cubes/src/marching_cubes.cpp(228): error C2059: 语法错误:“for”
marching_cubes/src/marching_cubes.cpp(228): error C2143: 语法错误: 缺少“)”(在“;”的前面)
marching_cubes/src/marching_cubes.cpp(228): error C2065: “cubeindex”: 未声明的标识符
marching_cubes/src/marching_cubes.cpp(228): error C2065: “i”: 未声明的标识符
marching_cubes/src/marching_cubes.cpp(228): error C2143: 语法错误: 缺少“;”(在“!=”的前面)
marching_cubes/src/marching_cubes.cpp(228): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
marching_cubes/src/marching_cubes.cpp(228): error C2369: “triTable”: 重定义;不同的下标
E:\桌面\Co-SLAM-main\external\NumpyMarchingCubes\marching_cubes\src\tables.h(48): note: 参见“triTable”的声明
marching_cubes/src/marching_cubes.cpp(228): error C2143: 语法错误: 缺少“;”(在“+=”的前面)
marching_cubes/src/marching_cubes.cpp(228): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
marching_cubes/src/marching_cubes.cpp(228): error C2059: 语法错误:“)”
marching_cubes/src/marching_cubes.cpp(229): error C2143: 语法错误: 缺少“;”(在“{”的前面)
marching_cubes/src/marching_cubes.cpp(229): error C2447: “{”: 缺少函数标题(是否是老式的形式表?)
marching_cubes/src/marching_cubes.cpp(240): error C2059: 语法错误:“}”
marching_cubes/src/marching_cubes.cpp(240): error C2143: 语法错误: 缺少“;”(在“}”的前面)
marching_cubes/src/marching_cubes.cpp(245): error C2143: 语法错误: 缺少“;”(在“{”的前面)
marching_cubes/src/marching_cubes.cpp(245): error C2447: “{”: 缺少函数标题(是否是老式的形式表?)
marching_cubes/src/marching_cubes.cpp(283): warning C4459: “i”的声明隐藏了全局声明
marching_cubes/src/marching_cubes.cpp(228): note: 参见“i”的声明
marching_cubes/src/marching_cubes.cpp(305): warning C4459: “i”的声明隐藏了全局声明
marching_cubes/src/marching_cubes.cpp(228): note: 参见“i”的声明
marching_cubes/src/marching_cubes.cpp(308): warning C4459: “c”的声明隐藏了全局声明
marching_cubes/src/marching_cubes.cpp(208): note: 参见“c”的声明
marching_cubes/src/marching_cubes.cpp(322): warning C4459: “i”的声明隐藏了全局声明
marching_cubes/src/marching_cubes.cpp(228): note: 参见“i”的声明
marching_cubes/src/marching_cubes.cpp(325): warning C4459: “c”的声明隐藏了全局声明
marching_cubes/src/marching_cubes.cpp(208): note: 参见“c”的声明
marching_cubes/src/marching_cubes.cpp(344): warning C4459: “i”的声明隐藏了全局声明
marching_cubes/src/marching_cubes.cpp(228): note: 参见“i”的声明
marching_cubes/src/marching_cubes.cpp(345): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(345): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(346): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(346): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(347): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(347): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(349): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(349): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(350): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(350): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(351): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(351): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(353): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(353): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(354): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(354): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(355): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(355): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(357): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(358): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(359): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(371): warning C5219: 从“int”隐式转换到“float”,可能会丢失数据
marching_cubes/src/marching_cubes.cpp(371): warning C5219: 从“int”隐式转换到“float”,可能会丢失数据
marching_cubes/src/marching_cubes.cpp(371): warning C5219: 从“int”隐式转换到“float”,可能会丢失数据
marching_cubes/src/marching_cubes.cpp(371): warning C4244: “参数”: 从“float”转换到“int”,可能丢失数据
marching_cubes/src/marching_cubes.cpp(371): warning C4244: “参数”: 从“float”转换到“int”,可能丢失数据
marching_cubes/src/marching_cubes.cpp(371): warning C4244: “参数”: 从“float”转换到“int”,可能丢失数据
marching_cubes/src/marching_cubes.cpp(388): warning C5219: 从“int”隐式转换到“float”,可能会丢失数据
marching_cubes/src/marching_cubes.cpp(388): warning C5219: 从“int”隐式转换到“float”,可能会丢失数据
marching_cubes/src/marching_cubes.cpp(388): warning C5219: 从“int”隐式转换到“float”,可能会丢失数据
marching_cubes/src/marching_cubes.cpp(388): warning C4244: “参数”: 从“float”转换到“int”,可能丢失数据
marching_cubes/src/marching_cubes.cpp(388): warning C4244: “参数”: 从“float”转换到“int”,可能丢失数据
marching_cubes/src/marching_cubes.cpp(388): warning C4244: “参数”: 从“float”转换到“int”,可能丢失数据
marching_cubes/src/marching_cubes.cpp(402): warning C4459: “i”的声明隐藏了全局声明
marching_cubes/src/marching_cubes.cpp(228): note: 参见“i”的声明
marching_cubes/src/marching_cubes.cpp(403): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(403): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(403): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(403): warning C4365: “=”: 从“_Ty”转换到“int”,有符号/无符号不匹配
with
[
_Ty=unsigned int
]
marching_cubes/src/marching_cubes.cpp(404): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(404): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(404): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(404): warning C4365: “=”: 从“_Ty”转换到“int”,有符号/无符号不匹配
with
[
_Ty=unsigned int
]
marching_cubes/src/marching_cubes.cpp(405): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(405): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(405): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(405): warning C4365: “=”: 从“_Ty”转换到“int”,有符号/无符号不匹配
with
[
_Ty=unsigned int
]
marching_cubes/src/marching_cubes.cpp(426): warning C4459: “i”的声明隐藏了全局声明
marching_cubes/src/marching_cubes.cpp(228): note: 参见“i”的声明
marching_cubes/src/marching_cubes.cpp(429): warning C4244: “参数”: 从“int”转换到“float”,可能丢失数据
marching_cubes/src/marching_cubes.cpp(429): warning C4244: “参数”: 从“int”转换到“float”,可能丢失数据
marching_cubes/src/marching_cubes.cpp(429): warning C4244: “参数”: 从“int”转换到“float”,可能丢失数据
marching_cubes/src/marching_cubes.cpp(441): warning C4244: “参数”: 从“double”转换到“float”,可能丢失数据
marching_cubes/src/marching_cubes.cpp(441): warning C4244: “参数”: 从“double”转换到“float”,可能丢失数据
marching_cubes/src/marching_cubes.cpp(445): error C3861: “remove_duplicate_faces”: 找不到标识符
marching_cubes/src/marching_cubes.cpp(450): warning C4459: “i”的声明隐藏了全局声明
marching_cubes/src/marching_cubes.cpp(228): note: 参见“i”的声明
marching_cubes/src/marching_cubes.cpp(451): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(451): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(452): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(452): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(453): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(453): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(456): warning C4459: “i”的声明隐藏了全局声明
marching_cubes/src/marching_cubes.cpp(228): note: 参见“i”的声明
marching_cubes/src/marching_cubes.cpp(457): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(457): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(457): warning C4365: “=”: 从“int”转换到“_Ty”,有符号/无符号不匹配
with
[
_Ty=unsigned long
]
marching_cubes/src/marching_cubes.cpp(458): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(458): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(458): warning C4365: “=”: 从“int”转换到“_Ty”,有符号/无符号不匹配
with
[
_Ty=unsigned long
]
marching_cubes/src/marching_cubes.cpp(459): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(459): warning C4365: “参数”: 从“int”转换到“const unsigned __int64”,有符号/无符号不匹配
marching_cubes/src/marching_cubes.cpp(459): warning C4365: “=”: 从“int”转换到“_Ty”,有符号/无符号不匹配
with
[
_Ty=unsigned long
]
error: command 'E:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2

@HengyiWang
Copy link
Owner

Hi @saulgooodman, it looks like this error is likely to be related to your system and compiler. As I am not familar with compilation using Windows, I would suggest double-checking something like the compiler version or Visual Studio installation.

@Pallab007Saha
Copy link

Pallab007Saha commented Feb 22, 2024

Hii @saulgooodman @HengyiWang @JingwenWang95 , were you able to find any solution for the above error ?
Similar error were there in other forums , but no available solitions resolved it in this case .

@ShunkaiZhou
Copy link

Hi, I am experiencing the same problem, has it been resolved please?

嗨,您能找到解决上述错误的方法吗?在其他论坛中也存在类似的错误,但在这种情况下没有可用的孤独解决它。

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

4 participants