GIT build crashes when trying to load game
#21
Either try even older older revisions, or maybe your dx headers are not found properly. Not sure, I don't have a build environment right now.
Reply

Sponsored links

#22
It looks like D3D11_BUFFER_UAV_FLAG_COUNTER is at D3D11.h - http://msdn.microsoft.com/en-us/library/...85%29.aspx

So I think it's indeed the headers configuration. Try to add the dir where you have D3D11.h to the include directories of the GSdx project.
Reply
#23
Well, I'm just setting up a new computer, which is why I didn't have a build environment.

- TL;DR: you need DirectX SDK June2010 installed, and then PCSX2 builds fine.

Details:

Installed VS2013 + update 4.

- I'm working with PCSX2 6d4039c which is the latest as of right now.
- I'm using the PCSX2 'Devel' build configuration.

- There are 4 failures: xpad, spu2x (xaudio2.h, dxguid.lib) and gsdx (d3dx11.h).

- All of these failures are due to missing DX SDK June 2010 (the latest stand-alone sdk download - http://www.microsoft.com/en-us/download/details.aspx?id=6812 ). If it fails at the end of the installation, you probably need to first uninstall newer vcruntime 2010 (see http://support.microsoft.com/kb/2728613 ). You can reinstall newer runtime later or just let windows update do that for you.

- After that, there's only one error left: LINK : fatal error LNK1181: cannot open input file 'opencl.lib'. Apparently that's because opencl.lib is only built on release configurations, but needed also in 'Devel'.
--> switch configuration to 'Release', and build only the opencl project -> it creates opencl.lib -> switch back to 'Devel', build again -> voila - gsdx builds too.

- Then I also tested the Release AVX2 configuration, and everything builds fine here too.

Note, the aforementioned 6d4039c has a broken GSdx (compiles, but hangs PCSX2). GSdx of 7b7a977 does work well, and it's likely that HEAD will too work again soon, but as of right now it doesn't.
Reply
#24
avih , AdderDee , I put some effort into updating the Windows compilation guide here:
http://wiki.pcsx2.net/index.php/Compiling_on_Windows
Reply
#25
I fixed the errors by uninstalling all the VC++ Redists from 2010 onwards and then installing DirectX SDK 2010. However, when I go to change the video plugin settings, I just get a box that says "GSNull configuration" and I can't change the backend. What should I do to get the full video plugin menu back?

Thank you very much for updating the compile guide btw, pal1000.
Reply




Users browsing this thread: 1 Guest(s)