Jump to content

  • Log In with Google      Sign In   
  • Create Account


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: 152

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.


Sponsor:

#2 EddieV223   Members   -  Reputation: 1387

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 or signature was helpful and/or constructive please give rep.

 

// C++ Video tutorials

http://www.youtube.com/watch?v=Wo60USYV9Ik

 

// Easy to learn 2D Game Library c++

SFML2.1 Download http://www.sfml-dev.org/download.php

SFML2.1 Tutorials http://www.sfml-dev.org/tutorials/2.1/

 

// SFML 2 book

http://www.amazon.com/gp/product/1849696845/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=1849696845&linkCode=as2&tag=gamer2creator-20

 


#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: 1387

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 or signature was helpful and/or constructive please give rep.

 

// C++ Video tutorials

http://www.youtube.com/watch?v=Wo60USYV9Ik

 

// Easy to learn 2D Game Library c++

SFML2.1 Download http://www.sfml-dev.org/download.php

SFML2.1 Tutorials http://www.sfml-dev.org/tutorials/2.1/

 

// SFML 2 book

http://www.amazon.com/gp/product/1849696845/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=1849696845&linkCode=as2&tag=gamer2creator-20

 


#5 powly k   Members   -  Reputation: 631

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