Windows development: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
m (Bot: Automated text replacement (- XBMC + {{name}} ))
Line 6: Line 6:
{{cleanup}}
{{cleanup}}
{{XBMC development nav}}
{{XBMC development nav}}
[[Team-XBMC]] have [http://en.wikipedia.org/wiki/Porting ported] the [http://en.wikipedia.org/wiki/XBMC XBMC Media Center] software to [http://en.wikipedia.org/wiki/Microsoft_Windows Windows] some time ago.
[[Team-XBMC]] have [http://en.wikipedia.org/wiki/Porting ported] the [http://en.wikipedia.org/wiki/XBMC {{name}} Media Center] software to [http://en.wikipedia.org/wiki/Microsoft_Windows Windows] some time ago.


XBMC is a huge open source project and it takes loads of people working together to maintain it for all platforms, that is why [[Team-XBMC]] is always on the lookout for [http://en.wikipedia.org/wiki/Programming_language C/C++ programmers] to volunteer in assisting us with the development of XBMC. Whether you have contributed to [http://sourceforge.net/projects/xbmc The XBMC Project] in the past or not, please consider doing so now.
XBMC is a huge open source project and it takes loads of people working together to maintain it for all platforms, that is why [[Team-XBMC]] is always on the lookout for [http://en.wikipedia.org/wiki/Programming_language C/C++ programmers] to volunteer in assisting us with the development of XBMC. Whether you have contributed to [http://sourceforge.net/projects/xbmc The {{name}} Project] in the past or not, please consider doing so now.




Those of you who are completely unfamiliar with XBMC can get a good overview of it on '''[[XBMC]]''' and '''[[XBMC FAQ]]'''.<br />
Those of you who are completely unfamiliar with {{name}} can get a good overview of it on '''[[XBMC]]''' and '''[[XBMC FAQ]]'''.<br />




== End-users (non-programmers) ==
== End-users (non-programmers) ==
You can help too by [http://xbmc.org/download downloading XBMC for Windows], testing it, and [[HOW-TO Submit a Proper Bug Report|reporting bugs and issues]]. Also, spread the word about [http://xbmc.org/download XBMC for Windows] to your friends and family, we are sure they will enjoy it too.
You can help too by [http://xbmc.org/download downloading {{name}} for Windows], testing it, and [[HOW-TO Submit a Proper Bug Report|reporting bugs and issues]]. Also, spread the word about [http://xbmc.org/download {{name}} for Windows] to your friends and family, we are sure they will enjoy it too.


== Developers (programmers) ==
== Developers (programmers) ==
You should be proficient in [http://en.wikipedia.org/wiki/Programming_language C/C++ programming language], and allthough not really required knowledge of [http://en.wikipedia.org/wiki/OpenGL OpenGL] or [http://en.wikipedia.org/wiki/Multimedia multimedia] programming is a plus, as well as prior [http://en.wikipedia.org/wiki/Multi-platform cross-platform] or [http://en.wikipedia.org/wiki/Porting porting] development experience.
You should be proficient in [http://en.wikipedia.org/wiki/Programming_language C/C++ programming language], and allthough not really required knowledge of [http://en.wikipedia.org/wiki/OpenGL OpenGL] or [http://en.wikipedia.org/wiki/Multimedia multimedia] programming is a plus, as well as prior [http://en.wikipedia.org/wiki/Multi-platform cross-platform] or [http://en.wikipedia.org/wiki/Porting porting] development experience.


The '''Win32 development platform''' is [[HOW-TO compile XBMC for Windows from source code|Microsoft Windows XP and Windows Vista]]. There are [http://en.wikipedia.org/wiki/Microsoft_Visual_Studio Visual Studio .NET (2003, 2005, and 2008)] project files available in our [https://github.com/xbmc/xbmc git repo].
The '''Win32 development platform''' is [[HOW-TO compile {{name}} for Windows from source code|Microsoft Windows XP and Windows Vista]]. There are [http://en.wikipedia.org/wiki/Microsoft_Visual_Studio Visual Studio .NET (2003, 2005, and 2008)] project files available in our [https://github.com/xbmc/xbmc git repo].


== Hardware requirements ==
== Hardware requirements ==
* [http://en.wikipedia.org/wiki/X86 32-bit Intel (x86-processor) based computer] with Windows XP or Windows Vista, and a ATI Radeon 9200/X1600, Intel GMA950, or NVIDIA 6-Series [http://en.wikipedia.org/wiki/Graphics_Processing_Unit 3D GPU (Graphics Processing Unit)], or later with OpenGL or DirectX compatible video device drivers, (XBMC GUI requires at least OpenGL 1.3 or DirectX 9.0c support to run smoothly at an acceptable frame-rate in standard-definition, to run XBMC high-definition a more modern GPU is recommended).
* [http://en.wikipedia.org/wiki/X86 32-bit Intel (x86-processor) based computer] with Windows XP or Windows Vista, and a ATI Radeon 9200/X1600, Intel GMA950, or NVIDIA 6-Series [http://en.wikipedia.org/wiki/Graphics_Processing_Unit 3D GPU (Graphics Processing Unit)], or later with OpenGL or DirectX compatible video device drivers, (XBMC GUI requires at least OpenGL 1.3 or DirectX 9.0c support to run smoothly at an acceptable frame-rate in standard-definition, to run {{name}} high-definition a more modern GPU is recommended).


== Detailed technical information ==
== Detailed technical information ==
Line 29: Line 29:


== Source code ==
== Source code ==
The XBMC source code is in our [https://github.com/xbmc/xbmc git repository on github.com]. Full instructions for compiling/builing XBMC under Windows is available here:
The {{name}} source code is in our [https://github.com/xbmc/xbmc git repository on github.com]. Full instructions for compiling/builing {{name}} under Windows is available here:
* [[HOW-TO compile XBMC for Windows from source code]]
* [[HOW-TO compile {{name}} for Windows from source code]]


== General guidelines ==
== General guidelines ==
* Code documentation (DocBook, rst, or [http://www.doxygen.org doxygen] for the code documentation steps, preferably the latter, [http://www.doxygen.org doxygen])
* Code documentation (DocBook, rst, or [http://www.doxygen.org doxygen] for the code documentation steps, preferably the latter, [http://www.doxygen.org doxygen])
* Self-containment - XBMC should be as little dependent as possible on operating-system and third-party services/deamons/libraries
* Self-containment - {{name}} should be as little dependent as possible on operating-system and third-party services/deamons/libraries
** XBMC should for example contain all file-system and network-client (like samba) support built-into the XBMC package
** {{name}} should for example contain all file-system and network-client (like samba) support built-into the {{name}} package
* Modular design - independent modules made up by localized/isolated code libraries without dependencies
* Modular design - independent modules made up by localized/isolated code libraries without dependencies
** XBMC should still compile and run if a non-essencial module/library is disabled or removed
** {{name}} should still compile and run if a non-essencial module/library is disabled or removed
* Aim for the GUI/interface to run smoothly on a low spec computer (less than 1Ghz)
* Aim for the GUI/interface to run smoothly on a low spec computer (less than 1Ghz)
** 3D graphic controller (GPU) will always be required hardware for XBMC so try to utilize the GPU as much as possible
** 3D graphic controller (GPU) will always be required hardware for {{name}} so try to utilize the GPU as much as possible
* Avoid harddisk trashing (excess read/write/erase cycles), so no harddrive paging, (utilize RAM memory intead).
* Avoid harddisk trashing (excess read/write/erase cycles), so no harddrive paging, (utilize RAM memory intead).
* Fast load and boot times for end-user perception (other thing can still run/start in the background without the user knowledge)
* Fast load and boot times for end-user perception (other thing can still run/start in the background without the user knowledge)

Revision as of 01:02, 5 June 2014

Home icon grey.png   ▶ Development ▶ Windows development


Cleanup.png This page or section may require cleanup, updating, spellchecking, reformatting and/or updated images. Please improve this page if you can. The discussion page may contain suggestions.


Template:XBMC development nav Team-XBMC have ported the XBMC Media Center software to Windows some time ago.

XBMC is a huge open source project and it takes loads of people working together to maintain it for all platforms, that is why Team-XBMC is always on the lookout for C/C++ programmers to volunteer in assisting us with the development of XBMC. Whether you have contributed to The XBMC Project in the past or not, please consider doing so now.


Those of you who are completely unfamiliar with XBMC can get a good overview of it on XBMC and XBMC FAQ.


End-users (non-programmers)

You can help too by downloading XBMC for Windows, testing it, and reporting bugs and issues. Also, spread the word about XBMC for Windows to your friends and family, we are sure they will enjoy it too.

Developers (programmers)

You should be proficient in C/C++ programming language, and allthough not really required knowledge of OpenGL or multimedia programming is a plus, as well as prior cross-platform or porting development experience.

The Win32 development platform is Microsoft Windows XP and Windows Vista. There are Visual Studio .NET (2003, 2005, and 2008) project files available in our git repo.

Hardware requirements

  • 32-bit Intel (x86-processor) based computer with Windows XP or Windows Vista, and a ATI Radeon 9200/X1600, Intel GMA950, or NVIDIA 6-Series 3D GPU (Graphics Processing Unit), or later with OpenGL or DirectX compatible video device drivers, (XBMC GUI requires at least OpenGL 1.3 or DirectX 9.0c support to run smoothly at an acceptable frame-rate in standard-definition, to run XBMC high-definition a more modern GPU is recommended).

Detailed technical information

For more details please visit the Development Notes section of this manual.

Source code

The XBMC source code is in our git repository on github.com. Full instructions for compiling/builing XBMC under Windows is available here:

General guidelines

  • Code documentation (DocBook, rst, or doxygen for the code documentation steps, preferably the latter, doxygen)
  • Self-containment - XBMC should be as little dependent as possible on operating-system and third-party services/deamons/libraries
    • XBMC should for example contain all file-system and network-client (like samba) support built-into the XBMC package
  • Modular design - independent modules made up by localized/isolated code libraries without dependencies
    • XBMC should still compile and run if a non-essencial module/library is disabled or removed
  • Aim for the GUI/interface to run smoothly on a low spec computer (less than 1Ghz)
    • 3D graphic controller (GPU) will always be required hardware for XBMC so try to utilize the GPU as much as possible
  • Avoid harddisk trashing (excess read/write/erase cycles), so no harddrive paging, (utilize RAM memory intead).
  • Fast load and boot times for end-user perception (other thing can still run/start in the background without the user knowledge)

User-friendliness is next to godlyness

XBMC manifesto