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

Can opendr install on Window 10? #41

Closed
Maasea opened this issue Nov 18, 2019 · 5 comments
Closed

Can opendr install on Window 10? #41

Maasea opened this issue Nov 18, 2019 · 5 comments

Comments

@Maasea
Copy link

Maasea commented Nov 18, 2019

I use pip install opendr but fail.

 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -D__OSMESA__=1 -Iopendr/contexts -I. -I

c:\python3\lib\site-packages\numpy\core\include -Iopendr/contexts/OSMesa/include -Ic:\python3\include -Ic:\python3\include "-I

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-I

C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-I

C:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /Tcopendr/contexts/ctx_mesa.c /Fobuild\temp.win-amd64-3.7\Release\opendr/contexts/ctx_mesa.obj -lstdc++

    cl : Command line warning D9002 : ignoring unknown option '-lstdc++'

    ctx_mesa.c

    c:\python3\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated N

umPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION

    opendr/contexts/ctx_mesa.c(6900): warning C4244: 'function': conversion from 'npy_intp' to 'GLint', possible loss of

 data

    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.exe 

/nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO 

/LIBPATH:opendr/contexts/OSMesa/lib /LIBPATH:c:\python3\libs 

/LIBPATH:c:\python3\PCbuild\amd64 "

/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "

/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64""

/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.10240.0\ucrt\x64" "

/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6\lib\um\x64" "

/LIBPATH:C:\Program Files (x86)\Windows Kits\8.1\lib\winv6.3\um\x64" OSMesa.lib GL.lib GLU.lib 

/EXPORT:PyInit_ctx_mesa build\temp.win-amd64-3.7\Release\opendr/contexts/ctx_mesa.obj 

/OUT:build\lib.win-amd64-3.7\opendr\contexts\ctx_mesa.cp37-win_amd64.pyd 

/IMPLIB:build\temp.win-amd64-3.7\Release\opendr/contexts\ctx_mesa.cp37-win_amd64.lib -lstdc++

    LINK : warning LNK4044: unrecognized option '/lstdc++'; ignored

    LINK : fatal error LNK1181: cannot open input file 'OSMesa.lib'

    error: command 'C:\\Program Files (x86)\\Microsoft Visual 

Studio14.0\\VC\\BIN\\x86_amd64\\link.exe' failed with exit status 1181

    ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\python3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv
[0] = '"'"'C:\\Users\\qiu35\\AppData\\Local\\Temp\\pip-install-jfj72zqv\\opendr\\setup.py'"'"'; __file__='"'"'C:\\Users\
\qiu35\\AppData\\Local\\Temp\\pip-install-jfj72zqv\\opendr\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__fi
le__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' insta
ll --record 'C:\Users\qiu35\AppData\Local\Temp\pip-record-esawqk96\install-record.txt' --single-version-externally-manag
ed --compile Check the logs for full command output.
@UserNameIsAlredyTaken
Copy link

Have the same issue
don't cnow how to solve

@Maasea
Copy link
Author

Maasea commented Feb 17, 2020

Have the same issue
don't cnow how to solve

Use WSL or VM

@Maasea Maasea closed this as completed Feb 17, 2020
@carlosedubarreto
Copy link

this site has some orientations
https://www.programmersought.com/article/33334502831/

@RichardBrowning
Copy link

RichardBrowning commented Jan 18, 2021

Hello,

https://github.com/polmorenoc/opendr
Try git clone this repo, and "pip install glfw
Then go to the opendr dir and try "python steup.py install"

This way can prevent the installer from accessing osmesa.lib that doesn't always work all the time.

Hope this works for you. Good luck.

@awais-nexquery
Copy link

Hello,

https://github.com/polmorenoc/opendr Try git clone this repo, and "pip install glfw Then go to the opendr dir and try "python steup.py install"

This way can prevent the installer from accessing osmesa.lib that doesn't always work all the time.

Hope this works for you. Good luck.

Thanks alot its working

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

5 participants