Skip to content
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

build on raspberry pi/raspbian #2

Closed
sphaero opened this issue Dec 17, 2019 · 5 comments
Closed

build on raspberry pi/raspbian #2

sphaero opened this issue Dec 17, 2019 · 5 comments

Comments

@sphaero
Copy link

sphaero commented Dec 17, 2019

Just wanted to drop that it runs fine on a Raspberry Pi as long as you build it using cmake. The make-linux.sh scripts gives a binary which segfaults. Can't trace what's wrong with it, probably some compiler flag.

Tested on Raspbian GNU/Linux 10 (buster) on a RPI3B without Xorg.

mkdir build
cd build/
cmake ..
make

Tested with a mod file which ran smooth.

@alexmyczko
Copy link

alexmyczko commented Dec 18, 2019

@sphaero can you confirm the prebuilt debian package works? apt install protracker ?

(probably is since it's cmake built)

@sphaero
Copy link
Author

sphaero commented Dec 18, 2019

Ha, hadn't noticed there's a debian package. 🤦‍♂️ Tested it and it works fine as well. (tested without X)
IMG_20191218_121158

@8bitbubsy
Copy link
Owner

I don't know what would cause that, and I don't know what to do because modifying that make script to make it work for Raspberry Pi could break it for other systems/distros.

@alexmyczko
Copy link

how do you run it? i mean without x but with what instead?

@sphaero
Copy link
Author

sphaero commented Dec 18, 2019

I wouldn't worry about it. It works if you go the cmake route. I'm running it directly on the rpi from the console. SDL is able to open a window through what was once referred to as dispmanX. Not sure what's it's called now. It might be some calls coming from openGL ES.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants