Has anybody had success building the cvs version of panda with DirectX? What version did you use? What about the August 2009 SDK?
I’m getting this with that SDK:
C:\Program Files (x86)\Microsoft DirectX SDK (August 2009)\include\d3d9.h(2697)
: warning C4002: too many actual parameters for macro 'Configure'
C:\Program Files (x86)\Microsoft DirectX SDK (August 2009)\include\d3d9.h(2697)
: error C2226: syntax error : unexpected type 'StaticInitializer_'
C:\Program Files (x86)\Microsoft DirectX SDK (August 2009)\include\d3d9.h(2697)
: error C2334: unexpected token(s) preceding '{'; skipping apparent function bod
y
C:\Program Files (x86)\Microsoft DirectX SDK (August 2009)\include\d3d9.h(2697)
: error C2146: syntax error : missing ';' before identifier 'UINT'
C:\Program Files (x86)\Microsoft DirectX SDK (August 2009)\include\d3d9.h(2697)
: error C4430: missing type specifier - int assumed. Note: C++ does not support
default-int
C:\Program Files (x86)\Microsoft DirectX SDK (August 2009)\include\d3d9.h(2697)
: error C4430: missing type specifier - int assumed. Note: C++ does not support
default-int
C:\Program Files (x86)\Microsoft DirectX SDK (August 2009)\include\d3d9.h(2697)
: error C2146: syntax error : missing ';' before identifier 'UINT'
C:\Program Files (x86)\Microsoft DirectX SDK (August 2009)\include\d3d9.h(2697)
: error C2086: 'UINT IDirect3DAuthenticatedChannel9::InputSize' : redefinition
C:\Program Files (x86)\Microsoft DirectX SDK (August 2009)\include\d3d9.
h(2697) : see declaration of 'IDirect3DAuthenticatedChannel9::InputSize'
C:\Program Files (x86)\Microsoft DirectX SDK (August 2009)\include\d3d9.h(2697)
: error C2059: syntax error : '='
C:\Program Files (x86)\Microsoft DirectX SDK (August 2009)\include\d3d9.h(2697)
: error C2238: unexpected token(s) preceding ';'
f:\devel4\panda3d\panda3d\panda\src\dxgsg9\dxgsg9base.h(34) : fatal error C1083:
Cannot open include file: 'dxerr9.h': No such file or directory
Storing dependency cache.
Elapsed Time: 12 sec
Everything builds OK without dx9. I’m using VS 2008 Pro on Windows 7 - 64.
My settings:
makepanda\makepanda.bat --everything --verbose --optimize 3 --no-maya6 --no-maya65 --no-maya7 --no-maya8 --no-maya85 --no-tinyxml --no-maya2008 --no-maya2009 --no-max6 --no-max7 --no-max8 --no-max9 --no-max2009 --no-max2010 --no-dx8 --no-python --no-jpeg --no-tiff --no-vrpn --no-fmodex --no-openssl --no-fftw --no-artoolkit --no-squish --no-ode --no-directcam --no-npapi --no-opencv --no-ffmpeg --no-fcollada --no-gtk2 --no-wx