I pulled down the code as per the Wiki instructions and opened up the project in Xcode, and on compiling I was greeted with a large number of errors pertaining to cdio.h - namely that it couldn’t find any of the other header files to include…
They exist in the project directory under ./xbmc/lib/libcdio, but cdio.h starts with directives;
#include <cdio/version.h>
And since 'version.h' is actually in the same directory, and we're not looking with "'s but rather <>'s, we don't find verison.h.
A quick 'sudo port install libcdio' remedied the problem, but if this is something that always needs doing, should it get added to the Wiki?
One last thing - the Xcode project includes a tag 'APPLICATION_VERSION' set to 0.5.18 - but I checked out v0.7.7 as my working branch in git, so is that something that's not been updated, or did I go horribly wrong with git someplace? [edit] Ignore this part - I found the 0.7.7 tag in the 'Target Info' page, rather than the project settings.
I may be an old hand at developing (in a variety of languages on WinXX & Unix) but Xcode, git and MacOS in general are new to me :)
Hey aaronjb, sorry, we’ve had a bit of a problem with libcdio, the best way to work around for the moment is just to create a symbolic link from libcdio to cdio in xbmc/lib. This will be fixed in the next version. Using the MacPorts one should be fine as well.
That 0.5.18 tag is old, if you double click on the Plex target you should see 0.7.7.
You must have been replying just as I was editing - yep, I just found the Target Info showing 0.7.7 - I was starting to think I’d gone horribly wrong with Git somewhere along the line for a while there…
On the cdio subject; it might be good to update the Wiki with that, as it’s likely to trip anyone up who’s trying to compile 0.7.x - I’m happy to do that, if you’re happy for me to be messing with the Wiki
Incidentally, after debugging through the scraper code for a while, I’ve found that I can’t repro the IMDB/tmDB scrape issue described here in the version built from my repo, only in the v0.7.7 that I downloaded. The latter uses ‘tmdb.xml’ when there’s an .nfo file present, while the Git checkout I have done of v0.7.7 uses ‘imdb.xml’… I found that most odd.
Perhaps I’ll catch some sleep and come back to it tomorrow morning, I’m probably missing something obvious at this stage (it’s 2am, after all :))