mkeeter / futureproof Goto Github PK
View Code? Open in Web Editor NEWA live editor for fragment shaders, powered by Neovim, WebGPU, and Zig!
Home Page: https://mattkeeter.com/projects/futureproof
A live editor for fragment shaders, powered by Neovim, WebGPU, and Zig!
Home Page: https://mattkeeter.com/projects/futureproof
Hi,
I'm trying to package futureproof for Arch Linux.
When I run make wgpu shaderc
I get the following error:
cd wgpu && install_name_tool -id "@executable_path/../../vendor/wgpu/libwgpu_native.dylib" libwgpu_native.dylib
/bin/sh: line 1: install_name_tool: command not found
I'm testing with this PKGBUILD
file:
pkgname=futureproof-git
pkgver=283.110948f
pkgrel=1
pkgdesc='Terminal emulator'
arch=(x86_64)
url='https://mattkeeter.com/projects/futureproof'
license=(MIT) # or Apache
conflicts=(futureproof)
depends=(freetype2 glfw)
makedepends=(git zig)
source=('git+https://github.com/mkeeter/futureproof')
sha256sums=(SKIP)
pkgver() {
cd futureproof
printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd futureproof/vendor
make wgpu shaderc
}
build() {
cd futureproof
ZIG_SYSTEM_LINKER_HACK=1 zig build
}
package() {
install -Dm755 futureproof/futureproof "$pkgdir/usr/bin/futureproof"
}
hi, very interesting project!
I followed the build instructions and tried to build the application, but I get the following error.
I am new to zig and could not solve this error. If you have time, could you please advise me on how to solve this problem?
bash-3.2$ zig build run
./src/blocking_queue.zig:15:32: error: expected 0 argument(s), found 1
std.ResetEvent.init(&event) catch |err| {
^
/Users/akiyosi/Downloads/zig-macos-x86_64-0.7.0/lib/zig/std/reset_event.zig:29:9: note: declared here
pub fn init() ResetEvent {
^
futureproof...The following command exited with error code 1:
/Users/akiyosi/Downloads/zig-macos-x86_64-0.7.0/zig build-exe /Users/akiyosi/futureproof/src/main.zig --library glfw --library freetype --library stdc++ --library wgpu_native --library sha
derc_combined --cache-dir /Users/akiyosi/futureproof/zig-cache --name futureproof -I /usr/local/Cellar/glfw/3.3.2/include -I /usr/local/opt/freetype/include/freetype2 -I /Users/akiyosi/fut
ureproof/vendor -I /Users/akiyosi/futureproof/vendor/shaderc/include -I /Users/akiyosi/futureproof -L /usr/local/Cellar/glfw/3.3.2/lib -L /usr/local/opt/freetype/lib -L vendor/wgpu -L vend
or/shaderc/lib -F /System/Library/Frameworks -framework Foundation -framework AppKit --enable-cache
error: the following build command failed with exit code 1:
/Users/akiyosi/futureproof/zig-cache/o/5ce898e9c91dbc52a759335f9ec80685/build /Users/akiyosi/Downloads/zig-macos-x86_64-0.7.0/zig /Users/akiyosi/futureproof /Users/akiyosi/futureproof/zig-
I have tried the following versions of zig, and the results are the same.
My environment is macOS 10.14.6
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.