Open jgarte opened 3 years ago
Jaylib comes bundled with it's own version of raylib by default. Looks likes perhaps a c compiler is not available to jpm?
Also could be a permission error, no idea how your jpm and Janet is set up.
Jaylib comes bundled with it's own version of raylib by default. Looks likes perhaps a c compiler is not available to jpm?
Yup, I didn't have gcc installed :)
Also could be a permission error, no idea how your jpm and Janet is set up.
I installed janet with xi on void-linux (not from inside a void-packages checkout).
These are the current errors I get after installing glfw-devel and janet-devel:
[jaylib]$ janet
Janet 1.16.1-meson linux/x64 - '(doc)' for help
repl:1:> (use jaylib)
@{_ @{:value <cycle 0>} audio-device-ready? @{:private true} audio-stream-playing? @{:private true} audio-stream-processed? @{:private true} begin-drawing @{:private true} begin-mode-2d @{:private true} begin-mode-3d @{:private true} begin-texture-mode @{:private true} camera-2d @{:private true} camera-3d @{:private true} check-collision-recs @{:private true} clear-background @{:private true} clear-dropped-files @{:private true} clear-window-state @{:private true} close-audio-device @{:private true} close-audio-stream @{:private true} close-window @{:private true} cursor-hidden? @{:private true} disable-cursor @{:private true} draw-circle @{:private true} draw-circle-3d @{:private true} draw-circle-gradient @{:private true} draw-circle-lines @{:private true} draw-circle-sector @{:private true} draw-circle-sector-lines @{:private true} draw-circle-v @{:private true} draw-cube @{:private true} draw-cube-texture @{:private true} draw-cube-v @{:private true} draw-cube-wires @{:private true} ...}
repl:2:> (init-window 100 100 "Test Game")
INFO: Initializing raylib 3.7
WARNING: GLFW: Error: 65542 Description: GLX: GLX extension not found
WARNING: GLFW: Failed to initialize Window
nil
I had also done the following before getting the above error:
git clone https://github.com/janet-lang/jaylib
cd jaylib
git submodule update --init --recursive
doas jpm build
doas jpm install
Hi, this might be a simple error.
Do you happen to know why it fails to build?
Any help or advice is greatly appreciated.
I installed raylib with nix package manager and janet with xbps on void linux.