chunying / gaminganywhere

GamingAnywhere: An Open Cloud Gaming System
http://www.gaminganywhere.org/
Other
844 stars 296 forks source link

error building on windows. According to site docs Step 3: running 'nmake /f NMakefile all' command in the 'ga' #51

Open asimniazi63 opened 7 years ago

asimniazi63 commented 7 years ago

output: encoder-video.cpp(178) : warning C4018: '<' : signed/unsigned mismatch encoder-video.cpp(181) : error C2668: 'std::to_string' : ambiguous call to overloaded function C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string(688): could be 'std::string std::to_string(long double)' C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string(680): or 'std::string std::to_string(_ULonglong)' C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string(672): or 'std::string std::to_string(_Longlong)' while trying to match the argument list '(int)' encoder-video.cpp(186) : error C2668: 'std::to_string' : ambiguous call to overloaded function C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string(688): could be 'std::string std::to_string(long double)' C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string(680): or 'std::string std::to_string(_ULonglong)' C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string(672): or 'std::string std::to_string(_Longlong)' while trying to match the argument list '(int)' NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.EXE"' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop.

SpartanWolf commented 7 years ago

I had the exact same issue, no resolve as of yet

incfour commented 6 years ago

encoder-video.cpp 181, 186 line convert "reconf" to "(_LONGLONG)reconf".