Comments (4)
Thanks for reporting.
I don't have an M1 to test on, unfortunately.
Does it work with the latest version of the Go compiler, version 1.18?
from png2svg.
I'm on an M1 and I just installed go
using brew
When I run go install github.com/xyproto/png2svg/cmd/png2svg@latest
I get
go: downloading github.com/xyproto/png2svg v1.5.2
go: downloading github.com/xyproto/tinysvg v1.0.1
Is it supposed to say more than this? It doesn't seem to have installed it. It's certainly not in my path and I can't run it. Maybe I need to add go to my path first?
from png2svg.
Got it to work.. it was just a path issue. Here are the full steps I did
mkdir -p $HOME/go/{bin,src,pkg}
# add the following 3 lines to your .bashrc / .zshrc
export GOPATH=$HOME/go
export GOROOT="$(brew --prefix golang)/libexec"
export PATH="$PATH:${GOPATH}/bin:${GOROOT}/bin"
# install go
brew install golang
#install png2svg
go install github.com/xyproto/png2svg/cmd/png2svg@latest
Open a new tab, or source your .bashrc/.zshrc
Then png2svg will work
from png2svg.
Thanks for testing.
Yes, it's part of the setup of the Go compiler on macOS/Homebrew. On Linux, none of the above is needed.
Oh, and GOPATH
is ~/go
by default, so there should be no need to set it to $HOME/go
.
I'll consider adding a note about macOS/Homebrew to the README, even though it's not specific to this project.
I'm glad it's working on M1!
from png2svg.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from png2svg.