03-05-2010, 05:25 AM
sorry im not sure where to post this but, like the name says im having errors compiling gsdx. I've already checked over all the directories 200 times and ive redownloaded the svn over 5 times. Ive tried searching all over google and over a bunch of forums but i cant find out where i went wrong. My build log looks like this:
(Cut some off cuase it's long but it only errors after GS.cpp is read)
1>GSState.cpp
1>GSLocalMemory.cpp
1>GSdx.cpp
1>GSBlock.cpp
1>GS.cpp
1>c:\users\jon\desktop\pcsx2 0.9.7\plugins\gsdx\GSDeviceOGL.h(96) : error C2146: syntax error : missing ';' before identifier 'm_context'
1>c:\users\jon\desktop\pcsx2 0.9.7\plugins\gsdx\GSDeviceOGL.h(96) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\jon\desktop\pcsx2 0.9.7\plugins\gsdx\GSDeviceOGL.h(96) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\jon\desktop\pcsx2 0.9.7\plugins\gsdx\GSDeviceOGL.h(98) : error C2061: syntax error : identifier 'CGcontext'
1>c:\users\jon\desktop\pcsx2 0.9.7\plugins\gsdx\GSDeviceOGL.h(99) : error C2061: syntax error : identifier 'CGcontext'
1>c:\users\jon\desktop\pcsx2 0.9.7\plugins\gsdx\GSDeviceOGL.h(98) : error C2065: 'p' : undeclared identifier
1>c:\users\jon\desktop\pcsx2 0.9.7\plugins\gsdx\GSDeviceOGL.h(98) : error C2227: left of '->OnCgError' must point to class/struct/union/generic type
1> type is ''unknown-type''
1>c:\users\jon\desktop\pcsx2 0.9.7\plugins\gsdx\GSDeviceOGL.h(98) : error C2065: 'ctx' : undeclared identifier
1>c:\users\jon\desktop\pcsx2 0.9.7\plugins\gsdx\GSDeviceOGL.h(98) : error C2065: 'err' : undeclared identifier
1>c:\users\jon\desktop\pcsx2 0.9.7\plugins\gsdx\GSDeviceOGL.h(172) : error C2065: 'CGerror' : undeclared identifier
1>c:\users\jon\desktop\pcsx2 0.9.7\plugins\gsdx\GSDeviceOGL.h(172) : error C2146: syntax error : missing ';' before identifier 'error'
1>c:\users\jon\desktop\pcsx2 0.9.7\plugins\gsdx\GSDeviceOGL.h(172) : error C2065: 'error' : undeclared identifier
1>c:\users\jon\desktop\pcsx2 0.9.7\plugins\gsdx\GSDeviceOGL.h(174) : error C2065: 'error' : undeclared identifier
1>c:\users\jon\desktop\pcsx2 0.9.7\plugins\gsdx\GSDeviceOGL.h(174) : error C3861: 'cgGetLastErrorString': identifier not found
1>c:\users\jon\desktop\pcsx2 0.9.7\plugins\gsdx\GSDeviceOGL.h(176) : error C2065: 'error' : undeclared identifier
1>c:\users\jon\desktop\pcsx2 0.9.7\plugins\gsdx\GSDeviceOGL.h(176) : error C2065: 'CG_NO_ERROR' : undeclared identifier
1>c:\users\jon\desktop\pcsx2 0.9.7\plugins\gsdx\GSDeviceOGL.h(180) : error C2065: 'error' : undeclared identifier
1>c:\users\jon\desktop\pcsx2 0.9.7\plugins\gsdx\GSDeviceOGL.h(180) : error C2065: 'CG_COMPILER_ERROR' : undeclared identifier
1>c:\users\jon\desktop\pcsx2 0.9.7\plugins\gsdx\GSDeviceOGL.h(182) : error C2065: 'm_context' : undeclared identifier
1>Project : warning PRJ0018 : The following environment variables were not found:
1>$(DXSDK_DIR)
I think im just doing something stupid so if anyone can help please do