You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just wanted to try webview also, and followed the instructions on the main readme of this repo.
pre-requisite should be updated to libwebkit2gtk-4.1-dev.
This is the only one available on my Kubuntu 24.04.2 LTS (Noble Numbat)
After installing the pre-requisite, this is what i did and got:
$ deno run -Ar --unstable https://deno.land/x/webview/examples/local.ts⚠ The `--unstable` flag has been removed in Deno 2.0. Use granular `--unstable-*` flags instead.Learn more at: https://docs.deno.com/runtime/manual/tools/unstable_flagsWarning Implicitly using latest version (0.9.0) for https://deno.land/x/webview/examples/local.tserror: Relative import path "@denosaurs/plug" not prefixed with / or ./ or ../ at https://deno.land/x/[email protected]/src/ffi.ts:3:34
Then trying the git version:
$ git clone https://github.com/webview/webview_deno.gitCloning into 'webview_deno'...remote: Enumerating objects: 1379, done.remote: Counting objects: 100% (231/231), done.remote: Compressing objects: 100% (97/97), done.remote: Total 1379 (delta 154), reused 142 (delta 134), pack-reused 1148 (from 1)Receiving objects: 100% (1379/1379), 992.05 KiB | 2.91 MiB/s, done.Resolving deltas: 100% (728/728), done.
$ cd webview_deno/
$ git submodule update --init --recursiveSubmodule 'webview' (https://github.com/webview/webview.git) registered for path 'webview'Cloning into '/home/mainuser/git/webview_deno/webview'...Submodule path 'webview': checked out 'c5b19403382ef089f9933ea5331c76aa35414589'
$ deno task buildTask build deno run -A script/build.ts
> export PATH=/usr/lib/llvm14/bin/:/usr/lib/llvm-14/bin/:/usr/lib64/llvm15/bin/:$PATH
> cmake -G Ninja -B build -S . -D CMAKE_BUILD_TYPE=Release -D WEBVIEW_WEBKITGTK_API=6.0 -DWEBVIEW_ENABLE_CHECKS=false -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/host-llvm.cmake -DWEBVIEW_USE_CLANG_TIDY=OFF -DWEBVIEW_BUILD_DOCS=OFF -DWEBVIEW_USE_CLANG_FORMAT=OFFdax: cmake: command not founderror: Uncaught (in promise) Error: Exited with code: 127 throw new Error(`Exited with code: ${code}`); ^ at CommandChild.pipedStdoutBuffer (https://jsr.io/@david/dax/0.42.0/src/command.ts:785:19) at eventLoopTick (ext:core/01_core.js:178:7)
Then after installing cmake
$ deno task buildTask build deno run -A script/build.ts
> export PATH=/usr/lib/llvm14/bin/:/usr/lib/llvm-14/bin/:/usr/lib64/llvm15/bin/:$PATH
> cmake -G Ninja -B build -S . -D CMAKE_BUILD_TYPE=Release -D WEBVIEW_WEBKITGTK_API=6.0 -DWEBVIEW_ENABLE_CHECKS=false -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/host-llvm.cmake -DWEBVIEW_USE_CLANG_TIDY=OFF -DWEBVIEW_BUILD_DOCS=OFF -DWEBVIEW_USE_CLANG_FORMAT=OFFCMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.-- Configuring incomplete, errors occurred!error: Uncaught (in promise) Error: Exited with code: 1 throw new Error(`Exited with code: ${code}`); ^ at CommandChild.pipedStdoutBuffer (https://jsr.io/@david/dax/0.42.0/src/command.ts:785:19) at eventLoopTick (ext:core/01_core.js:178:7)
At this point i bail out of further fiddling... 🤷♀
Uh oh!
There was an error while loading. Please reload this page.
I just wanted to try webview also, and followed the instructions on the main readme of this repo.
libwebkit2gtk-4.1-dev
.This is the only one available on my Kubuntu 24.04.2 LTS (Noble Numbat)
After installing the pre-requisite, this is what i did and got:
Then trying the git version:
Then after installing
cmake
At this point i bail out of further fiddling... 🤷♀
Maybe related to #191 ?
The text was updated successfully, but these errors were encountered: