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

How to compile this for Linux? #1

Open
leonardoInf opened this issue Aug 5, 2017 · 4 comments
Open

How to compile this for Linux? #1

leonardoInf opened this issue Aug 5, 2017 · 4 comments

Comments

@leonardoInf
Copy link

leonardoInf commented Aug 5, 2017

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
@leonardoInf leonardoInf changed the title How do I compile this for Linux? How to compile this for Linux? Aug 5, 2017
@leafo
Copy link
Owner

leafo commented Aug 5, 2017

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

@leonardoInf
Copy link
Author

leonardoInf commented Aug 9, 2017

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:

  1. 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

  2. Make sure that you have the essential tools

sudo apt install build-essential g++
sudo yum groupinstall 'Development Tools'

  1. Install the jack development files

sudo apt install libjack0 libjack-dev
sudo yum install jack-audio-connection-kit-devel

  1. Clone this repository

git clone https://github.com/leafo/goattracker2.git

  1. Install SDL 1

sudo apt install libsdl1.2-dev
sudo yum install SDL* (probs to: https://stackoverflow.com/a/8102343)

  1. Compile dat2inc & datafile

cd goatracker2/src/bme && make

  1. Copy dat2inc and datafile to /usr/local/bin

sudo cp dat2inc datafile /usr/local/bin

  1. Create an empty linux directory (necessary for compilation)

mkdir ../../linux

  1. Compile in the src directory

cd ../src && make

  1. Install

sudo cp -a ../linux/. /usr/local/bin

Preparation for practical usage:

  1. 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

  1. Open qjackctl, start it and then open a2jmidid -e and go to patchbay.

  2. Make your connections

  3. Activate your plugboard (click on Activate - the button with the lightning)

Usage (this is what you'll always do when using goattrk2)

  1. Connect your MIDI Keyboard
  2. Start qjackctl: qjackctl
  3. Start a2jmidid: a2jmidid -e
  4. Start Goattracker: goattrk2

@alexmyczko
Copy link

alexmyczko commented Nov 15, 2017

If you have apt, you could have also just used apt-get install goattracker ;)

@leonardoInf
Copy link
Author

No, because I wanted to have MIDI support

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