Page tree


Search


 Recently Updated



 Latest Releases

 MediaPortal 1.18 Final
            Releasenews | Download
 MediaPortal 2.1.2 Final 
            Releasenews | Download

Overview

Upgrade MediaPortal solutions to be able to compile with Visual Studio 2015.

Description of Change

If you already compile MediaPortal, you need to change the

WINDOWS_SDK

system variable to

C:\Program Files (x86)\Windows Kits\8.1

.

You also need to do a force update for submodule. It will take the latest source from libbluray repository to the last version compatible with Visual Studio 2013. Just right click on you MP1 folder with TortoiseGIT and select Submodule Update and we are good to go.

To build the updated C++ solution, you need the following installed (on a clean Windows 7 64-bit):

  • VS2015 Community Edition (this installs Platform SDK 8.1 as well)
  • DirectX SDK June 2010 (need this to get all the DX9 stuff)
  • In Visual Studio 2015, the MFC library for multibyte character encoding (MBCS) is included in the Visual C++ setup components. Visual C++ and MFC are optional install configurations in Visual Studio setup. To make sure that MFC is installed, choose Custom in setup, and under Programming Languages, make sure that Visual C++ and Microsoft Foundation Classes for C++ are selected. If you have already installed Visual Studio, you will be prompted to install Visual C++ and/or MFC when you attempt to create an MFC project.

    You need the multibyte DLLs in order to build an MFC project in Visual Studio 2015 that has the Character Set property set to Use Multi-Byte Character Set or Not Set.

  • vsyasm 1.2.0

YASM

Note: Use vyasm 1.2.0. Version 1.3.0 has a known problem with case sensitivity using the 'BuildCustomizations' scripts.


  1. Unzip

    vsyasm.exe

    from the previously downloaded package (based on your OS) to your Visual Studio installation directory:
    32-bit OS:

    C:\Program Files\Microsoft Visual Studio 14.0\VC\bin

    64-bit OS:

    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin
  2. Copy

    vsyasm.props

    ,

    vsyasm.targets

    and

    vsyasm.xml

    to

    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations

Additional Information and References

Issue #:


Issue Component:

Visual Studio

Type of Change:

Rework

Related Wiki page(s):

MP1-4791 Contribute > Development > Building MediaPortal from source > Compile and Build MP1 Contribute > Development > Building MediaPortal from source > Build Prerequisites

Author:

sebastiii

Date added:

Tue, 08 Aug 2017

   

 

  • No labels

This page has no comments.