Help Me compiling minetest
I was trying to compile and whenever I try this error appears
I use windows x64, can someone help me?
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
1>------ Build started: Project: ZERO_CHECK, Configuration: Release Win32 ------
2>------ Build started: Project: GenerateVersion, Configuration: Release Win32 ------
3>------ Build started: Project: translations, Configuration: Release Win32 ------
3> mo update
4>------ Build started: Project: minetest, Configuration: Release Win32 ------
4> nodetimer.cpp
4>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\utility(111): error C2668: 'std::swap' : ambiguous call to overloaded function
4> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\utility(100): could be 'void std::swap<_Ty>(_Ty &,_Ty &)'
4> with
4> [
4> _Ty=std::less<v3s16>
4> ]
4> c:\users\censured*\desktop\irrlicht-1.7.1\include\irrMath.h(166): or 'void irr::core::swap<_Ty>(T &,T &)' [found using argument-dependent lookup]
4> with
4> [
4> _Ty=std::less<v3s16>,
4> T=std::less<v3s16>
4> ]
4> while trying to match the argument list '(std::less<_Ty>, std::less<_Ty>)'
4> with
4> [
4> _Ty=v3s16
4> ]
4> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xtree(746) : see reference to function template instantiation 'void std::_Swap_adl<_Pr>(_Ty &,_Ty &)' being compiled
4> with
4> [
4> _Pr=std::less<v3s16>,
4> _Ty=std::less<v3s16>
4> ]
4> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xtree(737) : while compiling class template member function 'void std::_Tree<_Traits>::_Assign_rv(std::_Tree<_Traits> &&)'
4> with
4> [
4> _Traits=std::_Tmap_traits<v3s16,NodeTimer,std::less<v3s16>,std::allocator<std::pair<const v3s16,NodeTimer>>,false>
4> ]
4> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\map(81) : see reference to class template instantiation 'std::_Tree<_Traits>' being compiled
4> with
4> [
4> _Traits=std::_Tmap_traits<v3s16,NodeTimer,std::less<v3s16>,std::allocator<std::pair<const v3s16,NodeTimer>>,false>
4> ]
4> c:\users\censured*\desktop\mitst\src\nodetimer.h(87) : see reference to class template instantiation 'std::map<_Kty,_Ty>' being compiled
4> with
4> [
4> _Kty=v3s16,
4> _Ty=NodeTimer
4> ]
5>------ Build started: Project: ALL_BUILD, Configuration: Release Win32 ------
5> Build all projects
========== Build: 4 succeeded, 1 failed, 3 up-to-date, 0 skipped ==========
I use windows x64, can someone help me?