-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgettingstarted.txt
More file actions
57 lines (37 loc) · 2 KB
/
gettingstarted.txt
File metadata and controls
57 lines (37 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Notes on bringing up a brand new PC for Spout 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.
- in Visual Studio Code, press shift-control-P to get the command palette,
then use "Git: Clone" to clone the following repos into a Documents/github/vizicist folder:
https://github.com/vizicist/gospout.git
and clone the following repo into Documents/Github/leadedge folder:
https://github.com/leadedge/Spout2.git
The directory tree under Documents at that point should look like:
github/leadedge/Spout2
github/vizicist/gospout
- in a Git bash shell, run:
cd $HOME/Documents/Github/vizicist/gospout
./makeall.sh
- At that point, it should have compiled these programs:
cmd/gospout-server/gospout-server.exe
cmd/gospout-client/gospout-client.exe
- From the windows file explorer (and NOT from a bash shell),
execute gospout-server.exe, and then gospout-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.
Any questions, email me@timthompson.com