Argus-Labs / starter-game-template

World Engine starter project
https://world.dev/quickstart
16 stars 7 forks source link

error! Running Development mode #53

Open ava-world opened 2 weeks ago

ava-world commented 2 weeks ago

after creatig a new game name, i attempted to run development mode and saw this error

runtime/cgo

_cgo_export.c:3:10: fatal error: stdlib.h: No such file or directory 3 | #include | ^~~~~~ compilation terminated. Error: Encountered an error with Cardinal: exit status 1

i am currently using an ubuntu 20.04 virtualserver. 2024-06-22 (1)

rmrt1n commented 1 week ago

looks like you need to install some c libs. try running:

sudo apt update
sudo apt install build-essential

also try updating the world cli if this issue persists.

smsunarto commented 1 week ago

Hey @ava-world, to add on Ryan's solution, updating to the latest version of starter-game-template (or updating the cardinal version in go.mod) should also fix this issue. We've removed the cgo dependencies