#using go-enet - import/go get issue

12 messages · Page 1 of 1 (latest)

subtle dagger
#

what does go env CGO_ENABLED print? if 0, do you have a working C compiler on your system? (if Windows, it must be cygwin/msys2, not MSVC)

#

like the README says:

Since this module uses cgo, you must also make sure you have a C compiler in your PATH.

fossil shore
#

its 0, i will install cygwin/msys2 then

subtle dagger
#

heavy suggestion towards msys2 🙂

#

(if you have decided you don’t want to go the WSL route)

fossil shore
#

sure

#

hm. installed, reloaded terminal, and gcc is not recognized

#

ah needed to add to path manually

#

nm same issue lol

#

will try cygwin next 🙃

#

i installed gcc-core and still dont have gcc.im going crazy 😥

#

ok correction, i dont have it in vs code terminal, but gitbash does have gcc