Sign in to follow this  

Stopping visual studio using directx libs

This topic is 2050 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

I've been trying to use visual c++ 2010 but whenever i try to compile a program, even a simple hello world program, it keeps on coming up with this
1>LINK : fatal error LNK1104: cannot open file 'D3DX10.lib'
1> The command exited with code 1104.
1>Done executing task "Link" -- FAILED.
1>Done building target "Link" in project "Hello world.vcxproj" -- FAILED.

Anything i can do to stop it? I even re-installed visual c++ but its still coming up with the same errors

Share this post


Link to post
Share on other sites
Do you have the DirectX SDK installed? If so, take a look at the property pages of some of the sample programs. They will show you how to set up the options for getting a D3D application to compile and run. Specifically, you should be looking at the "VC++ Directories" properties, and set the include, executable, and library folders like they are in the sample programs. That should get you going!

Share this post


Link to post
Share on other sites
[quote name='Jason Z' timestamp='1336012041' post='4936936']
Do you have the DirectX SDK installed? If so, take a look at the property pages of some of the sample programs. They will show you how to set up the options for getting a D3D application to compile and run. Specifically, you should be looking at the "VC++ Directories" properties, and set the include, executable, and library folders like they are in the sample programs. That should get you going!
[/quote]
Okay, i got the SDK installed, but i cant find the "VC++ Directories". What are they? And, this is probably going to sound like a noobish question, but how do i compile just a normal program? Like I said before, i cant even get a simple hello world program to work

Share this post


Link to post
Share on other sites
You can get to the properties diaglog box by right clicking on the project from within the solution explorer. When you open it up, take some time and look around at the various options and properties - there are tons of them. Eventually you will become much more familiar with these things, but for now you can just attack the VC++ Directories settings.

Please note that this assumes that you have a project created - have you followed a tutorial to get your hello world program started up?

Share this post


Link to post
Share on other sites

This topic is 2050 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this