Xnopyt / discord-bot-gui

A GUI for sending and reciving messages with a discord bot. Written by Xnopyt in Go, HTML, CSS and JS
GNU General Public License v3.0
18 stars 3 forks source link

cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in %PATH% #11

Closed Anga205 closed 2 years ago

Anga205 commented 2 years ago

got error "cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in %PATH%" when i tried to run "go run main.go" on windows

Xnopyt commented 2 years ago

This program will require gcc and make installed to compile. I think it also requires mingw on windows but it's been quite a while since I touched this project and I mostly develop on linux Personally I would suggest downloading the prebuilts from the releases tab or if you really want to try to build it from source to look into how to compile cgo apps on windows along with this projects makefile.