Discover Packages
github.com/wdevore/Dueron5
command
module
Version:
v0.0.0-...-073bf36
Opens a new window with list of versions in this module.
Published: Mar 22, 2019
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Usage
Install
Create 2GB Ramdisk for compilation.
sudo mkdir -p /media/RAMDisk
sudo mount -t tmpfs -o size=2048M tmpfs /media/RAMDisk/
Install VSCode and Go, Go outliner extensions
"workbench.colorTheme": "Solarized Light",
"editor.fontSize": 16,
"terminal.integrated.fontSize": 16,
"window.zoomLevel": 1,
"editor.fontFamily": "'monospace', 'Courier New', 'Droid Sans Mono', 'Droid Sans Fallback'"
Download Go and extract
mv go folder to /usr/local
add to .bashrc :
export PATH="$PATH:/usr/local/go/bin"
export GOTMPDIR="/media/RAMDisk"
export GOPATH="$HOME/Documents/Development/Go"
source .bashrc
For Linux:
Source Code
Install google cloud SDK
mkdir directory:
$HOME/Documents/Development/Go/src/github.com/wdevore
if you change the Go code to reference somewhere other than github.com then make sure you change the directory to. At the moment the code expects github.com to be in the import path.
Dependencies
sudo apt-get install libsdl2-dev
sudo apt-get install libsdl2-ttf-dev
add to .bashrc (optional if compile fails ):
export CGO_CFLAGS="-g -O2 -I/usr/include/SDL"
export CGO_LDFLAGS="-g -O2 -L/usr/lib/x86_64-linux-gnu"
go get -u "github.com/veandco/go-sdl2"
go get -u "github.com/emirpasic/gods"
go get -u "github.com/fogleman/gg"
go get -u "github.com/wcharczuk/go-chart"
go get -u github.com/derekparker/delve/cmd/dlv
Notes
Originally I had an issue with "RenderUTF8BlendedWrapped " because I had installed libsdl-tff2.0-dev instead of libsdl2-tff-dev so I had commented out the method in sdl_ttf.go .
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
simulation
Click to show internal directories.
Click to hide internal directories.