RasPlex / OpenPHT

OpenPHT is a community driven fork of Plex Home Theater
Other
596 stars 110 forks source link

Errors building OpenPHT on MacOS Sierra #247

Open renaudholcombe opened 7 years ago

renaudholcombe commented 7 years ago

Howdy, I've been working on getting OpenPHT building locally (latest from GitHub) (I'm trying to troubleshoot an issue with 'Shared Content' not showing up in the home screen), but I've been running into a pretty extensive series of problems: Dependencies missing based on default settings (mysql_client, samba, etc.). Broken versions of some dependencies (libssh required a new version in order to properly build) A variety of other odds and ends with some configure and Makefile hacking. At this point, I've been able to build the xbmc dependencies and run "make -C tools/darwin/depends/xbmc", but I'm getting stuck on running "make Xcode_depends". It's erroring out when trying to compile xbmc/guilib/GUIListItem.h with an error of:

error: no viable conversion from returned value of type 'const PropertyMap' (aka 'const map<CStdStr, CVariant, CGUIListItem::icompare>') to function return type 'const PropertyMap' (aka 'const unordered_map<CStdStr, CVariant>') const PropertyMap& GetAllProperties() const { return m_mapProperties; }

Any ideas on how to troubleshoot this further?

Kiran-B commented 5 years ago

I was trying to build it on macOS Mojave with Xcode 10. I had to perform certain changes which I am not sure is correct. Nevertheless, was able to get it build.

I have published the build instructions here: https://github.com/Kiran-B/OpenPHT/blob/openpht-1.9/README-BUILD-OpenPHT-macOS.md Refer to last few commits in my repo that were primarily done to get it compiled on a Mac.

Pre-built binary (macOS 64-bit): https://github.com/Kiran-B/OpenPHT/releases/tag/v1.9.0.0-d5c3a6090