badpotato@rorqual:~/trunk/pcsxrr/plugins/gpuTASsoft $ make gcc -g -Wall -O4 -march=i686 -fomit-frame-pointer -ffast-math -c -D__i386__ -D_WINDOWS -DNDEBUG -DWIN32 -D__MINGW32__ -mwindows gpu.c -o ./release/gpu.o In file included from gpu.c:115: stdafx.h:36:19: TCHAR.H: No such file or directory stdafx.h:44:19: ddraw.h: No such file or directory stdafx.h:45:17: d3d.h: No such file or directory In file included from gpu.c:133: externals.h:123: error: parse error before "LPDIRECTDRAW" externals.h:123: warning: no semicolon at end of struct or union externals.h:125: warning: type defaults to `int' in declaration of `DDSPrimary' externals.h:125: warning: data definition has no type or storage class externals.h:126: error: parse error before "DDSRender" externals.h:126: warning: type defaults to `int' in declaration of `DDSRender' externals.h:126: warning: data definition has no type or storage class externals.h:127: error: parse error before "DDSHelper" externals.h:127: warning: type defaults to `int' in declaration of `DDSHelper' externals.h:127: warning: data definition has no type or storage class externals.h:128: error: parse error before "DDSScreenPic" externals.h:128: warning: type defaults to `int' in declaration of `DDSScreenPic' externals.h:128: warning: data definition has no type or storage class externals.h:130: error: parse error before '}' token externals.h:130: warning: type defaults to `int' in declaration of `sDX' externals.h:130: warning: data definition has no type or storage class externals.h:197: error: parse error before "DX" externals.h:197: warning: type defaults to `int' in declaration of `DX' externals.h:197: warning: data definition has no type or storage class gpu.c: In function `GPUgetScreenPic': gpu.c:2205: error: `DDSURFACEDESC' undeclared (first use in this function) gpu.c:2205: error: (Each undeclared identifier is reported only once gpu.c:2205: error: for each function it appears in.) gpu.c:2205: error: parse error before "xddsd" gpu.c:2212: error: `DDPIXELFORMAT' undeclared (first use in this function) gpu.c:2212: error: parse error before "dd" gpu.c:2213: error: `LPDIRECTDRAWSURFACE' undeclared (first use in this function) gpu.c:2215: error: `xddsd' undeclared (first use in this function) gpu.c:2217: error: `DDSD_WIDTH' undeclared (first use in this function) gpu.c:2217: error: `DDSD_HEIGHT' undeclared (first use in this function) gpu.c:2217: error: `DDSD_CAPS' undeclared (first use in this function) gpu.c:2218: error: `DDSCAPS_OFFSCREENPLAIN' undeclared (first use in this function) gpu.c:2218: error: `DDSCAPS_SYSTEMMEMORY' undeclared (first use in this function) gpu.c:2222: warning: implicit declaration of function `IDirectDraw_CreateSurface' gpu.c:2222: error: request for member `DD' in something not a structure or union gpu.c:2222: error: `DDSSave' undeclared (first use in this function) gpu.c:2225: error: `dd' undeclared (first use in this function) gpu.c:2226: warning: implicit declaration of function `IDirectDrawSurface_GetPixelFormat' gpu.c:2248: error: request for member `hWnd' in something not a structure or union gpu.c:2255: warning: implicit declaration of function `IDirectDrawSurface_Blt' gpu.c:2255: error: request for member `DDSPrimary' in something not a structure or union gpu.c:2256: error: `DDBLT_WAIT' undeclared (first use in this function) gpu.c:2269: warning: implicit declaration of function `IDirectDrawSurface_Lock' gpu.c:2269: error: `DDLOCK_WAIT' undeclared (first use in this function) gpu.c:2269: error: `DDLOCK_READONLY' undeclared (first use in this function) gpu.c:2271: error: `DDERR_SURFACELOST' undeclared (first use in this function) gpu.c:2271: warning: implicit declaration of function `IDirectDrawSurface_Restore' gpu.c:2275: error: `DD_OK' undeclared (first use in this function) gpu.c:2339: warning: implicit declaration of function `IDirectDrawSurface_Unlock' gpu.c:2340: warning: implicit declaration of function `IDirectDrawSurface_Release' make: *** [gpu.o] Error 1