Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

Configuring VS 2012 with DX11 on 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
4 replies to this topic

#1 arroyjose   Members   -  Reputation: 146

Like
0Likes
Like

Posted 10 February 2013 - 11:09 AM

If anyone could me help with this, I would really appreciate it.  What are the necessery steps to get VS2012 to work with the DX11 June SDK?

 

I started reading the book "3D Game Programming with DirectX 11" yesterday.  The book uses vs2010, but I have a license of vs2012 and would rather use the latter instead.  I followed the instructions given by the author in a blog post.  The problem is that I can build an example solution, but the program crashes once I run it.


Edited by arroyjose, 10 February 2013 - 11:13 AM.


Ad:

#2 EddieV223   Members   -  Reputation: 751

Like
0Likes
Like

Posted 10 February 2013 - 02:18 PM

in your project settings put your include folder and the lib folder in the appropiate sections.  Make sure to add the directx 11 libs to the linker.  

 

Also if you don't know how to do this yet, but you think you can just pick up programming and directx 11 on the fly, you are in for it.


Edited by EddieV223, 10 February 2013 - 02:20 PM.

If this post was helpful and/or constructive please give rep.

SFML2.0 Nightly Download Link http://en.sfml-dev.org/forums/index.php?topic=9513.0

SFML2.0 Tutorials http://www.sfml-dev.org/tutorials/2.0/


#3 AngryPlatypus   Members   -  Reputation: 232

Like
0Likes
Like

Posted 10 February 2013 - 02:20 PM

Vs2012 has its own DirectX SDK build in. It annoyed me too, but works fine now. See section 5 here: http://msdn.microsoft.com/en-us/library/windows/desktop/ee663275.aspx

 

edit: you need to link the libraries like you would do it in vs2010


Edited by AngryPlatypus, 10 February 2013 - 02:22 PM.


#4 EddieV223   Members   -  Reputation: 751

Like
0Likes
Like

Posted 10 February 2013 - 02:21 PM

Vs2012 has its own DirectX SDK build in. It annoyed me too, but works fine now. See section 5 here: http://msdn.microsoft.com/en-us/library/windows/desktop/ee663275.aspx

He's using windows 7, and wants to use the directx sdk.


Edited by EddieV223, 10 February 2013 - 02:24 PM.

If this post was helpful and/or constructive please give rep.

SFML2.0 Nightly Download Link http://en.sfml-dev.org/forums/index.php?topic=9513.0

SFML2.0 Tutorials http://www.sfml-dev.org/tutorials/2.0/


#5 powly k   Members   -  Reputation: 439

Like
0Likes
Like

Posted 10 February 2013 - 02:22 PM

I've found #pragma comment(lib, "libname.lib") to be better; it attaches your linker settings directly to your code so they won't be lost if you copy it around.

 

I remember having a really hard time finding the shader compiler dll/libs when I tried DX11 - I had to download several SDKs and look through all kinds of places.






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