Giter Site home page Giter Site logo

Comments (2)

boomlinde avatar boomlinde commented on June 22, 2024

Hi Paul,
This follows a typical Go workflow. Assuming that you have go (1.4 or newer) installed:

  1. Set up the GOPATH environment variable to e.g. /home/username/devel/go
  2. Issue go get github.com/boomlinde/acidforth. This will download and build the package along with its Go dependencies into the GOPATH directory tree. Once built, the acidforth binary can be found in $GOPATH/bin

The project depends on two other Go packages, code.google.com/p/portaudio-go/portaudio and github.com/rakyll/portmidi. These require the portaudio and portmidi libraries and headers respectively as they will create C bindings with pkg-config portaudio-2.0 and -lportmidi. These libraries are not automatically downloaded. On the development system (OSX 10.10.5) I got these via the brew package manager.

Go is quite a hack when it comes to linking to external libraries, see https://golang.org/cmd/cgo/. Chances are that you will have to tweak the cgo magic comments to get them to build for a specific system.

I'll add this information to the README some time this week, but let me know if you need assistance with a particular operating system and I can give it a try in a VM. My next goal is to provide binaries for Windows.

from acidforth.

boomlinde avatar boomlinde commented on June 22, 2024

Build instructions added to the README in 21c8130

from acidforth.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.