Ok, I've managed to fix that. To anyone else having the same issues, you have to add "Additional Include Directories" to the project.You don't need a separate DirectX download to compile cxbx.
The difficulty of getting hold of a DirectX *8* SDK these days means it's easier to use the copy of the SDK included in the source code download.
See /import/DirectX8. Now if your copy of Visual Studio is reporting a problem finding dxerr8.h (which is in that folder), you'll need to consult and check the import and library path for the project files. If it's not pointing at the right spots for the bundled DirectX SDK, amend.
A quick Google for stackoverflow articles should show you how to check this in your version of Visual Stuido.
Problem the only time this will happen, but that file isn't need.Ok, I've managed to fix that. To anyone else having the same issues, you have to add "Additional Include Directories" to the project.
It's now giving me: 1>uXboxAdpcmDecoder.c
1>c1 : fatal error C1083: Cannot open source file: '..\..\src\CxbxKrnl\EmuXBAudio\uXboxAdpcmDecoder.c': No such file or directory
It seems this file doesn't actually exist in the source code, and I'm not sure how to fix it? :heh:
Thank you so much, honestly you're such a help to xbox emulation as it stands nowTo make this even easier, I've consolidated shogun's latest changes, my correctness-fixes plus a rebuilt Visual Studio 2010 (incl. Express) solution file.
This should now build the outputs with a single click of 'Build Solution'.
Can you redownload the zip package from GitHub, as changes in the last 24hrs should mean all references to DXGetErrorDescription8A, D3DXIFF_BMP and D3DXSaveSurfaceToFile are commented out -- they aren't necessary.EDIT: Still not compiling properly, giving me:
'DXGetErrorDescription8A': identifier not found
'D3DXIFF_BMP' : undeclared identifier
'D3DXSaveSurfaceToFile': identifier not found
I'm such a noob (with no experience VS related btw) and can't figure out how to fix this, looked through the threads too, maybe I missed something?
Turns out I had downloaded outdated source code from the github :doh:Can you redownload the zip package from GitHub, as changes in the last 24hrs should mean all references to DXGetErrorDescription8A, D3DXIFF_BMP and D3DXSaveSurfaceToFile are commented out -- they aren't necessary.
Also, ensure you are using the Cxbx_vc10.sln file with Visual Studio 2010 (Express version is fine). A 'Clean Build' prior to 'Build Solution' is recommended as well, using the 'Release' configuration.
Let me know which compiler you are using if that still doesn't work.