-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any manual for compile this souce code? #4
Comments
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... Clone the repository blunted and gameplayfootball in blunted directory execute |
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:
If I type 'whereis libSGE' show this:
|
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? |
I can compile Blunted2 and Football on Ubuntu. |
What is the exact version of Ubuntu used? |
MinGW :)
Can you copy/paste the exact error? Do you have OpenGL support (to test, try for example to run TuxRacer)
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 |
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. INIT [FATAL ERROR !!! N00000 !!!] in [OpenGLRenderer3D::LoadShader]: Could not compile vertex program: simple |
I'm using Ubuntu in VirtualBox. |
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. SQLite version 3.7.3 What will be the problem? |
Eh, I have no idea to be honest! Are you compiling using mingw32? |
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()’: I tried adding #include <GL/glut.h> and similar header files, but none of them solved the problem. |
Someone has been able to compile it in windows to explain to me please |
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: 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 |
en html a que te refieres? mi wap +57 3137535772 |
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 |
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 |
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 |
To crosscompile for windows you need to use this: https://github.com/mxe/mxe |
But as the author said long time ago is better to use unreal or unity to create the game, and use his code for reference when you build the ai. Thanks to him you have a very good concept on how create a football game. Study it, study well c++ and the tons of tutorial you can find on youtube and if you have guts zou will be able to create something good |
could you compile it? I would like to know to keep trying or not and hopefully one day you will be encouraged to write the way you compiled it, if so, thank you very much, what a shame I am a junior programmer |
I cross compiled it on windows some time ago on my old laptop, it took me two weeks to be able to do so. Now I use linux and compile/run on it. I don't remember all the steps to crosscompile it, i remember i forked mxe to compile the libraries for windows and some cmake edits to do that. Being a junior programmer doesn't mean that you can't do something. Just try to overcome your limits or you never grow as developer. |
I have this error undefined reference to `sge_TextEditor :: check (SDL_Event *) ' |
Hi do you have compiled tool of animator of the Blunted engine? |
If you want to help work on the project write me at +57 3137535772
If you want to help work on the project write me at +57 3137535772 |
@gekinci @acoppola Were you able to solve these errors when running
I checked |
Hi @ming-soon! Several months ago I created a fork and made some changes (mostly updated the libraries and shaders), so the game can be compiled and run on Linux and Windows. Windows and MacOS are "work in progress", but I hope to return and finish porting next month or so. |
Hi @vi3itor ! I have packaged the game for Ubuntu and plan to publish it in my PPA (https://launchpad.net/~xtradeb/+archive/ubuntu/play). I had to make a few adjustments (dirty patches):
Some of these patches could be adjusted and merged upstream. I also noticed that the SQLite3 libs are duplicated in the source, at least one set of files could/should go. The game seems to work fine, but I'm facing two issues:
gameplayfootball-SegFaultLogs.txt Being this said, there are a few things I would like to discuss with you, could you please enable the issues on your fork to facilitate interaction? Thank you! |
Hey @jhonny-oliveira, I have opened issues and discussions - feel free to use them now. Thanks for the efforts to publish the game in the PPA! Please send a PR with your patches. On my side, I have been working on Google Research Football fork to compile and run the engine on Windows and have recently created a PR. Next, I plan to apply some of the changes (especially platform-specific statements in CMakeLists) to the GameplayFootball repository and merge Windows support into the master branch. I hope to work on it during the upcoming week. As for the SegFault: it looks like a multithreading issue (probably VM uses only a few cores and so protected from the error). I'll check if I can find the reason. The first guess would be to remove |
Thank you @vi3itor for the reply! |
This question is too old, but now I just read it 5 minute ago.
Yeah, this code can compile to run on the web browser, but need lots, lots, lots, ... of effort. First convert OpenGL functions to OpenGL ES functions, because web is use WebGL base on OpenGL ES, not OpenGL. Then compile all code with WebAssembly, then if some libraries or functions is can't compile, change it and compile again. Since this repository code still need clean and optimize performance first, port this game to web task can't be start soon |
Is there a manual to compile this code in a Ubuntu Mate 18.04 64 bits?
The text was updated successfully, but these errors were encountered: