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

Win10 install compile ERROR!! #21

Open
pzh11001 opened this issue Nov 18, 2020 · 0 comments
Open

Win10 install compile ERROR!! #21

pzh11001 opened this issue Nov 18, 2020 · 0 comments

Comments

@pzh11001
Copy link

My system is windows 10 and the compiler is Microsoft Visual Studio 14.0.

I installed it environment.yaml All packages in, except gxx_ linux-64=7.3.0。

I use minionda3.

When I execute "Python setup install", I get the following error:

######################################################################
(cosypose) D:\FFFFFFFF\cosypose-master>python setup.py install
信息: 用提供的模式无法找到文件。
C:\Users\KKU\miniconda3\envs\cosypose\lib\distutils\extension.py:131: UserWarning: Unknown Extension options: 'verbose'
warnings.warn(msg)
running install
running bdist_egg
running egg_info
writing cosypose.egg-info\PKG-INFO
writing dependency_links to cosypose.egg-info\dependency_links.txt
writing top-level names to cosypose.egg-info\top_level.txt
reading manifest file 'cosypose.egg-info\SOURCES.txt'
writing manifest file 'cosypose.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
running build_ext
---------------------Windows 10------------------
C:\Users\KKU\miniconda3\envs\cosypose\lib\site-packages\torch\utils\cpp_extension.py:192: UserWarning: Error checking compiler version for : [WinError 87] 参数错误。
warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error))
building 'cosypose_cext' extension
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\KKU\miniconda3\envs\cosypose\lib\site-packages\torch\include -IC:\Users\KKU\miniconda3\envs\cosypose\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\KKU\miniconda3\envs\cosypose\lib\site-packages\torch\include\TH -IC:\Users\KKU\miniconda3\envs\cosypose\lib\site-packages\torch\include\THC -IC:\Users\KKU\miniconda3\envs\cosypose\include -IC:\Users\KKU\miniconda3\envs\cosypose\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\winrt" /EHsc /Tpcosypose/csrc/cosypose_cext.cpp /Fobuild\temp.win-amd64-3.7\Release\cosypose/csrc/cosypose_cext.obj /MD /wd4819 /EHsc -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=cosypose_cext -D_GLIBCXX_USE_CXX11_ABI=0
cl : Command line warning D9002 : ignoring unknown option '-O3'
cosypose_cext.cpp
cosypose/csrc/cosypose_cext.cpp(43): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
cosypose/csrc/cosypose_cext.cpp(48): error C2100: illegal indirection
cosypose/csrc/cosypose_cext.cpp(64): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
cosypose/csrc/cosypose_cext.cpp(138): warning C4244: 'initializing': conversion from 'pybind11::ssize_t' to 'int', possible loss of data
cosypose/csrc/cosypose_cext.cpp(157): warning C4244: 'initializing': conversion from 'pybind11::ssize_t' to 'int', possible loss of data
cosypose/csrc/cosypose_cext.cpp(162): error C2100: illegal indirection
error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2
#######################################################################################

Two questions
A: I want to know if cosypose can't be compiled and run under win10 at present? If it can run, how should this error be resolved?
B:The Readme didn't introduce the multi view multi objective training method. How should I train the multi view model?

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