Giter Club home page Giter Club logo

homebrew-openlase's Introduction

homebrew-openlase

Installation

Tested on Sierra (10.13)

  • Prepare homebrew

    $ curl -fsSk https://raw.github.com/mxcl/homebrew/go | ruby
    
  • Install recommended package(s) with brew

    $ brew install cmake
    $ brew install ffmpeg
    $ brew install qt
    $ brew install jack --build-from-source
    $ brew install qjackctl
    
  • Install openlase with brew

    $ brew tap edy555/openlase
    $ brew install openlase
    

OpenLASE commands are installed in /usr/local/bin

Run

Before run openlase command, launch qjackctl on terminal. Start one of following openlase commands. And then, connect ports with qjackctl.

  • openlase-simple
  • openlase-harp
  • openlase-scope
  • openlase-circlescope
  • openlase-playvid
  • openlase-qplayvid

Example

    $ openlase-simulator 
    $ openlase-simple
    $ qjackctl

Credit

[EOF]

homebrew-openlase's People

Contributors

edy555 avatar t-coil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

beardface t-coil

homebrew-openlase's Issues

How to enable USB sound card output?

When I run jack_slp I only get the system outputs, but can't access the USB ones.

Does anyone know how to enable them? Perhaps I have to pass some config flags to jack_server_control

$ jack_lsp
system:capture_1
system:capture_2
system:playback_1
system:playback_2

Can't build on Mac os 10.9.3

Hi Edy555,

I am trying to your use version of OpenLase for Mac, but failing to build it properly despite your very good instructions. This is what I get in the terminal in the last operation:

giulios-mbp-3:~ Giulio$ brew install openlase --HEAD
==> Cloning https://github.com/marcan/openlase.git
Cloning into '/Library/Caches/Homebrew/openlase--git'...
remote: Counting objects: 102, done.
remote: Compressing objects: 100% (96/96), done.
remote: Total 102 (delta 14), reused 56 (delta 3), pack-reused 0
Receiving objects: 100% (102/102), 3.33 MiB | 1.71 MiB/s, done.
Resolving deltas: 100% (14/14), done.
Checking connectivity... done.
==> Patching
patching file Modules/CMakeASM_YASMInformation.cmake
Hunk #1 succeeded at 1 with fuzz 2.
patching file examples/CMakeLists.txt
patching file libol/CMakeLists.txt
patching file libol/trace.c
patching file python/CMakeLists.txt
Hunk #1 FAILED at 1.
Hunk #2 succeeded at 22 (offset 1 line).
1 out of 2 hunks FAILED -- saving rejects to file python/CMakeLists.txt.rej
patching file tools/CMakeLists.txt
Hunk #1 FAILED at 18.
1 out of 1 hunk FAILED -- saving rejects to file tools/CMakeLists.txt.rej
patching file tools/playilda.c
patching file tools/qplayvid/CMakeLists.txt
patching file tools/simulator.c
Error: Applying DATA patch failed
giulios-mbp-3:~ Giulio$

Can you please help me out?
Thanks a lot

Cant install on osx 10.11.4

on clean osx install
I have installed the prerequisites using homebrew

$ brew install cmake
$ brew install ffmpeg
$ brew install qt
$ brew install jack --build-from-source

brew install openlase fails with the following output

