As stated, I want to compile add-on without compiling the image. It takes forever to compile on my not so powerful machine and then one error it all stops and I have to start again.
I just want to compile the add-on not the image.
Is it possible?
As stated, I want to compile add-on without compiling the image. It takes forever to compile on my not so powerful machine and then one error it all stops and I have to start again.
I just want to compile the add-on not the image.
Is it possible?
Thank You. It is the first thing I tried, I just thought that compiling an addon wouldn't take that long. In the terminal i see almost every other thing to do with libreelec except the addon that is meant to be compiled lol.
Does some part of the image need to be compiled as well for the addon, if you have never compiled anything before? (brand new vm ubuntu)
Addon handles everything it needs.
Thank you, I am struggling a little bit though, it says:
UNPACK tvheadend42
APPLY PATCH (common) packages/addons/service/tvheadend42/patches/tvheadend42-01-dvb-scan-path.patch
patching file src/input/mpegts/scanfile.c
Hunk #1 succeeded at 906 (offset 3 lines).
APPLY PATCH (common) packages/addons/service/tvheadend42/patches/tvheadend42-02-hdhomerun-includes.patch
patching file configure
Hunk #1 succeeded at 411 (offset 49 lines).
patching file src/input/mpegts/tvhdhomerun/tvhdhomerun_private.h
Hunk #1 FAILED at 24.
1 out of 1 hunk FAILED -- saving rejects to file src/input/mpegts/tvhdhomerun/tvhdhomerun_private.h.rej
So I deleted the file considering I don't even need Tvh with hdhomerun. But the compile later fails with error:
src/input/mpegts/tvhdhomerun/tvhdhomerun.c:20:10: fatal error: libhdhomerun/hdhomerun.h: No such file or directory
#include "libhdhomerun/hdhomerun.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:714: /home/fa/LibreELEC.tv/build.LibreELEC-WeTek_Play_2.arm-9.0-devel/tvheadend42-ceb82fc6961a725d7a77f5e8de1ffd4aefbde7e8/build.linux/src/input/mpegts/tvhdhomerun/tvhdhomerun.o] Error 1
make: *** Waiting for unfinished jobs....
src/input/mpegts/tvhdhomerun/tvhdhomerun_frontend.c:20:10: fatal error: libhdhomerun/hdhomerun.h: No such file or directory
#include "libhdhomerun/hdhomerun.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:714: /home/fa/LibreELEC.tv/build.LibreELEC-WeTek_Play_2.arm-9.0-devel/tvheadend42-ceb82fc6961a725d7a77f5e8de1ffd4aefbde7e8/build.linux/src/input/mpegts/tvhdhomerun/tvhdhomerun_frontend.o] Error 1
Display More
If I should create a new thread for this or post in nightlies thread, please let me know.
This should be fixed at latest master, i run into the same problem while updating tvheadend
Or do you try to update to tvh 4.3?
Hi i was trying to compile 4.3 master.
great! Thanks, it was the patch file. replaced it with yours and it worked first time. My first compiled addon. No need to install it since you've already made 1731 lol