home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
HowTo: Building MediaPortal with #Develop
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Schrauber" data-source="post: 417" data-attributes="member: 10280"><p>For those, that do not have Visual Sudio .NET.</p><p></p><p>We can use the open source software #Develop. See <a href="http://www.icsharpcode.net" target="_blank">www.icsharpcode.net</a> for download.</p><p></p><p>To build MediaPortal you need the DirectX SDK and the .Net SDK installed. Download them from microsoft.</p><p></p><p>Now you can check out the sourecode from sourceforge via WinCVS.</p><p></p><p>Copy some files from your checkout directory to the directory where you want to have your #Develop-Project. This should be another than the directory where you checkouted. Copy the files AxInterop.WMPLib.dll, MPReader.ax, sqlite.dll, SqLiteClient.dll, WinTVCapWriter.ax .</p><p></p><p>Start #Develop and go to Files --> import project. Select as source the directory where you checkouted and there select the file MediaPortal.sln</p><p>As destination select the directory where you want to have you #Develop project to be created (the one to where you copied the above files).</p><p>Hit Start. There will come an error message. Just hit OK. Then your Project should be created and all the source files should be copied to the destination directory.</p><p></p><p>Some references can not be imported automaticly or are incorrect. So you must set them by hand. These are the changes you have to do:</p><p></p><p>Add a .Net reference to SQLiteClient.dll to the following:</p><p>MusicDatabase</p><p>RadioDatabase</p><p>PictureDatabase</p><p>TVDatabase</p><p>VideoDatabase</p><p>Settings</p><p></p><p>Add a .Net reference to AxInterop.WMPLib.dll to the Player project. Also add a GAC reference to wmppia to this project.</p><p></p><p>You have to rename some resource files in explorer. Otherwise MediaPortal will not run correctly after building. So do the following renames:</p><p>in GUITV the FormOSD.resources to GUITV.FormOSD.resources</p><p>in GUIVideoFullScreen the FormOSD.resources to GUIVideoFullScreen.FormOSD.resources</p><p>in home the SetupForm.resources to home.SetupForm.resources</p><p>in xbmc all *.resources to MediaPortal.*.resources</p><p></p><p>After renaming you have to delete the resources of these projects in #Develop. And you have to reinsert the new named *.resource files.</p><p>NOTE: the xbmc directory is the project MediaPortal</p><p></p><p>Next you can build the single parts in the following order:</p><p>DShowNET</p><p>DirectX.Capture</p><p>guilib</p><p>GUITopbar</p><p>Util</p><p>Dialogs</p><p>TagReader</p><p>MultiTagReader</p><p>MusicDatabase</p><p>SubTitleReader</p><p>SMIReader</p><p>SRTReader</p><p>Player</p><p>PlayList</p><p>Ripper</p><p>Freedb</p><p>RadioDatabase</p><p>GUIRadio</p><p>GUIMusic</p><p>PictureDatabase</p><p>GUIPictures</p><p>TVDatabase</p><p>TVCapture</p><p>GUITV</p><p>VideoDatabase</p><p>GUIVideoFiles</p><p>GUIVideoFullScreen</p><p>GUIWeather</p><p>home</p><p>nzlib</p><p>mp3TagReader</p><p>Settings</p><p>GUIRSSFeed</p><p></p><p>Now copy the file PostBuild.bat from your checkout directory. It is in the dir: [checkout-dir]\xbmc\bin\debug. Copy to the same dir in your project directory. Maybe you must create the directory.</p><p></p><p>Just run PostBuild.bat.</p><p></p><p>Now you can build the project part MediaPortal as the last step.</p><p></p><p>A build of the complete combine will not work. You have to build the projects one by one.</p><p></p><p>Copy the skin files to your debug-directory. So you can run your fresh build MediaPortal. Maybe you have to copy some other files too. For example the keymap.xml. Copy these files from the \xbmc\bin\release directory from your checkout dir.</p></blockquote><p></p>
[QUOTE="Schrauber, post: 417, member: 10280"] For those, that do not have Visual Sudio .NET. We can use the open source software #Develop. See [url]www.icsharpcode.net[/url] for download. To build MediaPortal you need the DirectX SDK and the .Net SDK installed. Download them from microsoft. Now you can check out the sourecode from sourceforge via WinCVS. Copy some files from your checkout directory to the directory where you want to have your #Develop-Project. This should be another than the directory where you checkouted. Copy the files AxInterop.WMPLib.dll, MPReader.ax, sqlite.dll, SqLiteClient.dll, WinTVCapWriter.ax . Start #Develop and go to Files --> import project. Select as source the directory where you checkouted and there select the file MediaPortal.sln As destination select the directory where you want to have you #Develop project to be created (the one to where you copied the above files). Hit Start. There will come an error message. Just hit OK. Then your Project should be created and all the source files should be copied to the destination directory. Some references can not be imported automaticly or are incorrect. So you must set them by hand. These are the changes you have to do: Add a .Net reference to SQLiteClient.dll to the following: MusicDatabase RadioDatabase PictureDatabase TVDatabase VideoDatabase Settings Add a .Net reference to AxInterop.WMPLib.dll to the Player project. Also add a GAC reference to wmppia to this project. You have to rename some resource files in explorer. Otherwise MediaPortal will not run correctly after building. So do the following renames: in GUITV the FormOSD.resources to GUITV.FormOSD.resources in GUIVideoFullScreen the FormOSD.resources to GUIVideoFullScreen.FormOSD.resources in home the SetupForm.resources to home.SetupForm.resources in xbmc all *.resources to MediaPortal.*.resources After renaming you have to delete the resources of these projects in #Develop. And you have to reinsert the new named *.resource files. NOTE: the xbmc directory is the project MediaPortal Next you can build the single parts in the following order: DShowNET DirectX.Capture guilib GUITopbar Util Dialogs TagReader MultiTagReader MusicDatabase SubTitleReader SMIReader SRTReader Player PlayList Ripper Freedb RadioDatabase GUIRadio GUIMusic PictureDatabase GUIPictures TVDatabase TVCapture GUITV VideoDatabase GUIVideoFiles GUIVideoFullScreen GUIWeather home nzlib mp3TagReader Settings GUIRSSFeed Now copy the file PostBuild.bat from your checkout directory. It is in the dir: [checkout-dir]\xbmc\bin\debug. Copy to the same dir in your project directory. Maybe you must create the directory. Just run PostBuild.bat. Now you can build the project part MediaPortal as the last step. A build of the complete combine will not work. You have to build the projects one by one. Copy the skin files to your debug-directory. So you can run your fresh build MediaPortal. Maybe you have to copy some other files too. For example the keymap.xml. Copy these files from the \xbmc\bin\release directory from your checkout dir. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
HowTo: Building MediaPortal with #Develop
Contact us
RSS
Top
Bottom