MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Help on Development » General Development (no feature request here!)


General Development (no feature request here!) You were able to fix an issue, or improved a feature? Post it here.

Reply
 
LinkBack Thread Tools Display Modes
Old 2004-07-06, 16:10   #1 (permalink)
Anonymous
Guest
 
Posts: n/a


Default How To: Building MediaPortal with Visual Studio 2003 .Net

Requirements:
-Visual Studio 2003.NET
-The sources (look here how to get them: http://nolanparty.com/mediaportal.so...ic.php?p=24#24
-DirectX 9.0c Summer 2004 SDK http://www.microsoft.com/downloads/d...displaylang=en
How to compile:
-Install Visual Studio 2003.NET (Be sure to install C#!)
-Install the DirectX 9.0c SDK
-get the sources
-run mediaportal/setup/postsetup/register.bat
-Start Visual Studio 2003.NET
-choose File->Open Solution...
-select mediaportal/MediaPortal.sln
-select Build->configuration...
- in the dropdown box select 'Release' configuration
- select Close button
-select Build->Rebuild solution...


If you want to build a debug version then:
-copy everything from mediaportal/xbmc/bin/release to mediaportal/xbmc/bin/debug but
DONT OVERWRITE ANY FILES IN THE /debug FOLDER!!!
-Start Visual Studio 2003.NET
-choose File->Open Solution...
-select mediaportal/MediaPortal.sln
-select Build->configuration...
- in the dropdown box select 'Debug' configuration
- select Close button
-select Build->Rebuild solution...

Thats it

Frodo
  Reply With Quote
Old 2004-07-06, 17:33   #2 (permalink)
Retired Team Member
 
Join Date: May 2004
Location: the Netherlands
Posts: 227
Thanks: 1
Thanked 0 Times in 0 Posts


Default

Is this list still correct? If I recall correctly the register.bat is not needed anymore and second I think it is really strange to copy stuff to the Debug folder and then build a Release version.
Mr.Mitchell is offline   Reply With Quote
Old 2004-08-06, 23:22   #3 (permalink)
Anonymous
Guest
 
Posts: n/a


Default

Since mp is now using DirectX 9c I'm assuming we should be using the 9c SDK?
http://www.microsoft.com/downloads/d...displaylang=en
  Reply With Quote
Old 2004-08-07, 01:21   #4 (permalink)
Anonymous
Guest
 
Posts: n/a


Default

Thanks, noted and adjusted...
  Reply With Quote
Old 2004-09-22, 19:57   #5 (permalink)
Anonymous
Guest
 
Posts: n/a


Default

Link to how to get sources should be

http://nolanparty.com/mediaportal.so...opic.php?t=493
  Reply With Quote
Old 2004-11-26, 07:12   #6 (permalink)
Portal Member
 
HenriM's Avatar
 
Join Date: Oct 2004
Location: Rijsbergen, The Netherlands
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts


Send a message via MSN to HenriM
Default

Is there also a kind of command/batch file which copies all needed (just build) files to the correct location of the MP Install? I mean, now I have to manually find all files which are present in MP Install and copy the new build files over it.

Do you understand what I mean?
HenriM is offline   Reply With Quote
Old 2004-11-27, 14:44   #7 (permalink)
Portal Member
 
HenriM's Avatar
 
Join Date: Oct 2004
Location: Rijsbergen, The Netherlands
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts


Send a message via MSN to HenriM
Default

I think I already found the applicable batch-file:

d:\Mediaportal\xbmc\bin\Release>PostBuild.bat

seems to do the trick. Probaly good idea to mention this somewhere (oh, I just did :-))
HenriM is offline   Reply With Quote
Old 2005-07-30, 11:26   #8 (permalink)
Anonymous
Guest
 
Posts: n/a


Default

This seems to be the latest
The complete DirectX 9.0 SDK - (June 2005),
http://www.microsoft.com/downloads/i...splayLang%3den
  Reply With Quote
Old 2005-09-14, 21:50   #9 (permalink)
Retired Team Member
 
mzemina's Avatar
 
Join Date: Feb 2005
Location: Ft Smith, AR
Posts: 2,019
Thanks: 30
Thanked 9 Times in 9 Posts

Country:


Default

Quote:
Originally Posted by swen002
This seems to be the latest
The complete DirectX 9.0 SDK - (June 2005)
What file in dx9sdk.exe indicates the version?
mzemina is offline   Reply With Quote
Old 2005-09-28, 18:25   #10 (permalink)
Portal Member
 
Join Date: Sep 2005
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
What file in dx9sdk.exe indicates the version?
Not sure if you're asking in regards to figuring out which DirectX installation archive you have, or what version you have installed already?

In reference to the archive file itself (dx9sdk.exe), it's just a self-extracting zip file. Run it and tell it where to unzip. Then before continuing the install, check out the unzip directory and look at "dxreadme.htm". It will tell you the version. I think the 9.0c SDK release is also known as the "June 2005" release.

If you want to know what version you have installed already, try "Run..." -> "dxdiag". This will show the version of your DX runtime. If you need to see if you have the SDK installed or not (versus just having the runtime), you can try looking at the files tab of the dxdiag screen. If you see a lot of duplicate dlls where the only difference is a "d" appended to the filename, you probably have the SDK installed somewhere as well.

Note, in case it's not obvious, this is only important if you plan to develop/program Media Portal. If you just want to run it, you should go to the MS site and install the DX runtime, not the SDK.

The "dxdiag" utility will work for the runtime as well if you just to see what version of DirectX you have installed.
kaliatech is offline   Reply With Quote
Reply

Bookmarks

Tags
2003, building, mediaportal, net, studio, visual

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
System requirements for HDTV with MediaPortal Tech Geek Hardware Selection Help 62 2007-08-08 07:20
Visual Studio 2005 .NET C# mytech General Development (no feature request here!) 15 2005-11-25 11:59
MediaPortal and Visual Studio .Net: How To Import sev7en General Development (no feature request here!) 4 2005-07-19 11:09
FREE Visual Studio .NET Anonymous General Development (no feature request here!) 3 2004-06-09 05:34
Compile problems Anonymous General Development (no feature request here!) 1 2004-04-28 21:49


All times are GMT +1. The time now is 00:49.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Integrated by BBpixel ©2004-2008, jvbPlugin
Protected by Akismet Blog with WordPress