ddemidov / mba

Scattered data interpolation with multilevel B-Splines
MIT License
73 stars 23 forks source link

Can't install mba #8

Open koneshgit opened 5 years ago

koneshgit commented 5 years ago

(py27) ......\mba-master>python setup.py install running install running bdist_egg running egg_info writing pymba.egg-info\PKG-INFO writing top-level names to pymba.egg-info\top_level.txt writing dependency_links to pymba.egg-info\dependency_links.txt reading manifest file 'pymba.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'python\pybind11\include\pybind11*.h' warning: no files found matching 'RELEASE-VERSION' writing manifest file 'pymba.egg-info\SOURCES.txt' installing library code to build\bdist.win-amd64\egg running install_lib running build_ext building 'pymba' extension creating build creating build\temp.win-amd64-2.7 creating build\temp.win-amd64-2.7\Release creating build\temp.win-amd64-2.7\Release\python thisUser\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Ipython/pybind11/include/ -I. -IthisUser\Continuum\miniconda3\envs\py27\include -IthisUser\Continuum\miniconda3\envs\py27\PC /Tppython/pymba.cpp /Fobuild\temp.win-amd64-2.7\Release\python/pymba.obj -O3 -std=c++11 cl : Command line warning D9002 : ignoring unknown option '-O3' cl : Command line warning D9002 : ignoring unknown option '-std=c++11' pymba.cpp thisUser\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Include\xlocale(342) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc .\mba/mba.hpp(57) : error C2988: unrecognizable template declaration/definition .\mba/mba.hpp(57) : error C2059: syntax error : 'using' .\mba/mba.hpp(60) : error C2039: 'array' : is not a member of 'std' .\mba/mba.hpp(71) : error C2143: syntax error : missing ',' before '<' .\mba/mba.hpp(71) : see reference to class template instantiation 'mba::detail::power<N,M>' being compiled .\mba/mba.hpp(74) : error C2143: syntax error : missing ',' before '<' .\mba/mba.hpp(74) : see reference to class template instantiation 'mba::detail::power<N,0x00>' being compiled .\mba/mba.hpp(79) : error C2061: syntax error : identifier 'N' .\mba/mba.hpp(140) : see reference to class template instantiation 'mba::detail::multi_array<T,N>' being compiled .\mba/mba.hpp(79) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(79) : warning C4183: 'static_assert': missing return type; assumed to be a member function returning 'int' .\mba/mba.hpp(84) : error C2061: syntax error : identifier 'index' .\mba/mba.hpp(84) : error C2535: 'mba::detail::multi_array<T,N>::multi_array(void)' : member function already defined or declared .\mba/mba.hpp(82) : see declaration of 'mba::detail::multi_array<T,N>::multi_array' .\mba/mba.hpp(88) : error C2061: syntax error : identifier 'index' .\mba/mba.hpp(96) : error C2061: syntax error : identifier 'index' .\mba/mba.hpp(100) : error C2061: syntax error : identifier 'index' .\mba/mba.hpp(120) : error C2143: syntax error : missing ';' before '<' .\mba/mba.hpp(120) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(120) : error C2238: unexpected token(s) preceding ';' .\mba/mba.hpp(123) : error C2061: syntax error : identifier 'index' .\mba/mba.hpp(134) : error C2061: syntax error : identifier 'index' .\mba/mba.hpp(146) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(186) : see reference to class template instantiation 'mba::detail::grid_iterator' being compiled .\mba/mba.hpp(146) : error C2143: syntax error : missing ',' before '<' .\mba/mba.hpp(147) : error C2059: syntax error : ',' .\mba/mba.hpp(147) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body .\mba/mba.hpp(149) : error C2059: syntax error : ',' .\mba/mba.hpp(149) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body .\mba/mba.hpp(157) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(157) : error C2143: syntax error : missing ';' before '<' .\mba/mba.hpp(157) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body .\mba/mba.hpp(183) : error C2143: syntax error : missing ';' before '<' .\mba/mba.hpp(183) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(183) : error C2238: unexpected token(s) preceding ';' .\mba/mba.hpp(193) : error C2061: syntax error : identifier 'declval' .\mba/mba.hpp(219) : see reference to class template instantiation 'mba::detail::transform_iterator<I,F>' being compiled .\mba/mba.hpp(193) : error C2059: syntax error : ')' .\mba/mba.hpp(193) : error C2146: syntax error : missing ')' before identifier 'value_type' .\mba/mba.hpp(193) : error C3646: 'value_type' : unknown override specifier .\mba/mba.hpp(193) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(194) : error C2143: syntax error : missing ';' before '' .\mba/mba.hpp(194) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(194) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(203) : error C2143: syntax error : missing ';' before '->' .\mba/mba.hpp(203) : warning C4042: 'mba::detail::transform_iterator<I,F>::operator ' : has bad storage class .\mba/mba.hpp(203) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(203) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body .\mba/mba.hpp(227) : error C2039: 'array' : is not a member of 'std' .\mba/mba.hpp(227) : error C2143: syntax error : missing ';' before '<' .\mba/mba.hpp(227) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(227) : error C2988: unrecognizable template declaration/definition .\mba/mba.hpp(227) : error C2059: syntax error : '<' .\mba/mba.hpp(227) : error C2039: 'array' : is not a member of 'std' .\mba/mba.hpp(227) : error C2039: 'array' : is not a member of 'std' .\mba/mba.hpp(233) : error C2039: 'array' : is not a member of 'std' .\mba/mba.hpp(233) : error C2039: 'array' : is not a member of 'std' .\mba/mba.hpp(233) : error C2143: syntax error : missing ';' before '{' .\mba/mba.hpp(233) : error C2447: '{' : missing function header (old-style formal list?) .\mba/mba.hpp(239) : error C2039: 'array' : is not a member of 'std' .\mba/mba.hpp(239) : error C2143: syntax error : missing ';' before '<' .\mba/mba.hpp(239) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(239) : error C2086: 'int mba::detail::array' : redefinition .\mba/mba.hpp(227) : see declaration of 'mba::detail::array' .\mba/mba.hpp(239) : error C2988: unrecognizable template declaration/definition .\mba/mba.hpp(239) : error C2059: syntax error : '<' .\mba/mba.hpp(239) : error C2039: 'array' : is not a member of 'std' .\mba/mba.hpp(245) : error C2143: syntax error : missing ';' before '{' .\mba/mba.hpp(245) : error C2447: '{' : missing function header (old-style formal list?) .\mba/mba.hpp(265) : error C2039: 'array' : is not a member of 'std' .\mba/mba.hpp(265) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(265) : error C2143: syntax error : missing ',' before '<' .\mba/mba.hpp(281) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(299) : see reference to class template instantiation 'mba::detail::control_lattice' being compiled .\mba/mba.hpp(281) : error C2143: syntax error : missing ',' before '<' .\mba/mba.hpp(304) : error C2061: syntax error : identifier 'function' .\mba/mba.hpp(316) : see reference to class template instantiation 'mba::detail::initial_approximation' being compiled .\mba/mba.hpp(304) : error C2059: syntax error : ')' .\mba/mba.hpp(304) : error C2143: syntax error : missing ')' before ':' .\mba/mba.hpp(307) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(307) : error C2143: syntax error : missing ',' before '<' .\mba/mba.hpp(315) : error C2143: syntax error : missing ';' before '<' .\mba/mba.hpp(315) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(315) : error C2238: unexpected token(s) preceding ';' .\mba/mba.hpp(322) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(498) : see reference to class template instantiation 'mba::detail::control_lattice_dense' being compiled .\mba/mba.hpp(322) : error C2143: syntax error : missing ',' before '<' .\mba/mba.hpp(420) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(420) : error C2143: syntax error : missing ',' before '<' .\mba/mba.hpp(494) : error C2143: syntax error : missing ';' before '<' .\mba/mba.hpp(494) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(494) : error C2238: unexpected token(s) preceding ';' .\mba/mba.hpp(495) : error C2143: syntax error : missing ';' before '<' .\mba/mba.hpp(495) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(495) : error C2238: unexpected token(s) preceding ';' .\mba/mba.hpp(504) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(625) : see reference to class template instantiation 'mba::detail::control_lattice_sparse' being compiled .\mba/mba.hpp(504) : error C2143: syntax error : missing ',' before '<' .\mba/mba.hpp(559) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(559) : error C2143: syntax error : missing ',' before '<' .\mba/mba.hpp(604) : error C2143: syntax error : missing ';' before '<' .\mba/mba.hpp(604) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(604) : error C2238: unexpected token(s) preceding ';' .\mba/mba.hpp(605) : error C2143: syntax error : missing ';' before '<' .\mba/mba.hpp(605) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(605) : error C2238: unexpected token(s) preceding ';' .\mba/mba.hpp(607) : error C2065: 'index' : undeclared identifier .\mba/mba.hpp(607) : error C2976: 'std::map' : too few template arguments thisUser\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Include\map(77) : see declaration of 'std::map' .\mba/mba.hpp(607) : error C2059: syntax error : ',' .\mba/mba.hpp(607) : error C2238: unexpected token(s) preceding ';' .\mba/mba.hpp(608) : error C2146: syntax error : missing ';' before identifier 'phi' .\mba/mba.hpp(608) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(608) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(610) : error C2143: syntax error : missing ';' before '<' .\mba/mba.hpp(610) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(610) : error C2238: unexpected token(s) preceding ';' .\mba/mba.hpp(612) : error C2065: 'index' : undeclared identifier .\mba/mba.hpp(612) : error C2976: 'std::pair' : too few template arguments thisUser\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Include\utility(38) : see declaration of 'std::pair' .\mba/mba.hpp(612) : error C2059: syntax error : ',' .\mba/mba.hpp(612) : error C2065: 'index' : undeclared identifier .\mba/mba.hpp(612) : error C2976: 'std::pair' : too few template arguments thisUser\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Include\utility(38) : see declaration of 'std::pair' .\mba/mba.hpp(612) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body .\mba/mba.hpp(616) : error C2061: syntax error : identifier 'two_doubles' .\mba/mba.hpp(621) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(621) : error C2143: syntax error : missing ',' before '<' .\mba/mba.hpp(702) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(712) : see reference to class template instantiation 'mba::linear_approximation' being compiled .\mba/mba.hpp(702) : error C2143: syntax error : missing ',' before '<' .\mba/mba.hpp(711) : error C2143: syntax error : missing ';' before '<' .\mba/mba.hpp(711) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(711) : error C2238: unexpected token(s) preceding ';' .\mba/mba.hpp(718) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(837) : see reference to class template instantiation 'mba::MBA' being compiled .\mba/mba.hpp(718) : error C2143: syntax error : missing ',' before '<' .\mba/mba.hpp(718) : error C2059: syntax error : ')' .\mba/mba.hpp(718) : error C2143: syntax error : missing ')' before '' .\mba/mba.hpp(733) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(733) : error C2143: syntax error : missing ',' before '<' .\mba/mba.hpp(733) : error C2059: syntax error : ')' .\mba/mba.hpp(733) : error C2143: syntax error : missing ')' before '' .\mba/mba.hpp(733) : error C2535: 'mba::MBA::MBA(const int)' : member function already defined or declared .\mba/mba.hpp(718) : see declaration of 'mba::MBA::MBA' .\mba/mba.hpp(747) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\mba/mba.hpp(747) : error C2143: syntax error : missing ',' before '<' .\mba/mba.hpp(774) : error C2065: 'shared_ptr' : undeclared identifier .\mba/mba.hpp(774) : error C2275: 'mba::MBA::lattice' : illegal use of this type as an expression .\mba/mba.hpp(774) : error C2974: 'std::list' : invalid template argument for '_Ty', type expected thisUser\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Include\list(95) : see declaration of 'std::list' .\mba/mba.hpp(774) : error C2059: syntax error : '>' .\mba/mba.hpp(774) : error C2238: unexpected token(s) preceding ';' .\mba/mba.hpp(774) : fatal error C1003: error count exceeds 100; stopping compilation error: command 'thisUser\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2

ddemidov commented 5 years ago

Looks like the compiler does not support C++11.