OpenPHT building on Ubuntu 18.04.4

Short version: I put together a compile script, source, and all patches for building OpenPHT 1.9 on Ubuntu 18.04.4 here: https://github.com/ddiepo/OpenPHT/tree/openpht-1.9-for-18.04.4

I recently re-installed a fresh copy of Ubuntu (18.04.4) on my media computer, and was dismayed when the previous steps I used to compile OpenPHT failed (previous steps, which I gathered from Build working OpenPHT 1.9.0 from source on Ubuntu Bionic (18.04 LTS)).

I knew it worked for me previously with an older 18.04 variant, so I had a high degree of confidence I could make it work. See the directions on the github page Readme. You could re-create this by taking the OpenPHT 1.9 source, the 3 patches, and the install script.

Of the patches, the first two were from other sources on github. I consolidated everything together to avoid problems if that other source disappears in the future. The last patch were the changes I needed to compile on a clean Kubuntu 18.04.4 system. Your mileage may vary.

1 Like

I have made some changes to some settings files in the github Kwiboo OpenPHT 1.9 - I am wanting now to get these into an Embedded S905W image so as to flash an SD card.

What are the steps? Can I compile and then integrate into the Veisen or other Embedded versions? The changes are to the cache value in advancedsettings.cpp (in xbmc/settings) - to increase the amount of cache and the readfactor. It is only one file I have changed

I am not an experienced c++ coder. Any help, greatly received. Anyone able to do it for me, message me and I can very gladly compensate for time!

I’ve updated to 20.04, and I’m working on another set of patches to keep openpht 1.9 working on Ubuntu 20.04. The script and patches can be found here:
https://github.com/ddiepo/OpenPHT/tree/openpht-1.9-for-20.04.1

The majority of the effort was patching for newer boost version that comes with 20.04. I have not yet tested this beyond a successful compile. See github page Readme if you want to use this. I’m providing this as-is, just for the community’s benefit.

@ddiepo_gmail_com Great work. I’m looking to build OpenPHT 1.8 or 1.9 for AMlogic (I need to modify some files before compilation to get 384KHz audio).
Do you know if your method will cross-compile for ARM?
Thanks.

I have no idea. All I’ve really done here is some minor patches to fix compilation errors and hope for the best.

I do know, my ubuntu 20.04 attempts completely failed, and I haven’t tried to get it to work. 18.04 still works great.

Sorry now I’m a bit confused. Do you mean cross-building works on 18 but not 20?

Or Linux x86/amd64 builds work on 18 and not 20? I thought your original post was recommending 20.

Thanks for any clarification.

I’ve never done work on cross compiling. Best of luck!

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.