chunying / gaminganywhere

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

Using visual studio 10 #56

Open SpartanWolf opened 7 years ago

SpartanWolf commented 7 years ago

Using vs2010 download the git, follow build instructions

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.

this is the error im receiving. This build does not seem to work.

vinicentus commented 6 years ago

I get the same thing. When trying to compile with VS2010 GUI, I get 55 errors. Here they are:

Error 10 error C1083: Cannot open include file: 'd3dx9.h': No such file or directory c:\users\vince\documents\github\gaminganywhere\ga\server\event-driven\hook-common.h 26 1 ga-hook Error 56 error C1083: Cannot open include file: 'd3dx9.h': No such file or directory c:\users\vince\documents\github\gaminganywhere\ga\server\event-driven\hook-common.h 26 1 ga-hook Error 58 error C1083: Cannot open include file: 'd3dx9.h': No such file or directory c:\users\vince\documents\github\gaminganywhere\ga\server\event-driven\hook-common.h 26 1 ga-hook Error 8 error C1083: Cannot open include file: 'd3dx9tex.h': No such file or directory C:\Users\vince\Documents\GitHub\gaminganywhere\ga\module\vsource-desktop\ga-win32-d3d.cpp 25 1 vsource-desktop-d3d Error 4 error C1083: Cannot open include file: 'ffmpeg/rtsp.h': No such file or directory c:\users\vince\documents\github\gaminganywhere\ga\module\server-ffmpeg\rtspserver.h 33 1 server-ffmpeg Error 54 error C1083: Cannot open include file: 'ffmpeg/rtsp.h': No such file or directory c:\users\vince\documents\github\gaminganywhere\ga\module\server-ffmpeg\rtspserver.h 33 1 server-ffmpeg Error 1 error C2059: syntax error : '.' C:\Users\vince\Documents\GitHub\gaminganywhere\ga\server\event-driven\ctrl-sdl.cpp 1 1 ga-hook Error 2 error C2059: syntax error : '.' C:\Users\vince\Documents\GitHub\gaminganywhere\ga\server\event-driven\ga-hook-common.cpp 1 1 ga-hook Error 3 error C2059: syntax error : '.' C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ctrl-sdl.cpp 1 1 ga-client Error 9 error C2059: syntax error : '.' c:\users\vince\documents\github\gaminganywhere\ga\server\event-driven\ga-hook-common.h 1 1 ga-hook Error 11 error C2059: syntax error : '.' C:\Users\vince\Documents\GitHub\gaminganywhere\ga\server\event-driven\ga-hook-sdlaudio.cpp 1 1 ga-hook Error 12 error C2059: syntax error : '.' C:\Users\vince\Documents\GitHub\gaminganywhere\ga\server\event-driven\ga-hook-sdl.cpp 1 1 ga-hook Error 13 error C2059: syntax error : '.' C:\Users\vince\Documents\GitHub\gaminganywhere\ga\server\event-driven\ga-hook-sdl2audio.cpp 1 1 ga-hook Error 14 error C2059: syntax error : '.' C:\Users\vince\Documents\GitHub\gaminganywhere\ga\server\event-driven\ga-hook-sdl2.cpp 1 1 ga-hook Error 15 error C2059: syntax error : '.' C:\Users\vince\Documents\GitHub\gaminganywhere\ga\server\event-driven\ga-hook-gl.cpp 1 1 ga-hook Error 16 error C2059: syntax error : '.' c:\users\vince\documents\github\gaminganywhere\ga\client\ctrl-sdl.h 1 1 ga-client Error 55 error C2059: syntax error : '.' c:\users\vince\documents\github\gaminganywhere\ga\server\event-driven\ctrl-sdl.h 1 1 ga-hook Error 57 error C2059: syntax error : '.' c:\users\vince\documents\github\gaminganywhere\ga\server\event-driven\ga-hook-common.h 1 1 ga-hook Error 21 error C2065: 'm' : undeclared identifier C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 424 1 ga-client Error 22 error C2065: 'm' : undeclared identifier C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 450 1 ga-client Error 24 error C2065: 'm' : undeclared identifier C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 455 1 ga-client Error 27 error C2065: 'm' : undeclared identifier C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 474 1 ga-client Error 29 error C2065: 'm' : undeclared identifier C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 479 1 ga-client Error 32 error C2065: 'm' : undeclared identifier C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 494 1 ga-client Error 34 error C2065: 'm' : undeclared identifier C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 497 1 ga-client Error 37 error C2065: 'm' : undeclared identifier C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 504 1 ga-client Error 39 error C2065: 'm' : undeclared identifier C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 507 1 ga-client Error 42 error C2065: 'm' : undeclared identifier C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 514 1 ga-client Error 44 error C2065: 'm' : undeclared identifier C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 521 1 ga-client Error 47 error C2065: 'm' : undeclared identifier C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 527 1 ga-client Error 49 error C2065: 'm' : undeclared identifier C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 528 1 ga-client Error 25 error C2065: 'sdlmsg_keyboard_t' : undeclared identifier C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 455 1 ga-client Error 30 error C2065: 'sdlmsg_keyboard_t' : undeclared identifier C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 479 1 ga-client Error 35 error C2065: 'sdlmsg_mouse_t' : undeclared identifier C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 497 1 ga-client Error 40 error C2065: 'sdlmsg_mouse_t' : undeclared identifier C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 507 1 ga-client Error 45 error C2065: 'sdlmsg_mouse_t' : undeclared identifier C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 521 1 ga-client Error 50 error C2065: 'sdlmsg_mouse_t' : undeclared identifier C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 528 1 ga-client Error 19 error C2065: 'sdlmsg_t' : undeclared identifier C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 424 1 ga-client Error 52 error C2065: 'sdlmsg_t' : undeclared identifier C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 777 1 ga-client Error 26 error C2070: ''unknown-type'': illegal sizeof operand C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 455 1 ga-client Error 31 error C2070: ''unknown-type'': illegal sizeof operand C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 479 1 ga-client Error 36 error C2070: ''unknown-type'': illegal sizeof operand C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 497 1 ga-client Error 41 error C2070: ''unknown-type'': illegal sizeof operand C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 507 1 ga-client Error 46 error C2070: ''unknown-type'': illegal sizeof operand C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 521 1 ga-client Error 51 error C2070: ''unknown-type'': illegal sizeof operand C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 528 1 ga-client Error 53 error C2070: ''unknown-type'': illegal sizeof operand C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 777 1 ga-client Error 20 error C2146: syntax error : missing ';' before identifier 'm' C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 424 1 ga-client Error 6 error C2668: 'std::to_string' : ambiguous call to overloaded function C:\Users\vince\Documents\GitHub\gaminganywhere\ga\module\encoder-video\encoder-video.cpp 181 1 encoder-video Error 7 error C2668: 'std::to_string' : ambiguous call to overloaded function C:\Users\vince\Documents\GitHub\gaminganywhere\ga\module\encoder-video\encoder-video.cpp 186 1 encoder-video Error 23 error C3861: 'sdlmsg_keyboard': identifier not found C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 450 1 ga-client Error 28 error C3861: 'sdlmsg_keyboard': identifier not found C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 474 1 ga-client Error 33 error C3861: 'sdlmsg_mousekey': identifier not found C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 494 1 ga-client Error 38 error C3861: 'sdlmsg_mousekey': identifier not found C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 504 1 ga-client Error 43 error C3861: 'sdlmsg_mousemotion': identifier not found C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 514 1 ga-client Error 48 error C3861: 'sdlmsg_mousewheel': identifier not found C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 527 1 ga-client Warning 5 warning C4018: '<' : signed/unsigned mismatch C:\Users\vince\Documents\GitHub\gaminganywhere\ga\module\encoder-video\encoder-video.cpp 178 1 encoder-video Warning 17 warning C4244: 'return' : conversion from 'double' to 'int', possible loss of data C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 129 1 ga-client Warning 18 warning C4244: 'return' : conversion from 'double' to 'int', possible loss of data C:\Users\vince\Documents\GitHub\gaminganywhere\ga\client\ga-client.cpp 134 1 ga-client

geethanjalibalusu commented 6 years ago

hey hi can you please help me how to install gaminganywhere in server i am following this steps HOW TO BUILD on supported POSIX platforms (Linux and Mac OS X) Prerequisites:

Steps:

Edit the 'env-setup' script to ensure that GADEPS points to a correct directory. It should be an absolute path to gaminganywhere/deps.posix directory.
Merge environment variables from 'env-setup' by using '.' or 'source' command.
Build dependencies by running 'make' in the 'deps.src' directory.
Build GA by running 'make all' command in the 'ga' directory. 
Install GA by running 'make install' command in the 'ga' directory. All the generated files will be installed into 'bin' directory.
fjulia commented 6 years ago

hi @vinicentus this error has to be with git and symlinks. When you clone the project symlinks are replaced with files with link path in it. You sholud delete those files and add the correct symlinks.