Compiling the Alize speaker detection library in Visual Studio 2015

To compile the ALIZE speaker detection library download the projects alize-core and LIA_RAL from Unzip both in the same parent directory and rename the alize-core folder to ALIZE.

Open the SLN file in the ALIZE directory and build it, there should be no errors.

Afterwards open the SLN file in the LIA_RAL folder. Before you start the build process you have to make changes to two files. In Macros.h change line 301 from:

#if defined(_MSC_VER) && (!defined(__INTEL_COMPILER))


#if defined(_MSC_VER) && (_MSC_VER < 1900) && (!defined(__INTEL_COMPILER))

Then change the following in MapBase.h. Add the following line after line 172 (before the keyword public:):

typedef MapBase<Derived, ReadOnlyAccessors> ReadOnlyMapBase;

Afterwards, change the following line:




And a few lines later change:

using Base::operator=;


using ReadOnlyMapBase::Base::operator=;

Now open the SLN file in the LIA_RAL folder and build the project liatools. Make sure that you pick the same platform as you did before when compiling ALIZE.

2 thoughts on “Compiling the Alize speaker detection library in Visual Studio 2015”

  1. Thanks for your post.
    I applied your changes to LIA_RAL solution. But I’m still getting the following error during the build process:
    An internal error has occurred in the compiler. liatools f:\goodarzi\tools\alize\lia_ral-master\lia_spktools\src\accumulatestat.cpp 445

    Would you please help me through this?

    1. Hi Mohsen,
      sorry I can’t help you. I haven’t worked with alize since I realized I’d never ever get it running.

Leave a Reply

Your email address will not be published. Required fields are marked *