primitive icon indicating copy to clipboard operation
primitive copied to clipboard

Install instructions no longer helpful

Open BattleRabbit opened this issue 3 years ago • 6 comments

go get -u github.com/fogleman/primitive no longer works and I'm getting "-u provided but not defined" error when using the new go install. Please help :)

BattleRabbit avatar Aug 17 '22 10:08 BattleRabbit

Nevermind, I just removed -u and successfully installed primitive. The install instructions should probably include that you have to add your own input.png in the C:/Users/USERNAME/go/bin/ directory for N00bs like me.

BattleRabbit avatar Aug 17 '22 10:08 BattleRabbit

Noob here also and I had the same trouble. Except in my case the installer didn't modify my PATH and I had to do it manually. Definitely room for improved install process for us noobs.

mark1bean avatar Nov 01 '22 22:11 mark1bean

Time:

June 2024

OS:

Linux Ubuntu 22.04.4

First:

go install github.com/fogleman/primitive@latest

After:

export PATH=$PATH:$(go env GOPATH)/bin

Then

primitive -i input.jpg -o output.svg -n 100

Also how to apply blur on generated SVG.

jasomdotnet avatar Jun 11 '24 10:06 jasomdotnet

can you by any chance provide the code to compile this using github actions? that would be really helpful

junguler avatar Jun 11 '24 11:06 junguler

can you by any chance provide the code to compile this using github actions? that would be really helpful

Too advanced request for me :D

jasomdotnet avatar Jun 11 '24 12:06 jasomdotnet

haha, it was worth a shot, i mean there is info on how to go about this online but i couldn't get it working every time i've tried

junguler avatar Jun 11 '24 18:06 junguler