Jump to content

  • Log In with Google      Sign In   
  • Create Account

DirectX 11 VS2012 and Windows 7


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
5 replies to this topic

#1 TiagoCosta   Crossbones+   -  Reputation: 2456

Like
0Likes
Like

Posted 23 January 2013 - 11:38 AM

Hi,

 

I tried Visual Studio 2012 during the beta on Windows 7 but it caused problems with DirectX 11 and I couldn't even compile the program.

So I uninstalled it, and had to re install the DXSDK because VS2012 changed DXSDK libraries and not even VS2010 was working.

 

Have this problems been solved in the final version on VS2012? Does it work properly in Windows 7?



Sponsor:

#2 kauna   Crossbones+   -  Reputation: 2853

Like
0Likes
Like

Posted 23 January 2013 - 01:35 PM

I for one can use Win7 and VS2012 and DXSDK. 

 

Cheers!



#3 clb   Members   -  Reputation: 1790

Like
0Likes
Like

Posted 23 January 2013 - 02:38 PM

I am also using VS2012 + DXSDK on Win7, and it works ok now. With the older Developer Preview I hit odd issues with DX.

 

The bug you refer to may have been this: https://connect.microsoft.com/VisualStudio/feedback/details/702649/after-installing-vs2011-preview-running-d3d11-apps-in-debugger-print-bogus-errors


Me+PC=clb.demon.fi | C++ Math and Geometry library: MathGeoLib, test it live! | C++ Game Networking: kNet | 2D Bin Packing: RectangleBinPack | Use gcc/clang/emcc from VS: vs-tool | Resume+Portfolio | gfxapi, test it live!

#4 TiagoCosta   Crossbones+   -  Reputation: 2456

Like
0Likes
Like

Posted 23 January 2013 - 04:18 PM

I just installed VS2012 and my code is compiling but its generating thousands of warnings like this:

1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\d3d11.h(918): warning C4005: 'D3D11_ERROR_FILE_NOT_FOUND' : macro redefinition
1>          c:\program files (x86)\windows kits\8.0\include\shared\winerror.h(49826) : see previous definition of 'D3D11_ERROR_FILE_NOT_FOUND'

 

Any idea on how to fix it?



#5 Mike.Popoloski   Crossbones+   -  Reputation: 2931

Like
0Likes
Like

Posted 23 January 2013 - 04:27 PM

My projects get the same macro redefinition warnings. Hasn't seemed to cause any problems. It's a consequence of having the DXSDK and the Windows 8 Kits duplicating some things I guess.


Edited by Mike.Popoloski, 23 January 2013 - 04:27 PM.

Mike Popoloski | Journal | SlimDX

#6 Adam_42   Crossbones+   -  Reputation: 2619

Like
1Likes
Like

Posted 23 January 2013 - 06:32 PM

You may find the advice at http://msdn.microsoft.com/en-us/library/windows/desktop/ee663275.aspx useful - you can get rid of at least some of those warnings. It also covers issues you'll probably run into if you're using XInput or XAudio2.






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