locked
Why does VS12-RP generate a C2088 when compiling on a clean version of MEPlaybackNative?

    Question

  • I'm getting a C2088 error on the first attempt to compile a clean MEPlaybackNative solution.  I just downloaded the solution from MSDN, unzipped it, opened it with VS12-RP, and built the project.  I get the error below at the location marked in the code below.

    Is there some update or build/compiler setting that I'm missing?

    C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\agile.h(188): error C2088: '!=' : illegal for class (VideoView.cpp)

    		Agile<T> operator=(const Agile<T>& object) throw()
    		{
    			if(_object != object)<--line 188, calls "!=" illegal?
    			{
    				// Get returns pointer valid for current context
    				SetObject(object.Get());
    			}
    			return _object;
    		}

    1> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\agile.h(187) : while compiling class template member function 'Platform::Agile<T> Platform::Agile<T>::operator =(const Platform::Agile<T> &) throw()'

    1> with

    1> [

    1> T=Windows::UI::Core::CoreWindow

    1> ]

    1> e:\multimediaprojects\media engine native c++ video playback sample\c++\MEPlayer.h(160) : see reference to class template instantiation 'Platform::Agile<T>' being compiled

    1> with

    1> [

    1> T=Windows::UI::Core::CoreWindow

    1> ]

    Thursday, August 30, 2012 1:47 AM

Answers

  • The current samples target Windows 8 RTM and Visual Studio 2012 RTM. They won't work with the RP versions.

    --Rob

    • Marked as answer by mvance1 Thursday, August 30, 2012 4:42 AM
    Thursday, August 30, 2012 2:58 AM
    Owner