janet-lang / janet-lang/jaylib
Error building git repository dependency
- Dominant language
- C
- Stars
- 193
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
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.
```
doas jpm install https://github.com/janet-lang/jaylib.git
From https://github.com/janet-lang/jaylib
* branch master -> FETCH_HEAD
Already up to date.
no dependencies found
compiling src/main.c to build/src___main.o...
Error building git repository dependency: ( "cc"
"-c"
"src/main.c"
"-D_POSIX_C_SOURCE=200809L"
"-DPLATFORM_DESKTOP"
"-std=c99"
"-Wall"
"-Wextra"
"-Iraylib/src"
"-I/usr/include/janet"
"-I/usr/lib64/janet"
"-O2"
"-fPIC"
"-o"
"build/src___main.o"): No such file or directory
error: ( "cc"
"-c"
"src/main.c"
"-D_POSIX_C_SOURCE=200809L"
"-DPLATFORM_DESKTOP"
"-std=c99"
"-Wall"
"-Wextra"
"-Iraylib/src"
"-I/usr/include/janet"
"-I/usr/lib64/janet"
"-O2"
"-fPIC"
"-o"
"build/src___main.o"): No such file or directory
in os/execute
in shell [/bin/jpm] (tailcall) on line 154, column 3
in do-rule [/bin/jpm] on line 273, column 26
in do-rule [/bin/jpm] on line 269, column 44
in do-rule [/bin/jpm] on line 269, column 44
in [/bin/jpm] on line 864, column 7
in [/bin/jpm] on line 850, column 5
in install-git [/bin/jpm] on line 866, column 71
in install [/bin/jpm] (tailcall) on line 1308, column 20
in _thunk [/bin/jpm] on line -1, column -1
in cli-main [boot.janet] on line 3559, column 39
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing `doas jpm install https://github.com/janet-lang/jaylib.git` and inspect the reported compile command for `src/main.c`. Check the compiler and include paths used by the build, then confirm the repository can build successfully with the installed raylib and Janet setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100