General query about compiling (1 Viewer)

vvulture

MP Donator
  • Premium Supporter
  • June 3, 2006
    483
    8
    52
    Sydney
    Home Country
    Australia Australia
    Hey guys,
    I wanna start compiling MP myself using latest SVN, but i have no idea what to do.
    Is there a guide somewhere which is up to date ?
    I have looked at Compiling - MediaPortal Wiki but it seems out of date .

    Otherwise, is there somewhere i can download an already compiled SVN release ?

    Thx.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,227
    Home Country
    New Zealand New Zealand
    Hi

    What makes you think that the wiki is out of date? It looks pretty correct to me, except that I think we may have moved to .NET 3.5 recently.
    If you've read the development section of the wiki and still don't have a clue then perhaps compiling the latest versions is not for you. If you use the recommended tools then it really is as simple as checking out the code, opening VS, and then rebuilding...
     

    vvulture

    MP Donator
  • Premium Supporter
  • June 3, 2006
    483
    8
    52
    Sydney
    Home Country
    Australia Australia
    Thx for the reply... Believe me i wish i didn't have to compile, but it is the only choice we have now in order to use / test the latest SVN's.
    In the past i use to download them as they were provided by the dev team, but now we have to do it ourselves.

    I just wish there was a "Compiling for dummies" section...

    I can't even get TortoiseSVN to download without errors so what chance to i have. It starts downloading ok, but after a while it stops and spits out errors ( which i should've written down - granted )... and it's so sloooooooow.

    thx anyway... :)

    ****EDIT ****

    Here are the errors from TortoiseSVN :

    Error Report of '/svn/public/!svn/vcc/default' : Could not read response body: Secure
    Error connection truncated (https://sources.team-mediaportal.com)

    The operation failed.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,227
    Home Country
    New Zealand New Zealand
    Ah, okay. Two things...

    1. Compiling isn't really for dummies, and providing daily SVN snapshots is a fair amount of work. Not only that - it increases the number of versions that we get bug reports for, which can be really difficult to manage. If you want the latest SVN features then you shouldn't have to wait too long - 1.2.0b is on its way...
    2. I encounter those SVN errors too. They seem to happen periodically after the checkout has been going for a long time. Just start the checkout over again - it will pick up where the last attempt failed. :)
     

    Jay_UK

    Test Group
  • Team MediaPortal
  • October 6, 2009
    1,781
    283
    Derby
    Home Country
    United Kingdom United Kingdom
    Hi there,

    I think most people get issues when using Tortoise and pulling from the MP SVN - just keep trying to checkup/update.

    As for running the latest SVN builds - I assume you want this to use as your live version, be warned changes in the MePo SVN mean some plugins wont work (albeit infrequently). At the moment the current release of TVSeries wont work against the latest MePo SVN (I'm sure there are others), which means one of several things: you may have to recompile the plugin too (if it hasn't been released and the base code has been updated - if required), or wait for the plugin Dev to update everything.

    Getting yourself setup to do the SVN builds should be straight forward, the Wiki is up to date and clear on the main steps.

    Let me know if you need any help....

    J
     

    Mew

    Portal Pro
    January 11, 2007
    356
    111
    53
    Hertfordshire
    Home Country
    England England
    Hi

    I would like to add that I followed the instructions in the Wiki to complie and create an installer, and after a few false starts managed to get MediaPortal and TV Server to compile. It does take a while to download and install all the pre-requisites (like the SDKs).

    One issue I got caught out on was that it looks like the scripts in NSIS expect Tortoise SVN to be installed in the default location. I had changed this when I installed this so the build failed (the build logs indicated where the issue lay). I had to uninstall Tortoise SVN and reinstall it and then all was OK.

    I have had the same issues as detailed about downloading the SVN and as mentioned, several retries seems to sort it out.

    Mew
     

    vvulture

    MP Donator
  • Premium Supporter
  • June 3, 2006
    483
    8
    52
    Sydney
    Home Country
    Australia Australia
    Thank you to all you guys for the responses and the help, but i think this stuff is way over my head and i will admit defeat and leave it to the pros... LOL :)

    Cheers
     

    gfmoore

    Portal Member
    May 15, 2011
    28
    0
    Stoke-on-Trent
    Home Country
    United Kingdom United Kingdom
    Hope you don't mind me resurrecting this thread rather than starting a new one.

    In terms of the wiki - I did find it a little confusing as it seemed to imply that I should create a file structure and use tortoise svn for each module using the listed urls above - not that all of these were listed.

    I, after help, realised that I could just create the trunk folder and then right click on this and use tortoise to get the whole shebang. I hope that this is the correct way.

    I am following the steps outlined in the wiki and have debug compiled/run the mediaportal project and I am getting a crash which is referring to lack of language support!

    Could I just confirm, that apart from the identified script in the wiki (and I just used" command prompt here" at the relevant folder and ran it) that there are no other scripts to run? I only have the downloaded source code (I uninstalled the binaries) and I'm wondering about the use of mySQL etc - does this need installing or is it done as part of the configuration program that I'm trying to get running?

    noobs, don't ya just love us :)

    edit: just seen this post
    https://forum.team-mediaportal.com/.../mediaportal-first-compile-run-problem-91888/
    interesting.
     

    Users who are viewing this thread

    Top Bottom