GithubHelp home page GithubHelp logo

pd_helios's Introduction

pd_helios

Pure data external for the Helios Laser DAC

help-helios.pd

Version

0.1

note - it's not presently possible to have more than 1 helios object open.

Use

pd_helios currently builds on MacOS, tested on Mojave (OSX v10.14). It builds on Ubuntu 16.04 x64 but I haven't got it to work - using a VM, don't know if this is the issue. It should work on Microsoft Windows with the appropriate libusb library.

To build

Clone this repo and the source code to pure data

git clone [email protected]:timredfern/pd_helios.git
git clone https://github.com/pure-data/pure-data
cd pd_helios
make PDINCLUDEDIR=../pure-data/src/

(or wherever you cloned pure data)

To test the example patch:

pd help-helios.pd

(from wherever you have installed Pd. For the Purr-data distribution of Pd, I used this:)

/Applications/Pd-l2ork.app/Contents/MacOS/nwjs help-helios.pd 

Problems with old versions of MacOS (specifically EL Capitan)

Install libusb from Homebrew

First follow these instructions: https://brew.sh/

Then:

brew install libusb

Copyright

Except as otherwise noted, all files in the this distribution are

Copyright © 2019 Tim Redfern

For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see LICENSE included in this distribution. (Note that Helios SDK and libusb are copyrighted separately).

NOTE

Lasers are dangerous. Improper use of this software can damage your laser, or yourself. This software comes with NO WARRANTY, see above.

Acknowledgements

Thanks to NULL + VOID

pd_helios's People

Contributors

timredfern avatar

Stargazers

 avatar  avatar HK4ADJ avatar Thomas Blahnik avatar Max avatar Robert Muller avatar JesterN avatar  avatar Tim Greiser avatar Gitle Mikkelsen avatar uenala avatar

Watchers

James Cloos avatar  avatar JesterN avatar

Forkers

julesb

pd_helios's Issues

Compile error under linux: libusb-1.0.0.dylib: file not recognized: File format not recognized

Thanks for doing this, will be very useful!

g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
libusb-1.0-0-dev and libusb-1.0-0 installed
pure-data compiled from source (0.49-1)

~/pd_helios$ make PDINCLUDEDIR=../pure-data/src/
++++ info: using Makefile.pdlibbuilder version 0.5.1
++++ info: using Pd API ../pure-data/src//m_pd.h
++++ info: making target all in lib helios
++++ info: evaluating implicit prerequisites in lib helios.....
++++ info: linking objects in helios.pd_linux for lib helios
g++ -rdynamic -shared -fPIC -Wl,-rpath,"\$ORIGIN",--enable-new-dtags    -o helios.pd_linux src/sdk/HeliosDac.o src/pd_helios.o src/helios.o  -lc -lm -lstdc++ libusb-1.0.0.dylib   
libusb-1.0.0.dylib: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
src/pd-lib-builder//Makefile.pdlibbuilder:843: recipe for target 'helios.pd_linux' failed
make: *** [helios.pd_linux] Error 1

compile error on mac 10.15.6

just found this. looks amazing! trying to build on mac and running into the following:


ls: ../pure-data/src//m_pd.h: No such file or directory
++++ info: using Makefile.pdlibbuilder version 0.5.1
src/pd-lib-builder/Makefile.pdlibbuilder:759: Where is Pd API m_pd.h? Do 'make help' for info.
++++ info: making target all in lib helios
++++ info: evaluating implicit prerequisites in lib helios.....
src/helios.cpp:12:10: fatal error: 'm_pd.h' file not found
#include "m_pd.h"
         ^~~~~~~~
1 error generated.
src/pd-lib-builder/Makefile.pdlibbuilder:974: *** missing separator.  Stop.

any pointers? THANKS!!

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.