Anybody Successfully Built Filters.sln in VS2013? (1 Viewer)

ChubbyArse

Portal Member
December 28, 2011
40
1
Hi All,

I've been trying to get a full build and install generated using Windows 7 and VS2013. I've made good progress, but I've stumbled when building the DirectShowFilters.
  • I've installed .Net 3.5 alongside 4.
  • I've downgraded from Windows 7 SDK with .Net 4.0 to Windows 7 with .Net 3.5
  • When I open the Filters.sln in VS2013 i don't upgrade the projects and change each of the projects configuration's Platform Toolset from Visual Studio 2010 (v100) to Visual Studio 2013 - Windows XP (v120_xp)
The solution starts to build but fails on the project DSUtil with the following set of errors:

Code:
Error    1    error C2146: syntax error : missing ';' before identifier 'm_pConfigs'    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    2092    1    DSUtil
Error    2    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    2092    1    DSUtil
Error    3    error C2065: 'GID_ZOOM' : undeclared identifier    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    2019    1    DSUtil
Error    4    error C2065: 'GC_ZOOM' : undeclared identifier    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    2019    1    DSUtil
Error    5    error C2065: 'GID_ROTATE' : undeclared identifier    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    2025    1    DSUtil
Error    6    error C2065: 'GC_ROTATE' : undeclared identifier    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    2025    1    DSUtil
Error    7    error C2065: 'GID_TWOFINGERTAP' : undeclared identifier    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    2031    1    DSUtil
Error    8    error C2065: 'GC_TWOFINGERTAP' : undeclared identifier    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    2031    1    DSUtil
Error    9    error C2065: 'GID_PAN' : undeclared identifier    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    2045    1    DSUtil
Error    10    error C2065: 'GC_PAN' : undeclared identifier    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    2045    1    DSUtil
Error    11    error C2065: 'GID_PAN' : undeclared identifier    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    2051    1    DSUtil
Error    12    error C2065: 'GC_PAN_WITH_SINGLE_FINGER_VERTICALLY' : undeclared identifier    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    2051    1    DSUtil
Error    13    error C2065: 'GID_PAN' : undeclared identifier    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    2057    1    DSUtil
Error    14    error C2065: 'GC_PAN_WITH_SINGLE_FINGER_HORIZONTALLY' : undeclared identifier    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    2057    1    DSUtil
Error    15    error C2065: 'GID_PAN' : undeclared identifier    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    2063    1    DSUtil
Error    16    error C2065: 'GC_PAN_WITH_GUTTER' : undeclared identifier    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    2063    1    DSUtil
Error    17    error C2065: 'GID_PAN' : undeclared identifier    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    2069    1    DSUtil
Error    18    error C2065: 'GC_PAN_WITH_INERTIA' : undeclared identifier    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    2069    1    DSUtil
Error    19    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    2953    1    DSUtil
Error    20    error C2146: syntax error : missing ';' before identifier 'GetCurrentGestureInfo'    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    2953    1    DSUtil
Error    21    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    2954    1    DSUtil
Error    23    error C2061: syntax error : identifier 'PTOUCHINPUT'    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    2986    1    DSUtil
Error    24    error C2061: syntax error : identifier 'PTOUCHINPUT'    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    2996    1    DSUtil
Error    25    error C2146: syntax error : missing ';' before identifier 'm_pCurrentGestureInfo'    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    3009    1    DSUtil
Error    26    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    3009    1    DSUtil
Error    27    error C2065: 'm_pCurrentGestureInfo' : undeclared identifier    c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\afxwin.h    2955    1    DSUtil

The first error takes me to the following code in CGESTURECONFIG in afxwin.h

Code:
protected:
    PGESTURECONFIG m_pConfigs;
    int    m_nConfigs;

It looks like my dev environment doesn't have support for a lot of the functionality around GESTUREs?

I'm thinking it may be easier to just go back to VS2010 / .Net 3.5 and start again?
 

Benoire

MP Donator
  • Premium Supporter
  • March 17, 2012
    679
    161
    44
    Auckland
    Home Country
    New Zealand New Zealand
    Nope, I'm struggling with them in a VM with VS2010 and VS2012... I got a lot of errors being thrown up even though I have followed the wiki.

    I'm going to have a play later on with it following the wiki's instructions again, so will report back if I get them working.
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    Hi guys,

    there is no problem with filter.sln in VS2010. ;)
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    Can you upload the logs from build directories?
     

    Benoire

    MP Donator
  • Premium Supporter
  • March 17, 2012
    679
    161
    44
    Auckland
    Home Country
    New Zealand New Zealand
    Hey mm thanks, will do. Didn't realise I still had a SP to install for VS2010! Whoops!
     

    Benoire

    MP Donator
  • Premium Supporter
  • March 17, 2012
    679
    161
    44
    Auckland
    Home Country
    New Zealand New Zealand
    So I'm really struggling :-( It doesn't matter if I use the build scripts, the NSIS deploy scripts or even try to build in VS2010 it simply still fails. The logs attached to this post where taken after installing the latest SP to VS2010 on a brand new and untouched git folder... I'm going to look at the wiki again but I'm starting to be more stumped than before!
     

    Attachments

    • Build.zip
      208.8 KB

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    What's the problem? No errors. Looks like a successful build...
     

    Users who are viewing this thread

    Top Bottom