Compiling and building MP (4 Viewers)

robyf

Retired Team Member
  • Premium Supporter
  • June 20, 2005
    1,076
    278
    53
    Bolzano
    Home Country
    Italy Italy
    One question: do I have to compile Directshowfilters also or it sufficient to compile Mediaportal and TvEngine3?

    Thanks
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    One question: do I have to compile Directshowfilters also or it sufficient to compile Mediaportal and TvEngine3?

    dshow filters require compiling only when you are doing changes into them. SVN contains always up to date binary versions of those.
     

    ARE2

    Portal Pro
    May 9, 2008
    172
    20
    Germany
    Home Country
    Poland Poland
    Hi,

    when I install such a self compiled MP Release, will I be able to update RC2 over it? Or will it behave like an SVN Testversion and I'll have to reinstall MP-RC2 from scratch when it will be released?

    THX
    ARE2
     

    JacobJust

    MP Donator
  • Premium Supporter
  • September 23, 2006
    131
    46
    52
    Aarhus
    Home Country
    Denmark Denmark
    Just fetched the latest SVN and tried to compile ... follows with a error: Could not find ... mediaportal\version.txt

    Someone able to put it back in the right place to compile ?

    Regards
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Hi,

    when I install such a self compiled MP Release, will I be able to update RC2 over it? Or will it behave like an SVN Testversion and I'll have to reinstall MP-RC2 from scratch when it will be released?

    THX
    ARE2

    Self compiled is not the same as RC1, so no uprgade is supported.
     

    mr viggo

    MP Donator
  • Premium Supporter
  • March 1, 2008
    500
    68
    Home Country
    Sweden Sweden
    If that doesn't work you can always just edit the AssemblyInfo.cs file in the TV-plugin. For ~ 1 year I have been running my own modified version of the TV-plugin, and for me I always get the same problem - it is as if the Assemblyinfo for MediaPortal (not TV-plugin) isn't updated in SVN. So, I edit it manually every time. Just change it to:

    Code:
    [assembly: AssemblyVersion("1.0.5.*")]
    [assembly: AssemblyFileVersion("1.0.5.0")]

    (last two lines)

    As far as I can see, all my assemblyinfo files have exactly those lines at the bottom. On the other hand, I do get a few warnings/errors when compiling and I think this is the reason for my problem, but I do not know why I get them. I can see from the logs that building mediaportal.exe didn't go so well. Attaching log if that helps:
     

    Seidelin

    Retired Team Member
  • Premium Supporter
  • August 14, 2006
    1,755
    652
    Kgs. Lyngby
    Home Country
    Denmark Denmark
    Your postbuild.bat fails somewhere. Try running the postbuild.bat from the commandline with the parameters which appears in your log. Then you can see more precisely where it fails.
     

    ARE2

    Portal Pro
    May 9, 2008
    172
    20
    Germany
    Home Country
    Poland Poland
    I faced the same problem. I think you have checkout each directory from SVN separately, as it is described in manual and as I also did it. But the build script requires that the "root" directory is checked out, because there it gets the SVN version from. So just checkout the whole "https://mediaportal.svn.sourceforge.net/svnroot/mediaportal/trunk" into the x:/svnroot/mediaportal/trunk directory.

    Hi,

    did it like that and everything is compiling fine without errors but... highest revision I get updating from "https://mediaportal.svn.sourceforge.net/svnroot/mediaportal/trunk" is 24669? Thats quiet old?

    So did I misunderstand the wohle thing, because I thought the newest changes are in this Mediaportal SVN, so that getting it and compiling it I'd also get the changes done till now for the RC2 release?

    Regards
    ARE2
     

    Users who are viewing this thread

    Top Bottom