GameplayFootball
GameplayFootball copied to clipboard
Any manual for compile this souce code?
Is there a manual to compile this code in a Ubuntu Mate 18.04 64 bits?
I'm afraid not, as I don't have that installed. However, it should be mostly a case of 'install all the packages it whines about' :p
There is not a manual, but there is a set of cmake files so you can install all the dev packages (sdl, openal, boost libraries...) run it and be able to compile. The only thing that was trouble was to setup sge library but if u’re skilled or have the bad habit to try everything you can overcome this.
Yeah SGE is a troublemaker, I think there's no official package for that in most distro's. I hear that a lot :)
@acoppola can you help me to compile blunted engine and game??
I can try... You have to be on linux Ubuntu... then run these commands (I think the commands are there more or less I compiled long time ago).
Clone the repository blunted and gameplayfootball sudo apt-get install make sudo apt-get install gcc sudo apt-get install g++ sudo apt-get install freeglut3-dev sudo apt-get install libsdl1.2-dev sudo apt-get install libsdl-image1.2-dev sudo apt-get install libsdl-ttf2.0-dev sudo apt-get install libsdl-gfx1.2-dev sudo apt-get install libsdl-net1.2-dev #download libSGE git clone https://github.com/flibitijibibo/libSGE git checkout 3facdc9 sudo make install #boostdev sudo apt-get install libboost1.62-dev sudo apt-get install libboost1.62-all-dev sudo apt-get install libopenal-dev
in blunted directory execute cmake ./ make copy the libblunted2.a file generated in gameplayfootball directory and execute: cmake ./ make
It seems than I install libSGE and all the other libraries successfully in my system but when I type cmake ./ to compile blunted I get this error:
CMake Error at CMakeModules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE): Could NOT find SGE (missing: SGE_LIBRARY SGE_INCLUDE_DIR)
If I type 'whereis libSGE' show this:
libSGE: /usr/lib64/libSGE2.so /usr/lib64/libSGE2.a
so edit cmakelist to set the path of static lib SGE_LIBRARY (.a), and the includes of that lib ,in this way you can compile the project
How to compile in Windows 10 x64? What are the libs that use? Can I compile in Visual Studio or MinGW?
I can compile Blunted2 and Football on Ubuntu. Following the acoppola tutorial, but the game gives a Renderer error on start. Are not you missing more libs?
What is the exact version of Ubuntu used? Is it x86 or x64?
How to compile in Windows 10 x64? What are the libs that use? Can I compile in Visual Studio or MinGW?
MinGW :)
I can compile Blunted2 and Football on Ubuntu. Following the acoppola tutorial, but the game gives a Renderer error on start. Are not you missing more libs?
Can you copy/paste the exact error? Do you have OpenGL support (to test, try for example to run TuxRacer)
What is the exact version of Ubuntu used? Is it x86 or x64?
I used to build it in Debian, but not sure if that was 32- or 64 bits. Maybe they work both? No idea tbh :P
How to compile in Windows 10 x64? What are the libs that use? Can I compile in Visual Studio or MinGW?
You can crosscompile from ubuntu to have a win10 exe, it'll be a bit more difficult , but you can use one environment to get 2 linux and windows support.
I compile on 32 bit, in future i'll try to compile in 64 bit.
About render error, check your libs , or paste your errors here so i can check.
Btw I take this comment as a way to thank Bastian for his game, very very interesting. I learned a lot from this.
This error occurred while starting the game. Note: I imported football.config, databases folder and media folder from gameplayfootball_beta2v02_linux64.tar.gz
INIT [Notice] in [SystemManager::RegisterSystem]: Added system named 'GraphicsSystem' [Notice] in [SystemManager::RegisterSystem]: Added system named 'AudioSystem' [Notice] in [WorkerThread::operator()()]: Starting worker thread [Notice] in [WorkerThread::operator()()]: Starting worker thread [Notice] in [OpenGLRenderer3D::operator()()]: Starting OpenGLRenderer3D thread [Notice] in [WorkerThread::operator()()]: Starting worker thread [Notice] in [OpenGLRenderer3D::CreateContext]: Using OpenGL version 2.1 Mesa 18.0.5 [Notice] in [OpenGLRenderer3D::CreateContext]: OpenGL major/minor 0.0 [Warning] in [OpenGLRenderer3D::CreateContext]: OpenGL version not equal to or higher than 3.2 (or not reported as such) [Warning] in [::LoadGLShader]: shader compilation error (media/shaders/simple.vert) [Warning] in [::LoadGLShader]: shader compilation info (media/shaders/simple.vert): 0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES
[FATAL ERROR !!! N00000 !!!] in [OpenGLRenderer3D::LoadShader]: Could not compile vertex program: simple Segmentation fault (core dumped)
I'm using Ubuntu in VirtualBox. So this "GLSL 1.50 is not supported" error. Should it be caused by VirtuaBox limitation?
I'm using Ubuntu in VirtualBox. So this "GLSL 1.50 is not supported" error. Should it be caused by VirtuaBox limitation?
Yeah, Virtual Box environment is not good to play 3d games because is an emulated environment. Play it on a real Ubuntu installation on your HDD
I'm able to compile on Windows. But when I start Football.exe. Only this appears:
SQLite version 3.7.3 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite>
What will be the problem? It should not start with int main (int argc, const char ** argv)?
Eh, I have no idea to be honest! Are you compiling using mingw32? Get any errors/warnings during compilation?
I am following the manual to compile given here. Until make in Blunted2 repo, everything works fine but that fails. I get a long list of errors which starts with the following and they are all similar to that (the same .cpp file and 'glXXXX' was not declared in this scope.):
/home/gekinci/Blunted2/src/systems/graphics/rendering/opengl_renderer3d.cpp: In member function ‘virtual void blunted::OpenGLRenderer3D::Exit()’: /home/gekinci/Blunted2/src/systems/graphics/rendering/opengl_renderer3d.cpp:485:7: error: ‘glDeleteShader’ was not declared in this scope glDeleteShader((*shaderIter).second.vertexShaderID); ^~~~~~~~~~~~~~
I tried adding #include <GL/glut.h> and similar header files, but none of them solved the problem. Do you know how to fix this?
Someone has been able to compile it in windows to explain to me please
Puedo compilar en Windows. Pero cuando comienzo Football.exe. Solo esto aparece:
SQLite versión 3.7.3 Ingrese ".help" para obtener instrucciones Ingrese las instrucciones SQL terminadas con un ";" sqlite>
¿Cuál será el problema? ¿No debería comenzar con int main (int argc, const char ** argv)?
Puedo compilar en Windows. Pero cuando comienzo Football.exe. Solo esto aparece:
SQLite versión 3.7.3 Ingrese ".help" para obtener instrucciones Ingrese las instrucciones SQL terminadas con un ";" sqlite>
¿Cuál será el problema? ¿No debería comenzar con int main (int argc, const char ** argv)?
hola pedro me podrias decir como lo compilaste en windows yo ya lo pude compilar en linux pero necesito hacerlo en windows te agradezco que me ayudes
I can't compile properly with cmake. (windows10 64bit)
error: CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE): Could NOT find SDL (missing: SDL_LIBRARY) Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE) C:/Program Files/CMake/share/cmake-3.17/Modules/FindSDL.cmake:188 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:28 (FIND_PACKAGE)
i have no idea about it .
INSTALA MSYS2 PARA WINDOWS10
Who is can compile this game to html?
Please help i can pay for it
Por favor ayuda, puedo pagarlo
en html a que te refieres? mi wap +57 3137535772 llevo un mes tratando de compilarlo pero siempre me tira uno que otro error de libreria no se si alguno de los que lo a podido compilar pueda pasar un documento explicando como lo a hecho
No hay un manual, pero hay un conjunto de archivos cmake para que pueda instalar todos los paquetes de desarrollo (sdl, openal, impulsar bibliotecas ...) ejecutarlo y poder compilarlo. Lo único que fue un problema fue configurar la biblioteca sge, pero si eres hábil o tienes la mala costumbre de probar todo, puedes superar esto.
acoppola could you tell me how you compiled it for windows could you help me with a document where it is already explained and tried everything and it always throws me some error soon after I already have all the packages installed Thanks a lot
Who is can compile this game to html?
Is not possible... even html? Is not a unity / unreal project that can export to webgl
It is true in html games cannot be created since it is not a programming language
Who is can compile this game to html?
Is not possible... even html? Is not a unity / unreal project that can export to webgl
Could you help me compile the game with a manual or something specific every time I try, it has thrown errors at me and I have done it in several ways in Linux I compile myself but I want to compile it for windows which I have not achieved I would appreciate it if you could help me since I want to make some modifications to the game
No hay un manual, pero hay un conjunto de archivos cmake para que pueda instalar todos los paquetes de desarrollo (sdl, openal, impulsar bibliotecas ...) ejecutarlo y poder compilarlo. Lo único que fue un problema fue configurar la biblioteca sge, pero si eres hábil o tienes la mala costumbre de probar todo, puedes superar esto.
acoppola could you tell me how you compiled it for windows could you help me with a document where it is already explained and tried everything and it always throws me some error soon after I already have all the packages installed Thanks a lot
To crosscompile for windows you need to use this: https://github.com/mxe/mxe Is not easy to use, you need more try and error. Or you can use the google reasearch project forked from this to have an example , they even updated the libraries