Giter VIP home page Giter VIP logo

Comments (11)

intelwalk-zz avatar intelwalk-zz commented on August 19, 2024 2

From a fresh install of 19.04 I did the following.

  1. snap install of go
  2. sudo apt-get install npm
  3. sudo apt install pkg-config build-essential libgtk-3-dev libwebkit2gtk-4.0-dev
  4. set GOPATH and make sure go/bin was in my PATH
  5. go get github.com/wailsapp/wails/cmd/wails
  6. wails setup
  7. wails init
  8. cd my-project
  9. Build and run

solution

from wails.

leaanthony avatar leaanthony commented on August 19, 2024

Thanks for this. 19.04 isn't currently supported but it's something we want. If you find the correct packages, we would welcome a PR! Thanks.

from wails.

leaanthony avatar leaanthony commented on August 19, 2024

Perhaps @intelwalk could help.

from wails.

leaanthony avatar leaanthony commented on August 19, 2024

Could you please try this:

GO111MODULE=on wails build

from wails.

rluisr avatar rluisr commented on August 19, 2024

already tried and output is Additional context

from wails.

leaanthony avatar leaanthony commented on August 19, 2024

@rluisr does this fix your issue?

from wails.

rluisr avatar rluisr commented on August 19, 2024

Thanks @intelwalk too.

I tried #84 (comment) but not resolved.
I can see gdk-3.0.pc but not found it in wails buid


luis@ubuntu ~/go/src/wailstest $ wails build                                                                                                                                                                                                                              [ruby-2.6.3p62]
Wails v0.13.3 - Building Application

✓ Skipped frontend dependencies (-f to force rebuild)
✓ Building frontend...
⣻ Ensuring Dependencies are up to date...# pkg-config --cflags  -- gtk+-3.0 webkit2gtk-4.0
Package wayland-protocols was not found in the pkg-config search path.
Perhaps you should add the directory containing `wayland-protocols.pc'
to the PKG_CONFIG_PATH environment variable
Package 'wayland-protocols', required by 'gdk-3.0', not found
pkg-config: exit status 1

✗ Ensuring Dependencies are up to date...
Error: exit status 2
luis@ubuntu ~/go/src/wailstest $ echo $PKG_CONFIG_PATH                                                                                                                                                                                                                    [ruby-2.6.3p62]
/usr/lib/x86_64-linux-gnu/pkgconfig
luis@ubuntu ~/go/src/wailstest $ ll $PKG_CONFIG_PATH | grep gdk                                                                                                                                                                                                           [ruby-2.6.3p62]
-rw-r--r--  1 root root  612  4月 11 19:18 gdk-3.0.pc
-rw-r--r--  1 root root  612  4月 11 19:18 gdk-broadway-3.0.pc
-rw-r--r--  1 root root  731  3月  4 23:31 gdk-pixbuf-2.0.pc
-rw-r--r--  1 root root  392  3月  4 23:31 gdk-pixbuf-xlib-2.0.pc
-rw-r--r--  1 root root  612  4月 11 19:18 gdk-wayland-3.0.pc
-rw-r--r--  1 root root  612  4月 11 19:18 gdk-x11-3.0.pc

@intelwalk Could you please show me echo $PKG_CONFIG_PATH and ll $PKG_CONFIG_PATH

from wails.

leaanthony avatar leaanthony commented on August 19, 2024

@intelwalk any ideas? I will install 19.04 in a VM at the weekend and try it

from wails.

leaanthony avatar leaanthony commented on August 19, 2024

I've just tested this in an ubuntu:19.04 container and it worked fine.

from wails.

leaanthony avatar leaanthony commented on August 19, 2024

@rluisr if you have any updates, please let us know as I will likely close this due to inactivity. Thanks.

from wails.

leaanthony avatar leaanthony commented on August 19, 2024

Closed due to inactivity

from wails.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.