Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


Visual Studio 2013 Graphics Debug


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
7 replies to this topic

#1 Saad Manzur   Members   -  Reputation: 203

Like
0Likes
Like

Posted 06 March 2014 - 11:18 AM

Hi I am trying to use the Visual Studio 2013 Graphics debugger and tried to create an event group. Bute I ran into a problem while including d3d11_1.h header file . I copied the header to my include directory in June 2010 SDK's include file. But the following error pops up.

1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgi1_2.h(1271): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgi1_2.h(1271): error C2143: syntax error : missing ',' before '*'

1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgi1_2.h(1275): error C2061: syntax error : identifier 'DXGI_RGBA'

I am have also copied over dxgi1_2.h in the include directory . What is causing this problem ? Is it a conflict problem ? Can any one give me any pointer on how to create this event group ?

I am including the directx sdk june 2010 version. And all inherited paths along with it.



Sponsor:

#2 Promit   Moderators   -  Reputation: 7667

Like
1Likes
Like

Posted 06 March 2014 - 11:47 AM

You can't just randomly splice the headers together from different SDK versions. You need to update wholesale to a recent version of the SDK.



#3 Saad Manzur   Members   -  Reputation: 203

Like
0Likes
Like

Posted 06 March 2014 - 11:50 AM

You can't just randomly splice the headers together from different SDK versions. You need to update wholesale to a recent version of the SDK.

Where can I get the june 2013 sdk ? Silly question . I googled it but cannot find it . I know it is included in the windows sdk. But how can I include it ?



#4 Zaoshi Kaba   Crossbones+   -  Reputation: 4633

Like
1Likes
Like

Posted 06 March 2014 - 12:11 PM

Visual Studio 2013 comes with Direct SDK built-in into Windows SDK.

In other words, you need only VS2013. Uninstall your DirectX June 2010 SDK (or whatever month it is).

However keep in mind that you will lose D3DX, which includes texture loading & other stuff.



#5 Saad Manzur   Members   -  Reputation: 203

Like
0Likes
Like

Posted 06 March 2014 - 12:18 PM

 

However keep in mind that you will lose D3DX, which includes texture loading & other stuff.

 

Then how do I load textures ? 



#6 cgrant   Members   -  Reputation: 761

Like
2Likes
Like

Posted 06 March 2014 - 12:44 PM

You would have to write your own loader or use a 3rd party library to do so . D3DX is a utility library and is really not required to use D3D, hence the removal in later version of the DXSDK.



#7 Ravyne   GDNet+   -  Reputation: 8193

Like
2Likes
Like

Posted 06 March 2014 - 12:49 PM

DXTK (DirectX Tool Kit) has WIC-based texture loading for a variety of file formats.



#8 SeanMiddleditch   Members   -  Reputation: 7257

Like
1Likes
Like

Posted 06 March 2014 - 02:20 PM

https://directxtk.codeplex.com/






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS