acarrico / wayland-protocol Goto Github PK
View Code? Open in Web Editor NEWWayland display protocol in Racket
Wayland display protocol in Racket
$ racket generated/client-test.rkt
generated/wl_region-client.rkt:13:21: struct-out: identifier is not bound to struct type information
at: wl_region_listener
in: (struct-out wl_region_listener)
context...:
/nix/store/c0wfiilwwa7cnxfwbxvb75rpc6di2xk6-racket-6.6/share/racket/collects/racket/provide-transform.rkt:86:2: expand-export
/nix/store/c0wfiilwwa7cnxfwbxvb75rpc6di2xk6-racket-6.6/share/racket/collects/racket/private/reqprov.rkt:732:17: transform-simple
/nix/store/c0wfiilwwa7cnxfwbxvb75rpc6di2xk6-racket-6.6/share/racket/collects/racket/private/reqprov.rkt:728:2
standard-module-name-resolver
standard-module-name-resolver
standard-module-name-resolver
[nix-shell:~/src/git/wayland-protocol]$ raco pkg install opengl
...
raco setup: main collects: /nix/store/c0wfiilwwa7cnxfwbxvb75rpc6di2xk6-racket-6.6/share/racket/collects
raco setup: collects paths:
raco setup: /home/acarrico/.racket/6.6/collects
raco setup: /nix/store/c0wfiilwwa7cnxfwbxvb75rpc6di2xk6-racket-6.6/share/racket/collects
raco setup: main pkgs: /nix/store/c0wfiilwwa7cnxfwbxvb75rpc6di2xk6-racket-6.6/share/racket/pkgs
raco setup: pkgs paths:
raco setup: /nix/store/c0wfiilwwa7cnxfwbxvb75rpc6di2xk6-racket-6.6/share/racket/pkgs
raco setup: /home/acarrico/.racket/6.6/pkgs
raco setup: links files:
raco setup: /nix/store/c0wfiilwwa7cnxfwbxvb75rpc6di2xk6-racket-6.6/share/racket/links.rktd
raco setup: /home/acarrico/.racket/6.6/links.rktd
raco setup: main docs: /nix/store/c0wfiilwwa7cnxfwbxvb75rpc6di2xk6-racket-6.6/share/doc/racket
...
raco setup: docs failure: query-exec: unable to open the database file
error code: 14
SQL: "ATTACH $1 AS other"
database: #<path:/home/acarrico/.racket/6.6/doc/docindex.sqlite>
mode: 'read-only
file permissions: (write read)
raco setup: --- installing collections ---
raco setup: --- post-installing collections ---
.raco-wrapped pkg install: packages installed, although setup reported errors
$ racket
Welcome to Racket v6.6.
(require sgl)
ffi-lib: couldn't open "libGL.so.1" (libGL.so.1: cannot open shared object file: No such file or directory)
context...:
/nix/store/c0wfiilwwa7cnxfwbxvb75rpc6di2xk6-racket-6.6/share/racket/pkgs/sgl/gl.rkt: [running body]
/nix/store/c0wfiilwwa7cnxfwbxvb75rpc6di2xk6-racket-6.6/share/racket/pkgs/sgl/sgl.rkt: [traversing imports]
/nix/store/c0wfiilwwa7cnxfwbxvb75rpc6di2xk6-racket-6.6/share/racket/pkgs/sgl/main.rkt: [traversing imports]
$ racket generated/server-test.rkt
generated/wl_registry-server.rkt:57:3: wl_resource_post_event: unbound identifier in module
in: wl_resource_post_event
context...:
standard-module-name-resolver
Hi!
I'm trying to use your program, but following your instructions I got
the error:
"generated/wl_display-client.rkt:11:34:
cannot open module file
module path: #path:/home/alejandrozf/wayland-racket/examples/wayland-protocol/generated/wl_object-client.rkt
path: /home/alejandrozf/wayland-racket/examples/wayland-protocol/generated/wl_object-client.rkt
system error: No such file or directory; errno=2
context...:
standard-module-name-resolver
standard-module-name-resolver"
when I try to execute "test-client.rkt" after create files under "generated/" folder.
It seems that the file "wl_object-client.rkt" is not being generated by "gen-wayland-protocol.rkt"?
All the best
Alejandro
Add info.rkt, with run time source and generated source in a collection directory.
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.