Is it possible for me to install/run this package? https://ktpanda.org/software/lab3d_sdl/
I understand a little about raspbian, so I can probably follow directions if someone could help.
Thanks,
I've followed guides to build specific programs, but I'm not sure about doing it with zero guidance. I know there can be dependencies and there seems to be somewhat different approaches to building things and I'm not really yet familiar with the ins and outs.HawaiianPi wrote: ↑Fri Jun 14, 2019 8:45 pmYou'd need to download the source and build it yourself.
Is there some kind of generic guide to building things on raspbian?
Code: Select all
tar xvf LAB3D-SDL-3.0-src.tar.gzIn my experience it's either simple or a journey through various 'circles of hell'.
Code: Select all
wget http://s3.jspenguin.org/LAB3D-SDL-3.0-src.tar.gz
tar -zxvf LAB3D-SDL-3.0-src.tar.gz
cd LAB3D-SDL-3.0
ls
Code: Select all
make
Code: Select all
fatal error: SDL_endian.h: No such file or directory
#include <SDL_endian.h>
hippy wrote: ↑Mon Jun 17, 2019 2:55 pmI would guess that needs SDL installing then "make" running again.Code: Select all
fatal error: SDL_endian.h: No such file or directory #include <SDL_endian.h>
Code: Select all
sudo apt-get install libsdl2-dev libsdl2-image-dev
I wouldn't (actually didn't) say stuck exactly. It's more of a general confusion over manual install and downloads for linux and raspbian. To elaborate, I have followed some guides, but there seems to be multiple methods for these things, and I don't yet know enough to understand where to start (much less troubleshoot).B.Goode wrote: ↑Mon Jun 17, 2019 2:35 pmIs there some kind of generic guide to building things on raspbian?
No.
Because there is no 'Rule' that defines how a developer must share their code.
And also No because there is very little different between building for Raspbian and any other Debian-based Linux system.
What does the developer of this specific program say that causes you to get 'stuck'?
Having said that:
Download, untar, configure, make, install is a very common model that many people adopt.
So in the absence of better guidance, download http://s3.jspenguin.org/LAB3D-SDL-3.0-src.tar.gz
Unpack the compressed tar archiveThen cd into the resulting directory structure and look around for files such as README or Install.txt that may contain further information.Code: Select all
tar xvf LAB3D-SDL-3.0-src.tar.gz
Or you could read the Installation information provided by the developer here: https://gitlab.com/ktpanda/lab3d-sdl/bl ... nstall.txt
Thanks for that. It now builds for me, I can use ./ken and get the setup screen, but things go pear-shaped after that.
Code: Select all
wget http://s3.jspenguin.org/LAB3D-SDL-3.0-src.tar.gz
tar -zxvf LAB3D-SDL-3.0-src.tar.gz
cd LAB3D-SDL-3.0
sudo apt-get install libsdl2-dev libsdl2-image-dev
make
./ken
Hahaha. Yes, I aware that I am venturing into the inner circles....hippy wrote: ↑Mon Jun 17, 2019 2:55 pmIn my experience it's either simple or a journey through various 'circles of hell'.
A lot depends on how well the installation process has been documented, whether for a Pi or something else, how easy it is to guess what might need to be done when that doesn't work, and that depends on one's own experience and knowledge.
The usual 'dive-in and try it' process is to download the source, unzip or untar it, go into its source directory and see what's there -There's a "README.txt" which is always worth looking in, and that says installation instructions are in 'install.txt'. A shame that doesn't actually exist.Code: Select all
wget http://s3.jspenguin.org/LAB3D-SDL-3.0-src.tar.gz tar -zxvf LAB3D-SDL-3.0-src.tar.gz cd LAB3D-SDL-3.0 ls
But there's a "Makefile" and that usually suggests running "make" -That almost worked, but failed for me with -Code: Select all
makeI would guess that needs SDL installing then "make" running again.Code: Select all
fatal error: SDL_endian.h: No such file or directory #include <SDL_endian.h>
But I have no idea on how to get SDL installed and how to make the file you need to exist to appear. And I bet you don't either.
I'd give that a whirl though because you may get further than I have.
Welcome to those circles of hell![]()
I can't try this out until later today, but you can see my previous post has some more info I found. Also, it might require some of the original files to run and you can find that here: http://www.advsys.net/ken/klab.htmhippy wrote: ↑Mon Jun 17, 2019 6:27 pmThanks for that. It now builds for me, I can use ./ken and get the setup screen, but things go pear-shaped after that.Code: Select all
wget http://s3.jspenguin.org/LAB3D-SDL-3.0-src.tar.gz tar -zxvf LAB3D-SDL-3.0-src.tar.gz cd LAB3D-SDL-3.0 sudo apt-get install libsdl2-dev libsdl2-image-dev make ./ken
Awesome. Did you have to put the original data files from Ken Silverman's site in the folder somewhere, or did it just run as compiled from the git?
I did not install anything, I just tried it and it worked on the second attempt.
Ok. Cool. Thanks again for you help.Ernst wrote: ↑Mon Jun 17, 2019 7:23 pmI did not install anything, I just tried it and it worked on the second attempt.
The first attempt was without GL and the Pi3B was reacting slow and hot.