Skip to content

Cannot find headers for ebitengine #4606

@symful

Description

@symful

Ebitengine Version

2.8.4

Operating System

  • Linux

Go Version (go version)

tinygo version 0.34.0 linux/amd64 (using go version go1.23.1 and LLVM version 18.1.2)

What steps will reproduce the problem?

  1. Clone the main repository of ebitengine
git clone https://github.com/hajimehoshi/ebiten/
  1. Open one of the examples folders
  2. Run tinygo run .
# github.com/hajimehoshi/ebiten/v2/internal/glfw
../../internal/glfw/glfw3native_unix.h:105:12: fatal: 'X11/Xlib.h' file not found
../../internal/glfw/native_linbsd.go:14:12: note: in file included from native_linbsd.go!cgo.c:7:

What is the expected result?

Able to use ebitengine within tinygo

What happens instead?

Cannot find the required headers for ebitengine

Anything else feel useful to add?

I wanted to do

go run github.com/hajimehoshi/ebiten/v2/examples/airship@latest

and tinygo just exits, unlike Go.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions