vizlets

module
v0.0.0-...-075f868 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2020 License: MIT

README

vizlets

This repo contains a work-in-progress for a visual music instrument standard. Any questions, email [email protected]

Notes on bringing up a brand new PC for development with Go.

  • install git from https://gitforwindows.org

  • instal Go version 1.13 or later from https://golang.org/dl/

  • install visual studio code from https://code.visualstudio.com/download

  • install mingw64 using this installer:

      https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/mingw-w64-install.exe
    
      *** BE SURE TO USE THESE SETTINGS WHEN INSTALLING mingw64 ***
      Version: 8.1.0
      Architecture: x86_64
      Threads: posix
      Exception: sjlj
    
  • add this directory to your PATH (in System Properties): C:\Program Files\mingw-w64\x86_64-8.1.0-posix-sjlj-rt_v6-rev0\mingw64\bin

  • in Visual Studio Code, in the "extensions marketplace" section on the left side, type in "go" and install the Rich Go language support. Also, type in "@builtin git" and make sure the Git SCM Integration is enabled.

  • to compile the Spout library, run:

      cd internal/libspout
      .\makeall
    

    If successful, that will have produced a libspout.a file.

  • to compile all the viz programs, run:

      cd cmd
      .\buildviz
    

    If successful, that will have compiled these programs:

      vizapi.exe
      vizengine.exe
      vizgui.exe
      vizworld.exe
      vizcore.exe
      vizrun.exe
    
  • If you want to build and run the Spout demo programs, run:

      cd cmd
      ./buildspout
      spout-server/spout-server.exe
      spout-client/spout-client.exe
    

    You should see one window with a big spinning cube, and another window with that spinning cube, received from the first windows via Spout.

Directories

Path Synopsis
cmd
spout-client command
spout-server command
Package main Code generated by go-bindata.
Package main Code generated by go-bindata.
vizapi command
vizboot command
vizcore command
vizengine command
vizgui command
vizworld command
Package glhf provides abstractions around the basic OpenGL primitives and operations.
Package glhf provides abstractions around the basic OpenGL primitives and operations.
examples/demo command
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL