Compiling and building MP (1 Viewer)

hkjensen

MP Donator
  • Premium Supporter
  • June 11, 2007
    165
    65
    Copenhagen
    Home Country
    Denmark Denmark
    You find the installer in the following folders
    MediaPortal
    <mediaportal-svn>/setup/release

    TV-Server
    <TVEngine3-svn>/TvLibrary/setup/release
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    nvm, I'm blind and should buy some glasses. Found the files, :sorry::sorry::sorry:
     

    ArnoldGoat

    MP Donator
  • Premium Supporter
  • May 27, 2007
    106
    20
    77
    Lyttelton
    Home Country
    New Zealand New Zealand
    Rak: thanks for that. Server & Client compiled OK, and installer was generated, but I still get the same problem when running the newly installed program, that is the TV Guide doesn't work. This seems to imply that getting and compiling svn22555 doesn't generate the same stuff as is in the 1.0.2 release. Is there another number I should pick to get a working V1.0.2 as my starting point?
     

    jonesdb

    Portal Pro
    January 11, 2008
    113
    6
    Santa Clara, CA
    Home Country
    United States of America United States of America
    I'm new to this process, so please bear with me while a ask what may be a dumb or obvious question to those more experienced than I. I have done some programming in the distant past (seems like a lifetime ago at this point) so I'm not a complete novice, but at this point it sure feels like it. I've downloaded the 1.0.2 SVN and believe I have been able to compile unmodified versions of 1.0.2 client and server with the MSBuild command line tool. Now, I'd like to try testing some local modifications to TsReader and TsWriter, but it looks like I need a copy of Visual Studio 2008 (or maybe 2005) in order to be able to do this as it appears that ATL Classes are required. (I get an atlcomcli.h not found error) ATL Classes don't appear to be supported in VS C++ 2008 Express edition which is what I am using. Am I correct in my analysis? If so, is there some way around this problem other than obtaining Visual Studio 2008? I think I have followed all the instructions in the documentation available about compiling MP.
    Thanks in advance for any input and/or guidance.
     

    ArnoldGoat

    MP Donator
  • Premium Supporter
  • May 27, 2007
    106
    20
    77
    Lyttelton
    Home Country
    New Zealand New Zealand
    This doesn't answer your question, but when you compiled 1.0.2, did the TV Guide work properly? Or did you get the same problem I reported #13? It generated an error, and the TV Guide screen contained no useful data.
     

    ArnoldGoat

    MP Donator
  • Premium Supporter
  • May 27, 2007
    106
    20
    77
    Lyttelton
    Home Country
    New Zealand New Zealand
    Thanks. That did the trick. Though I am sure I tried that before, and got the problem with the Guide. Must have done something wrong. All working now. Looking forward to 1.1!
    :D
     

    mr viggo

    MP Donator
  • Premium Supporter
  • March 1, 2008
    500
    68
    Home Country
    Sweden Sweden
    I'm not a compile-o-pro myself but I'm trying to do a personal SVN. From what I read in the wiki and forums and trying to do it myself, I got a little odd result.

    1. Installed VS2008, NSIS, DX SDK..
    2. Dl:d svn trunk and compiled, as described in wiki, both MP and TVE3 with their .sln files
    3. Ran build deploy release.bat on both
    4. Got 2 files, one mediaportal-svn-1.0.5.xxxxx.exe and one for TVengine with the same version numbers-
    5. installed both went fine

    6. Starting MP gives an error of Mediaportal and Tvplugin not having the same versions. It says that tvplugin is 1.0.5.25199 and mediaportal is just 1.0.5


    What is going wrong in the process, have I missed something?
     

    Seidelin

    Retired Team Member
  • Premium Supporter
  • August 14, 2006
    1,755
    652
    Kgs. Lyngby
    Home Country
    Denmark Denmark
    Do an SVN update on the source folders and then try to recompile. Also, check build.log for errors.
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    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)
     

    Users who are viewing this thread

    Top Bottom