Game Development Community

Need help compiling new empty game

by Tengato · in Torque 3D Beginner · 12/05/2013 (4:29 pm) · 0 replies

Hi,
I downloaded a recent version of the Torque3D 3.5 source from github, did the rest of the Torque setup (Project Manager, PhysX, FPS Tutorial etc) and created a couple of test projects. They generated the Visual Studio sln files okay, and the initial game exes seem to run without any issues.

However, when I open the VS solutions (2010), they won't compile... I get tons of errors that point to a particular Win32 API file, such as:

Error 2 error C2059: syntax error : ')' c:program files (x86)microsoft sdkswindowsv7.0aincludeobjidl.h 11281 1 convexDecomp

Which is this code, in case it's relevant:

...
#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("DB2F3ACB-2F86-11d1-8E04-00C04FB9989A")
    AsyncIPipeByte : public IUnknown
    {
    public:
        virtual HRESULT STDMETHODCALLTYPE Begin_Pull( 
            /* [in] */ ULONG cRequest) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE Finish_Pull( 
            /* [length_is][size_is][out] */ __RPC__out_xcount_part(cRequest, *pcReturned) BYTE *buf,
            /* [out] */ __RPC__out ULONG *pcReturned) = 0;  //  <---- Line 11281 Error
        
        virtual HRESULT STDMETHODCALLTYPE Begin_Push( 
            /* [size_is][in] */ __RPC__in_xcount_full(cSent) BYTE *buf,
            /* [in] */ ULONG cSent) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE Finish_Push( void) = 0;
        
    };
    
#else 	/* C style interface */
...

There are a few other similar types of errors with that same file which affect a few of the solution's projects.

I'm guessing I forgot to configure or install something... Thanks for any help!



About the author

Recent Threads