rh12503 / triangula

Generate high-quality triangulated and polygonal art from images.
MIT License
3.85k stars 123 forks source link

How do I build from source? #12

Closed Milo123459 closed 3 years ago

Milo123459 commented 3 years ago

Hi, I cloned this repo and ran go build and got this error:

no Go files in C:\Users\milo5\Desktop\GitHub\triangula

Any ideas on how I can build from source?

My antivirus doesn't let me download the gui so I'm trying to self build it. Thanks!

ghost commented 3 years ago

I don't believe this repo has a main function, so if you want the gui, you'll need to run go build on https://github.com/RH12503/Triangula-GUI or for the cli, you need to run go build triangula/main.go on https://github.com/RH12503/Triangula-CLI.

I'm not sure what's up with the Virus Scanner though. I ran the latest 2 versions (Windows, Linux, and Mac) against Virus Total and it didn't have a problem. If you could list your virus scanner, that'd be helpful for the author to be able to investigate.

Milo123459 commented 3 years ago

Oh, thank you.

rh12503 commented 3 years ago

Thanks @alexis-evelyn! Is your issue resolved now @Milo123459?

jasikpark commented 3 years ago

I don't believe this repo has a main function, so if you want the gui, you'll need to run go build on https://github.com/RH12503/Triangula-GUI or for the cli, you need to run go build triangula/main.go on https://github.com/RH12503/Triangula-CLI.

I'm not sure what's up with the Virus Scanner though. I ran the latest 2 versions (Windows, Linux, and Mac) against Virus Total and it didn't have a problem. If you could list your virus scanner, that'd be helpful for the author to be able to investigate.

What does this repo contain exactly then?