Comments (11)
From a fresh install of 19.04 I did the following.
- snap install of go
- sudo apt-get install npm
- sudo apt install pkg-config build-essential libgtk-3-dev libwebkit2gtk-4.0-dev
- set GOPATH and make sure go/bin was in my PATH
- go get github.com/wailsapp/wails/cmd/wails
- wails setup
- wails init
- cd my-project
- Build and run
from wails.
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.
Perhaps @intelwalk could help.
from wails.
Could you please try this:
GO111MODULE=on wails build
from wails.
already tried and output is Additional context
from wails.
@rluisr does this fix your issue?
from wails.
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.
@intelwalk any ideas? I will install 19.04 in a VM at the weekend and try it
from wails.
I've just tested this in an ubuntu:19.04 container and it worked fine.
from wails.
@rluisr if you have any updates, please let us know as I will likely close this due to inactivity. Thanks.
from wails.
Closed due to inactivity
from wails.
Related Issues (20)
- Audio files are not included in assets when running wail build HOT 1
- WebKit2-GTK4.1 support HOT 1
- Is it possible to add a system notification for Window with an application icon? HOT 2
- 我希望不同的窗口通过URL类似值为“/login”,"/main"这样的方式区分不同的页面路由地址。 HOT 4
- Unable to maximize/minimize window HOT 1
- Compilation failure for v3-alpha version HOT 1
- vue-ts template run failed HOT 2
- Data in window lost after resume from sleep mode. HOT 5
- Deep Links / Custom protocol association HOT 3
- The CPU usage abnormal while js call go func HOT 4
- Low framerate on my Wails App. Is it WebView? HOT 2
- wails build with -upx flag using pug and scss svelte-preprocessor results in invalid .exe HOT 1
- SQLite database cannot read data HOT 4
- Webview shows 404 error for files starting with an underscore even though they exist HOT 2
- Mac examples fail to build without additional framework added to linker HOT 1
- Issues with generating App.d.ts and model.ts files for structs that use generic types.
- Enable setting the app's activation policy in MacOS HOT 1
- Using bun as package manager to run "wails dev" will throw an error HOT 2
- [V3 Linux Bug] Tracking down Linux Dialog panics
- [V3 Bugs] Developing on two projects simultaneously, since their frontend URLs are fixed, will lead to accessing the wrong page HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wails.