Closed pinballpower closed 2 years ago
Doesn't compile without meson here:
=== Prepare build (meson/ninja via conan) ===
Using lockfile: '/home/xxx/pivid/build/conan-install/conan.lock'
Using cached profile from lockfile
conanfile.py (pivid/0.0): Calling build()
/bin/sh: 1: meson: not found
ERROR: conanfile.py (pivid/0.0): Error in build() method, line 50
meson.configure()
ConanException: Error 127 while executing meson "/home/xxx/pivid" "/home/xxx/pivid/build" --backend=ninja -Dprefix="/home/xxx/pivid/build/package" -Dlibdir="lib" -Dbindir="bin" -Dsbindir="bin" -Dlibexecdir="bin" -Dincludedir="include" -Ddefault_library="static" --buildtype=release
Traceback (most recent call last):
File "/home/xxx/pivid/./dev_setup.py", line 88, in
[edited]
I think I see what the problem might be. Stand by.
OK I just pushed a change that should let dev_setup.py
run successfully (without meson or ninja installed globally), give it a spin?
To build from the command line you'll need to make sure the direnv hook is installed in your shell, OR, run direnv exec . ninja -C build
but that's kind of clumsy.
I definitely don't have any direnv hook in my shell. If this is required, it should also be added to the install document
Yeah that was an oversight. Will do.
Doc updated: https://github.com/egnor/pivid/blob/main/doc/running.md
Sorry about the troubles and thanks for the reports!
I've added some information on how to compile it on Raspberry Pi OS Lite on a 2GB RAM model