Update README.md

This commit is contained in:
unkl nik 2023-11-17 09:35:46 +02:00 committed by GitHub
parent d9b04a8ac1
commit db9beddcc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,8 +49,7 @@ To remove console window, build with `-ldflags "-H=windowsgui"`.
###### purego (without cgo, i.e. CGO_ENABLED=0) ###### purego (without cgo, i.e. CGO_ENABLED=0)
Download the raylib.dll from the assets on the [releases page](https://github.com/raysan5/raylib/releases). It is contained in the `raylib-*_win64_msvc*.zip`. Download the raylib.dll from the assets on the [releases page](https://github.com/raysan5/raylib/releases). It is contained in the `raylib-*_win64_msvc*.zip`.
Put the raylib.dll into the root folder of your project or copy it into `C:\Windows\System32` for a system-wide installation. Put the raylib.dll into the root folder of your project or copy it into `C:\Windows\System32` for a system-wide installation and disable CGO in Go enviroment.
Disable CGO in Go enviroment
go env -w CGO_ENABLED=0 go env -w CGO_ENABLED=0