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

Windows install error: command '…\Microsoft Visual Studio 10.0\\VC\\BIN\\cl.exe' failed with exit status 2 #20

Open
obrock opened this issue Feb 7, 2017 · 0 comments

Comments

@obrock
Copy link

obrock commented Feb 7, 2017

I've got problems installing LargeVis in Windows:
D:\largeVis\LargeVis-master\Windows>python setup.py install running install running build running build_ext building 'LargeVis' extension C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nolo go /Ox /MD /W3 /GS- /DNDEBUG -ID:\boost_1_58_0 -IC:\Users\sbt-zhidkov-yi\AppData \Local\Continuum\Anaconda2\include -IC:\Users\sbt-zhidkov-yi\AppData\Local\Conti nuum\Anaconda2\PC /TpLargeVis.cpp /Fobuild\temp.win-amd64-2.7\Release\LargeVis.o bj /Ox LargeVis.cpp C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\xlocale(323) : wa rning C4530: C++ exception handler used, but unwind semantics are not enabled. S pecify /EHsc LargeVis.cpp(43) : warning C4244: '=' : conversion from 'double' to '__int64', p ossible loss of data LargeVis.cpp(63) : warning C4996: 'fopen': This function or variable may be unsa fe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_W ARNINGS. See online help for details. C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdio.h(2 34) : see declaration of 'fopen' LargeVis.cpp(70) : warning C4996: 'fscanf': This function or variable may be uns afe. Consider using fscanf_s instead. To disable deprecation, use _CRT_SECURE_NO _WARNINGS. See online help for details. C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdio.h(2 53) : see declaration of 'fscanf' LargeVis.cpp(76) : warning C4996: 'fscanf': This function or variable may be uns afe. Consider using fscanf_s instead. To disable deprecation, use _CRT_SECURE_NO _WARNINGS. See online help for details. C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdio.h(2 53) : see declaration of 'fscanf' LargeVis.cpp(102) : warning C4996: 'fopen': This function or variable may be uns afe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_ WARNINGS. See online help for details. C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdio.h(2 34) : see declaration of 'fopen' LargeVis.cpp(109) : warning C4996: 'fscanf': This function or variable may be un safe. Consider using fscanf_s instead. To disable deprecation, use _CRT_SECURE_N O_WARNINGS. See online help for details. C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdio.h(2 53) : see declaration of 'fscanf' LargeVis.cpp(115) : warning C4244: 'argument' : conversion from '__int64' to 'co nst int', possible loss of data LargeVis.cpp(116) : warning C4244: 'argument' : conversion from '__int64' to 'co nst int', possible loss of data LargeVis.cpp(142) : warning C4996: 'fopen': This function or variable may be uns afe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_ WARNINGS. See online help for details. C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdio.h(2 34) : see declaration of 'fopen' LargeVis.cpp(266) : warning C4244: 'argument' : conversion from '__int64' to 'in t', possible loss of data LargeVis.cpp(272) : warning C4244: 'argument' : conversion from '__int64' to 'in t', possible loss of data LargeVis.cpp(273) : warning C4018: '<' : signed/unsigned mismatch LargeVis.cpp(286) : warning C4244: 'argument' : conversion from '__int64' to 'in t', possible loss of data LargeVis.cpp(288) : warning C4244: 'argument' : conversion from '__int64' to 'in t', possible loss of data LargeVis.cpp(289) : warning C4244: 'argument' : conversion from '__int64' to 'in t', possible loss of data LargeVis.cpp(313) : warning C4244: '=' : conversion from '__int64' to 'int', pos sible loss of data LargeVis.cpp(319) : warning C4244: '=' : conversion from '__int64' to 'int', pos sible loss of data LargeVis.cpp(329) : warning C4244: '=' : conversion from '__int64' to 'int', pos sible loss of data LargeVis.cpp(432) : warning C4018: '<' : signed/unsigned mismatch LargeVis.cpp(485) : warning C4244: '=' : conversion from 'double' to '__int64', possible loss of data LargeVis.cpp(495) : warning C4018: '<' : signed/unsigned mismatch LargeVis.cpp(511) : warning C4996: 'fopen': This function or variable may be uns afe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_ WARNINGS. See online help for details. C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdio.h(2 34) : see declaration of 'fopen' LargeVis.cpp(531) : error C2666: 'pow' : 6 overloads have similar conversions C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\math.h(58 3): could be 'long double pow(long double,int)' C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\math.h(58 1): or 'long double pow(long double,long double)' C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\math.h(53 5): or 'float pow(float,int)' C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\math.h(53 3): or 'float pow(float,float)' C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\math.h(49 7): or 'double pow(double,int)' C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\math.h(12 2): or 'double pow(double,double)' while trying to match the argument list '(real, double)' LargeVis.cpp(539) : warning C4244: '=' : conversion from '__int64' to 'int', pos sible loss of data LargeVis.cpp(563) : warning C4244: '=' : conversion from 'double' to 'real', pos sible loss of data LargeVis.cpp(564) : warning C4244: '=' : conversion from 'double' to 'real', pos sible loss of data LargeVis.cpp(568) : warning C4244: 'argument' : conversion from 'double' to 'rea l', possible loss of data LargeVis.cpp(568) : warning C4244: 'argument' : conversion from 'double' to 'rea l', possible loss of data LargeVis.cpp(583) : warning C4244: '=' : conversion from 'double' to 'real', pos sible loss of data LargeVis.cpp(608) : warning C4244: '=' : conversion from 'double' to 'real', pos sible loss of data LargeVis.cpp(627) : warning C4244: '=' : conversion from 'double' to 'real', pos sible loss of data LargeVis.cpp(634) : warning C4244: '=' : conversion from 'double' to 'real', pos sible loss of data LargeVis.cpp(635) : warning C4244: '=' : conversion from 'double' to 'real', pos sible loss of data error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\BIN\\ amd64\\cl.exe' failed with exit status 2

I'm using MS Visual Studio 2010 and boost v1.58.0.
The system is Windows 7 x64.
There was no modifications in setup.py.
boost v1.58.0 extacted into "D:\boost_1_58_0" (the same path as in setup.py).

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