Comments (23)
on Manjaro the package names are:
- sdl2
- sdl2_gfx
- libpng
- libvorbis
- libvpx
Debian and Ubuntu have the most retarded package names
from openbor.
So looking at this log the issues are with recent changes to the engine. Again ignore the "SDL2_framerate.h" as I recently tested and that was not showing up so maybe it is already fixed. The other errors I did see so looking at this log can you figure out why it is complaining ? or how we can fix it ?
Edit: its not displaying properly in my quote see the log posted last by corey bruce.
from openbor.
Can you confirm the sdl2 package name you installed ?
from openbor.
These are the required packages on debien: libsdl2-dev libsdl2-gfx-dev libpng-dev libvorbis-dev libvpx-dev
from openbor.
you need to install the dev packages but i can't find any for arch you can try to install haskell-sdl2 if that does not work you will have to build sdl2 from source.
from openbor.
The dev packages are the packages I have installed, like I said Ubuntu and Debian have a really bizarre way of naming packages. I already meet the requirements but the build script is looking for the wrong thing. You need to adjust the compiling script. do you have normal build commands? does this use make?
from openbor.
Hi, if you like you can use my retro gaming script to install openbor: https://github.com/V0rt3x667/ArchyPie-Setup.
If you don't want to use that then you can also sed the source code as follows to build openbor.
# Fix Locale Warning
sed -e "s|en_US.UTF-8|C|g" -i "${md_build}/engine/version.sh"
# Disable Abort On Warnings & Errors
sed -e "s|-Werror||g" -i "${md_build}/engine/Makefile"
from openbor.
To clarify, substitute ${md_build} with the folder containing the openbor source code.
from openbor.
Also run the scripts in this order:
./version.sh
./build.sh 4
from openbor.
Hey there sorry I didn't get back to you, I can give it a go but if the instructions/code could be updated to be compiled on more modern distros that would be great
from openbor.
Sorry I don't maintain OpenBOR so I can't change how the software is built and installed.
from openbor.
Might update this to automatically satisfy dependencies based on your package manager as i wanted to update it to automatically make a appimage anyway.
from openbor.
Sorry I don't maintain OpenBOR so I can't change how the software is built and installed.
Oh ok no problem 🙂
from openbor.
Might update this to automatically satisfy dependencies based on your package manager as i wanted to update it to automatically make a appimage anyway.
Are you a maintainer if this repo? Could we just get normal build commands document?
from openbor.
I have tried again with both using the makefile and the build.sh file and they have both sadly failed
make BUILD_LINUX=1 ✔
Compiling LINUX Port: openbor.c...
/bin/sh: line 1: /gcc: No such file or directory
make: *** [Makefile:721: openbor.o] Error 127
./build.sh 4 127 ✘
-------------------------------------------------------
OpenBOR v4.0 Build 7575 (commit hash 8064d0e) - https://www.ChronoCrash.com
All rights reserved.
See LICENSE and README within OpenBOR root for details.
Copyright (c) OpenBOR Team
-------------------------------------------------------
ls: cannot access '/home/corey/.local/bin': No such file or directory
-------------------------------------------------------
ERROR - Linux x86 Environment Failed
SDK Installed?
-------------------------------------------------------
-------------------------------------------------------
Linux x86 SDK (x86_64-pc-linux-gnu) Environment Loaded!
-------------------------------------------------------
Removing All LINUX Files...
Done!
Compiling LINUX Port: openbor.c...
Compiling LINUX Port: openborscript.c...
Compiling LINUX Port: sdl/joysticks.c...
Compiling LINUX Port: sdl/control.c...
Compiling LINUX Port: sdl/sblaster.c...
Compiling LINUX Port: sdl/timer.c...
Compiling LINUX Port: sdl/sdlport.c...
openbor.c: In function ‘display_ents’:
openbor.c:29446:26: error: the comparison will always evaluate as ‘true’ for the pointer operand in ‘anim->platform + (sizetype)((long unsigned int)e->animpos * 32)’ must not be NULL [-Werror=address]
29446 | if ( anim->platform[e->animpos] )
| ^~~~
openbor.c: At top level:
openbor.c:30052:9: error: conflicting types for ‘find_ent_here’ due to enum/integer mismatch; have ‘entity *(entity *, float, float, e_entity_type, int (*)(entity *, entity *))’ [-Werror=enum-int-mismatch]
30052 | entity *find_ent_here(entity *exclude, float x, float z, e_entity_type types, int (*test)(entity *, entity *))
| ^~~~~~~~~~~~~
In file included from openbor.c:15:
openbor.h:4565:9: note: previous declaration of ‘find_ent_here’ with type ‘entity *(entity *, float, float, int, int (*)(entity *, entity *))’
4565 | entity *find_ent_here(entity *exclude, float x, float z, int types, int (*test)(entity *, entity *));
| ^~~~~~~~~~~~~
openbor.c:30321:5: error: conflicting types for ‘set_blockpain’ due to enum/integer mismatch; have ‘int(entity *, e_attack_types, int)’ [-Werror=enum-int-mismatch]
30321 | int set_blockpain(entity *ent, e_attack_types attack_type, int reset)
| ^~~~~~~~~~~~~
openbor.h:4575:5: note: previous declaration of ‘set_blockpain’ with type ‘int(entity *, int, int)’
4575 | int set_blockpain(entity *iBlkpain, int type, int reset);
| ^~~~~~~~~~~~~
Compiling LINUX Port: sdl/video.c...
Compiling LINUX Port: sdl/videocommon.c...
sdl/video.c:16:10: fatal error: SDL2_framerate.h: No such file or directory
16 | #include "SDL2_framerate.h" // Kratus (01-2023) Added a FPS limit option in the video settings
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:721: sdl/video.o] Error 1
make: *** Waiting for unfinished jobs....
cc1: all warnings being treated as errors
make: *** [Makefile:720: openbor.o] Error 1
Removing All LINUX Files...
Done!
@DCurrent It would be better to have a cmake file to find the dependencies or tools you need to generate a proper makefile and build for Linux and all the architectures instead of making a script that would be a headache to support/update everything
from openbor.
@DCurrent ignoring "SDL2_framerate.h" if we can satisfy the other 5 errors/issues then we can support newer gcc versions ?
from openbor.
So long as A) it compiles in Windows environment without modifications and B) we're fixing errors and not suppressing/ignoring them I'm fine with it.
from openbor.
Yeah it defiantly needs to be improved
from openbor.
So looking at this log the issues are with recent changes to the engine. Again ignore the "SDL2_framerate.h" as I recently tested and that was not showing up so maybe it is already fixed. The other errors I did see so looking at this log can you figure out why it is complaining ? or how we can fix it ?
Edit: its not displaying properly in my quote see the log posted last by corey bruce.
did you want me to git pull and try again?
from openbor.
@coreybruce please join my discord https://discord.gg/P44baVdCHF I have made a channel for openbor linux.
from openbor.
@coreybruce please join my discord https://discord.gg/P44baVdCHF I have made a channel for openbor linux.
Ok but why do we need to be in Discord when we are already talking here?
from openbor.
Easier to collaborate or are you on the cronocrash forums ?
from openbor.
Easier to collaborate or are you on the cronocrash forums ?
Oh ok well I am already in the Discord server and in that channel
from openbor.
Related Issues (20)
- Sound effects keep popping and scratching on ppsspp and linux. HOT 20
- PSP build causes file access errors. Some games are just blank on PSP build. HOT 1
- Linux AMD64 Build fails on Gentoo Linux. HOT 20
- Linux Arm64 Build HOT 13
- Xbox One controller left dpad button not working HOT 1
- Bare Knuckes III Yesterday Once More Crashes in the last version
- Changing Cameratype by script HOT 4
- Annoying sound noises in many games even with BGM and sound effect set to ZERO. HOT 1
- Wrong wiki link HOT 1
- issues with Openbor 4.0 Build 7533 in wine running marvel-first-alliance-2 HOT 3
- New Debug Setting Option: Ingame Debug Log HOT 1
- Cutscenes x skipselect (cannot load players)
- gamecontroller support broken on embedded Linux (aarch64) HOT 2
- New Run Config field: run.speed.z HOT 1
- Appimage require fuse libfuse.so.2 but the lib is here... appimage can't be extracted... HOT 2
- Change config files to .ini instead of binary .cfg file HOT 12
- Options at pause menu HOT 1
- [Suggestions] Mouse + Autofire HOT 4
- attack.damage.type doesn't work properly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openbor.