Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error! Running Development mode #53

Open
ava-world opened this issue Jun 22, 2024 · 2 comments
Open

error! Running Development mode #53

ava-world opened this issue Jun 22, 2024 · 2 comments

Comments

@ava-world
Copy link

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 <stdlib.h>
| ^~~~~~~~~~
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
Copy link
Member

rmrt1n commented Jun 26, 2024

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants