SharpDX compiling requirements #234
Comments
For The related line where the error is generated is in GccXml. Please let us know if and how you will solve the issue - as I don't have a Win 7 OS at hand right now. This weekend, probably, I will set up a virtual machine and will check the exact minimum requirements. |
Alright, I will install the Windows SDK 7.1, however do I also require the DirectX June 2010 SDK to compile under .net 4.0 or does that come with Windows SDK 8.x? Also perhaps that message should be changed to say 7.0/7.1 only? |
AFAIK, it is needed for net40 configuration anyway. We have removed this dependency for DX11.2 configuration - so I need to recheck all this in a vm.
Probably you are right, but I will change it only after will test this behavior. |
I did a few tests in my own VM with Windows 7 SP1 with latest updates. DirectX SDK is required 100%, Windows SDK 7.1 with only Sources/Headers is required. Obviously .net 3.5 is installed. .net 4.5.1 was also installed (compiled in VS2013). |
For some reason I cannot compile SharpDX with .net 4.0Release, DIRECTX11_2RELEASE/DEBUG works though, is this normal? How should I compile the toolkit, compiling the toolkit with .net 4.0Release will result in SharpDX being compiled in the same previously failed config. |
Error 2 in gccxml Unable to locate key [SOFTWARE\Microsoft\VisualStudio\10.0\Setup\VC] in registry C:\Users\Coins\Desktop\SharpDX-master\Source\SharpDX\SharpGen 1 1 SharpDX Could this be because I only installed the Windows 7 headers only? I have doubts thats the issue though. Also what is with: Error 2 in gccxml Unable to locate key [SOFTWARE\Microsoft\VisualStudio\10.0\Setup\VC] in registry Is Visual Studio 2010 required for this? Anyway I have a good VM setup now, I can test anything using Visual Studio 2013. Give us requests if you want since I don't know what to try. I would offer to send the VM machine however it is 40GB in size and with my uploads that would probably take a week. As told before I am able to compile on DirectX11_2Release/Debug but not Net40Release. Above is the output of trying to compile the SharpDX.Toolkit with Net40Release (however it is trying to compile just SharpDX first in that config when I attempt compiling the Toolkit) |
Any idea as to why this might happen? |
Includes from VS2010 VC are required when building Net40 version. Afair, they should be installed along the Windows 7.1 SDK (and the registry should contain the correct key for |
Got it working just had to reinstall Windows 7.1 SDK with default setup (not just C++ headers). |
Thanks for the feedback, that explains it. Their are two kinds of C++ headers, the framework/platform headers and the VC headers (that are part of the compiler that is installed only if you select this option in the Windows SDK). So is your initial problem solved? (so that I can close this issue) |
Yes all good now, to prevent future confusion perhaps the following code: Should say SDK 7.1 is required for Windows 7. Windows 8 can use SDK 8? or something along them lines? |
I am trying to compile SharpDX. However I am getting the following errors:
Error 1 Process stopped. Missing Windows SDK [7.0a/7.1]. Download at least SDK 7.1 from: http://www.microsoft.com/en-us/download/details.aspx?id=8279 or install a recent Windows8.0/8.1 SDK C:\Users\Xanather\Documents\Files\Programming\Libraries\SharpDX-master\Source\SharpDX\SharpGen 1 1 SharpDX
Error 2 The command ""C:\Users\Xanather\Documents\Files\Programming\Libraries\SharpDX-master\Source\Tools\SharpGen\RunGenerator.bat" Net40Release" exited with code -1. C:\Users\Xanather\Documents\Files\Programming\Libraries\SharpDX-master\Source\SharpDX\SharpDX.csproj 237 5 SharpDX
Error 3 Source file 'Generated\Enumerations.cs' could not be found C:\Users\Xanather\Documents\Files\Programming\Libraries\SharpDX-master\Source\SharpDX.DXGI\CSC SharpDX.DXGI
Error 4 Source file 'Generated\Functions.cs' could not be found C:\Users\Xanather\Documents\Files\Programming\Libraries\SharpDX-master\Source\SharpDX.DXGI\CSC SharpDX.DXGI
Error 5 Source file 'Generated\Interfaces.cs' could not be found C:\Users\Xanather\Documents\Files\Programming\Libraries\SharpDX-master\Source\SharpDX.DXGI\CSC SharpDX.DXGI
Error 6 Source file 'Generated\LocalInterop.cs' could not be found C:\Users\Xanather\Documents\Files\Programming\Libraries\SharpDX-master\Source\SharpDX.DXGI\CSC SharpDX.DXGI
Error 7 Source file 'Generated\Structures.cs' could not be found C:\Users\Xanather\Documents\Files\Programming\Libraries\SharpDX-master\Source\SharpDX.DXGI\CSC SharpDX.DXGI
Error 8 Source file 'Generated\Enumerations.cs' could not be found C:\Users\Xanather\Documents\Files\Programming\Libraries\SharpDX-master\Source\SharpDX.Direct3D11\CSC SharpDX.Direct3D11
Error 9 Source file 'Generated\Functions.cs' could not be found C:\Users\Xanather\Documents\Files\Programming\Libraries\SharpDX-master\Source\SharpDX.Direct3D11\CSC SharpDX.Direct3D11
Error 10 Source file 'Generated\Interfaces.cs' could not be found C:\Users\Xanather\Documents\Files\Programming\Libraries\SharpDX-master\Source\SharpDX.Direct3D11\CSC SharpDX.Direct3D11
Error 11 Source file 'Generated\LocalInterop.cs' could not be found C:\Users\Xanather\Documents\Files\Programming\Libraries\SharpDX-master\Source\SharpDX.Direct3D11\CSC SharpDX.Direct3D11
Error 12 Source file 'Generated\Structures.cs' could not be found C:\Users\Xanather\Documents\Files\Programming\Libraries\SharpDX-master\Source\SharpDX.Direct3D11\CSC SharpDX.Direct3D11
It is saying I need to install the Windows SDK. I have Visual Studio 2013 installed on a Windows 7 computer. I thought Visual Studio 2013 installs the Windows 8.1 SDK along with it (which also now includes the latest DirectX SDK doesn't it)?
It is confusing, I am lost to what I am required to install. The DirectX 2010 June SDK is now depreciated and says that it is included in 8.x Windows SDKs.
Any ideas?
The text was updated successfully, but these errors were encountered: