How to compile this for Linux?
I tried make and got:
bme/datafile goattrk2.dat goattrk2.seq
make: bme/datafile: Command not found
makefile.common:46: recipe for target 'goattrk2.dat' failed
make: *** [goattrk2.dat] Error 127
you should be able to run make from the src directory. Keep in mind this is my fork of the project, and not the official goattracker source
How to use this repository to use your MIDI Keyboard in Goattracker 2
I was able to install it in Linux using the following steps:
-
If you trust me then use this zip file which contains all the binaries that I've got after compilation: http://www.mediafire.com/file/ftepq481zxepxj5/goattracker.zip
-
Make sure that you have the essential tools
sudo apt install build-essential g++
sudo yum groupinstall 'Development Tools'
- Install the jack development files
sudo apt install libjack0 libjack-dev
sudo yum install jack-audio-connection-kit-devel
- Clone this repository
git clone https://github.com/leafo/goattracker2.git
- Install SDL 1
sudo apt install libsdl1.2-dev
sudo yum install SDL* (probs to: https://stackoverflow.com/a/8102343)
- Compile dat2inc & datafile
cd goatracker2/src/bme && make
- Copy dat2inc and datafile to /usr/local/bin
sudo cp dat2inc datafile /usr/local/bin
- Create an empty linux directory (necessary for compilation)
mkdir ../../linux
- Compile in the src directory
cd ../src && make
- Install
sudo cp -a ../linux/. /usr/local/bin
Preparation for practical usage:
- Install the JACK Connection Toolkit Qt GUI and the JACK MIDI daemon for ALSA MIDI
Fedora: sudo yum install qjackctl a2jmidid
Ubuntu: sudo apt install qjackctl a2jmidid
-
Open
qjackctl, start it and then opena2jmidid -eand go to patchbay. -
Make your connections
-
Activate your plugboard (click on Activate - the button with the lightning)
Usage (this is what you'll always do when using goattrk2)
- Connect your MIDI Keyboard
- Start qjackctl:
qjackctl - Start a2jmidid:
a2jmidid -e - Start Goattracker:
goattrk2
If you have apt, you could have also just used apt-get install goattracker ;)
No, because I wanted to have MIDI support