Michaels-MacBook-Pro:openlase michaelterry$ brew install openlase
==> Installing openlase from edy555/openlase
==> Cloning https://github.com/edy555/openlase.git
Updating /Library/Caches/Homebrew/openlase--git
==> Checking out branch ffmpeg_deprecated
==> Patching
patching file Modules/CMakeASM_YASMInformation.cmake
patching file examples/CMakeLists.txt
patching file libol/CMakeLists.txt
patching file libol/trace.c
patching file python/CMakeLists.txt
patching file tools/CMakeLists.txt
patching file tools/playilda.c
patching file tools/qplayvid/CMakeLists.txt
patching file tools/simulator.c
==> cmake . -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEA
==> make
Last 15 lines from /Users/michaelterry/Library/Logs/Homebrew/openlase/02.make:
/usr/local/Library/ENV/4.3/clang -O3 -g -DNDEBUG -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/openlase-circlescope.dir/circlescope.c.o -o openlase-circlescope -L/tmp/openlase20160326-2446-1abc7ue/libol /usr/local/lib/libjack.dylib -lm -Wl,-rpath,/tmp/openlase20160326-2446-1abc7ue/libol
/tmp/openlase20160326-2446-1abc7ue/tools/playvid.c:136:16: error: no member named 'get_buffer' in 'struct AVCodecContext'
pACodecCtx->get_buffer(pACodecCtx, pAudioFrame);
~~~~~~~~~~ ^
1 error generated.
make[2]: *** [tools/CMakeFiles/openlase-playvid.dir/playvid.c.o] Error 1
make[1]: *** [tools/CMakeFiles/openlase-playvid.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 70%] Built target openlase-scope
[ 70%] Built target openlase-circlescope
[ 72%] Linking CXX executable output
cd /tmp/openlase20160326-2446-1abc7ue/output && /usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/output.dir/link.txt --verbose=1
/usr/local/Library/ENV/4.3/clang++ -DNDEBUG -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/output.dir/output.cpp.o CMakeFiles/output.dir/output_settings.cpp.o CMakeFiles/output.dir/moc_output_settings.cxx.o -o output -F/usr/local/Cellar/qt/4.8.7_2/lib /usr/local/lib/libjack.dylib -framework QtGui -framework QtCore
[ 72%] Built target output
make: *** [all] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/edy555/homebrew-openlase/issues

Can't build on OSX10.11

Hi.
I'm trying to build openlase on osx10.11 el capitan.
but
"brew install openlase --HEAD" is failed to some patching process.
below is log.


==> Installing openlase from edy555/homebrew-openlase
==> Cloning https://github.com/marcan/openlase.git
Updating /Library/Caches/Homebrew/openlase--git
==> Checking out branch master
==> Patching
patching file Modules/CMakeASM_YASMInformation.cmake
Hunk #1 succeeded at 1 with fuzz 2.
patching file examples/CMakeLists.txt
patching file libol/CMakeLists.txt
patching file libol/trace.c
patching file python/CMakeLists.txt
Hunk #1 FAILED at 1.
Hunk #2 succeeded at 22 (offset 1 line).
1 out of 2 hunks FAILED -- saving rejects to file python/CMakeLists.txt.rej
patching file tools/CMakeLists.txt
Hunk #1 FAILED at 18.
1 out of 1 hunk FAILED -- saving rejects to file tools/CMakeLists.txt.rej
patching file tools/playilda.c
patching file tools/qplayvid/CMakeLists.txt
patching file tools/simulator.c

Error: Failure while executing: /usr/bin/patch -g 0 -f -p1

and I tried to "brew install openlase" too.
below is log


==> Installing openlase from edy555/homebrew-openlase
==> Cloning https://github.com/edy555/openlase.git
Updating /Library/Caches/Homebrew/openlase--git
==> Checking out branch ffmpeg_deprecated
==> Patching
patching file Modules/CMakeASM_YASMInformation.cmake
patching file examples/CMakeLists.txt
patching file libol/CMakeLists.txt
patching file libol/trace.c
patching file python/CMakeLists.txt
patching file tools/CMakeLists.txt
patching file tools/playilda.c
patching file tools/qplayvid/CMakeLists.txt
patching file tools/simulator.c
==> cmake . -DCMAKE_C_FLAGS_RELEASE= -DCMAKE_CXX_FLAGS_RELEASE= -DCMAKE_INSTALL_
Last 15 lines from /Users/katsuwo/Library/Logs/Homebrew/openlase/01.cmake:
-- Found FFMPEG: /usr/local/lib/libavcodec.dylib;/usr/local/lib/libavformat.dylib;/usr/local/lib/libavutil.dylib;/usr/local/lib/libavdevice.dylib /usr/local/include
-- Checking for module 'libswscale'
-- Found libswscale, version 3.1.101
-- Found Swscale: /usr/local/lib/libswscale.dylib
-- Found OpenGL: /System/Library/Frameworks/OpenGL.framework
-- Found GLUT: /usr/X11R6/lib/libglut.dylib
-- Could NOT find ALSA (missing: ALSA_LIBRARY ALSA_INCLUDE_DIR)
-- Found Curses: /usr/lib/libcurses.dylib
CMake Error at libol/CMakeLists.txt:20 (check_include_files):
Unknown CMake command "check_include_files".

-- Configuring incomplete, errors occurred!

how can I fix it?

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.