Ikemen-GO icon indicating copy to clipboard operation
Ikemen-GO copied to clipboard

Building for Linux

Open formula1 opened this issue 3 years ago • 0 comments

Describe the bug

basically get an error when I try to use make Ikemen_GO_Linux

cd ./build && ./build.sh Linux
go: downloading github.com/flopp/go-findfont v0.1.0
go: downloading github.com/go-gl/mathgl v1.0.0
go: downloading github.com/fyne-io/gl-js v0.0.0-20220516203408-b35fbccb7063
go: downloading github.com/sqweek/dialog v0.0.0-20220504154117-be45b268883a
go: downloading golang.org/x/mobile v0.0.0-20211207041440-4e6c2922fdee
go: downloading github.com/ikemen-engine/glfont v0.0.0-20220323132206-8bdc165eee08
go: downloading github.com/fyne-io/glfw-js v0.0.0-20220504231515-a6fbf4331c1f
go: downloading github.com/yuin/gopher-lua v0.0.0-20220504180219-658193537a64
go: extracting github.com/yuin/gopher-lua v0.0.0-20220504180219-658193537a64
go: extracting github.com/flopp/go-findfont v0.1.0
go: extracting github.com/ikemen-engine/glfont v0.0.0-20220323132206-8bdc165eee08
go: downloading github.com/go-gl/gl v0.0.0-20211210172815-726fda9656d6
go: downloading golang.org/x/image v0.0.0-20190802002840-cff245a6509b
go: extracting github.com/sqweek/dialog v0.0.0-20220504154117-be45b268883a
go: extracting github.com/fyne-io/glfw-js v0.0.0-20220504231515-a6fbf4331c1f
go: downloading github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1
go: extracting github.com/fyne-io/gl-js v0.0.0-20220516203408-b35fbccb7063
go: extracting github.com/go-gl/mathgl v1.0.0
go: extracting golang.org/x/image v0.0.0-20190802002840-cff245a6509b
go: extracting golang.org/x/mobile v0.0.0-20211207041440-4e6c2922fdee
go: extracting github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1
go: downloading github.com/go-gl/glfw/v3.3/glfw v0.0.0-20211213063430-748e38ca8aec
go: extracting github.com/go-gl/gl v0.0.0-20211210172815-726fda9656d6
go: extracting github.com/go-gl/glfw/v3.3/glfw v0.0.0-20211213063430-748e38ca8aec
go: finding github.com/flopp/go-findfont v0.1.0
go: finding github.com/fyne-io/gl-js v0.0.0-20220516203408-b35fbccb7063
go: finding github.com/fyne-io/glfw-js v0.0.0-20220504231515-a6fbf4331c1f
go: finding github.com/ikemen-engine/glfont v0.0.0-20220323132206-8bdc165eee08
go: finding github.com/go-gl/mathgl v1.0.0
go: finding github.com/sqweek/dialog v0.0.0-20220504154117-be45b268883a
go: finding github.com/yuin/gopher-lua v0.0.0-20220504180219-658193537a64
go: finding golang.org/x/mobile v0.0.0-20211207041440-4e6c2922fdee
go: finding golang.org/x/image v0.0.0-20190802002840-cff245a6509b
go: finding github.com/go-gl/glfw/v3.3/glfw v0.0.0-20211213063430-748e38ca8aec
go: finding github.com/go-gl/gl v0.0.0-20211210172815-726fda9656d6
build github.com/ikemen-engine/Ikemen-GO/src: cannot load embed: malformed module path "embed": missing dot in first path element
make: *** [Makefile:37: Ikemen_GO_Linux] Error 1

To Reproduce

In terminal

  1. run git clone [email protected]:ikemen-engine/Ikemen-GO.git
  2. run cd Ikemen-GO/
  3. run sudo apt install golang-go git libgl1-mesa-dev xorg-dev
  4. run make Ikemen_GO_Linux

Expected behavior

It to build normally

Platform (please complete the following information):

lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.5 LTS
Release:	20.04
Codename:	focal

formula1 avatar Oct 13 '22 21:10 formula1