Jump to content
  • Advertisement
Sign in to follow this  
Juskelis

Setting up DXUT.lib

This topic is 1938 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

So, I've been reading Game Coding Complete 4th edition for a while, and I decided to take a crack at actually starting to code it for myself. I started by looking at the source code for the initialization sequence, found here.

 

Right now I'm just trying to set up some of the pragma comments. For now I'm going to ignore the bullet stuff and just focus on getting the framework down. At the moment I have this:

#pragma comment(lib, "shell32.lib")
#pragma comment(lib, "advapi32.lib")

#pragma comment(lib, "DXUT.lib")
#pragma comment(lib, "dxutopt.lib")

When I try to build this, I get an error saying that DXUT.lib can't be found. I looked around and I saw that I had to build it myself, so I built it and got an object file library and a bunch of other things, which I tried moving to a /lib folder in the project directory. Still didn't work.

 

The lib folder path is Documents//Visual Studio 2012//Projects//[ProjectName]//lib

I also tried putting the lib folder in //[ProjectName]//[ProjectName], but that didn't work either.

 

I have an inherited library path of $(VCInstallDir)lib, am I putting it in the right place? If so, do I need to do something special with DXUT?

Share this post


Link to post
Share on other sites
Advertisement

Maybe I am wrong, but DXUT is a pure C++ code and a program can not be linked against it.

You would include a few files to your project from DirectX SDK.

For Windows 8 projects DXUT could be less usefulf because of new Windows SDK constraints.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!