Compiling source codes (1 Viewer)

testimies

Portal Pro
October 12, 2007
62
3
Espoo
Home Country
Finland Finland
Hello,

There seems to be a problem with latest versions of mediaportal (or tv engine) and 64 bit OS. Tv engine crashes everytime I try to search for channels or use tv cards. It has been that way since december. I know other people has this problem too.

There is a workaround for this problem. Source codes has to be compiled for "x86" instead of "Any Cpu". A friendly person did it for me for one version. It solved the problem. I would like to learn to do it too.

At the moment I have installed VC# 2008 express edition and downloaded latest SVN's. I opened MediaPortal.VC#Express.sln and compiled it successfully. What now?:mad: I know this might sound stupid but where is the executable? Or is there?

Another thing is TVEngine.. I couldn't find .sln file for VC#express. Is there or is it the same with standard VC? There also wasn't any main .sln but several in different folders. What to do?

I would like to compile latest SVN's for mediaportal, TvEngine3 and that small program which connects TvEngine to mediaportal (can't remember it's name, comes with TVEngine package when downloading normally). Same packages that can be downloaded from mediaportal site but just compiled with "x86".

I know it would be easier for a person with my knowledge level about C# to just download precompiled packages but this seems to be only way to use the latest versions..

Br, Testimies.
 

ronilse

Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    Hi,
    TVE3 version & MediaPortal 0.2.3.0 + all svn's should be compiled here @ x86 as default, so you shouldn't have any problems using the one from MP's site.
    Express edition can't build setup.exe, but if you download NSIS(do a search) & first compile everything you can build a setup for TVE3 & plugin (look in Setup dir).
    The files for MP it's in "trunk\mediaportal\xbmc\bin\Release" folder

    Regards
    Roy
     

    testimies

    Portal Pro
    October 12, 2007
    62
    3
    Espoo
    Home Country
    Finland Finland
    I installed Visual Studio 2008 and was able to compile all of them. Compiling TVE3&plugin against x86 made non working TVE3 working.

    I think mediaportal & SVN's are compiled against x86. TVE3 and plugin seems to be compiled against 'all CPU'. I couldn't even choose target as 'x86' by default with TVE3(which is a drop down menu choice when compiling mediaportal). I had to add it.
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,154
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    I installed Visual Studio 2008 and was able to compile all of them. Compiling TVE3&plugin against x86 made non working TVE3 working.

    I think mediaportal & SVN's are compiled against x86. TVE3 and plugin seems to be compiled against 'all CPU'. I couldn't even choose target as 'x86' by default with TVE3(which is a drop down menu choice when compiling mediaportal). I had to add it.
    we will have a look at the settings of our svn-bot.

    :D
     

    testimies

    Portal Pro
    October 12, 2007
    62
    3
    Espoo
    Home Country
    Finland Finland
    Ok.

    The point is that I can use mediaportal & SVN straight from mediaportal home page but tve (&plugin?) doesn't work. I have to compile it. This relates to 64 bit OS..
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,154
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    it seems like our svn-bot-builder thought that it would be a good idea to compile with "any cpu".
    we have changed it back to "x86" now.

    so the next builds will use this and hopefuly work then again. :)
     

    mortstar

    MP Donator
  • Premium Supporter
  • January 30, 2008
    414
    41
    Home Country
    England England
    it seems like our svn-bot-builder thought that it would be a good idea to compile with "any cpu".
    we have changed it back to "x86" now.

    so the next builds will use this and hopefuly work then again. :)

    You legend :)

    I have very much less hair as I've pulled it all out trying to get MediaPortal and TVE3 latest SVNs working (see here -> https://forum.team-mediaportal.com/bugreports-tv-server-client-85/no-tuning-all-unknownerror-33116/index3.html)!!!

    I was having the same problem as testimies, who posted on this thread and the above linked post as well. So I downloaded all the prerequisites for compiling the source code myself - followed all the instructions on the wiki and just got lost in a world of code and SVN that I was finding difficult to comprehend!

    I was just about to repartition my computer and begin a fresh install of 32bit XP, so I'm glad that (*fingers crossed*) the next SVN of TVE3 will compile against x86 CPU by default and should work fine!

    Thanks very much

    and to you to testimies for brining it to the DEVs attention.
     

    Users who are viewing this thread

    Top Bottom