Jump to content

  • Log In with Google      Sign In   
  • Create Account

14 years ago on June 15th Gamedev.net was first launched! We want to thank all of you for being part of our community and hope the best years are ahead of us. Happy birthday Gamedev.net!

Stopping visual studio using directx libs


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

#1 patric   Members   -  Reputation: 101

Like
0Likes
Like

Posted 02 May 2012 - 08:00 PM

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

Sponsor:

#2 Jason Z   GDNet+   -  Reputation: 2601

Like
0Likes
Like

Posted 02 May 2012 - 08:27 PM

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!
Jason Zink :: DirectX MVP
Check out our (now available) D3D11 book: Practical Rendering and Computation with Direct3D 11
Check out my Direct3D 11 engine on CodePlex: Hieroglyph 3
Check out our free online D3D10 book: Programming Vertex, Geometry, and Pixel Shaders
Lunar Rift :: Dual-Paraboloid Mapping Article :: Parallax Occlusion Mapping Article :: Fast Silhouettes Article

#3 patric   Members   -  Reputation: 101

Like
0Likes
Like

Posted 03 May 2012 - 02:25 AM

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!

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

#4 Jason Z   GDNet+   -  Reputation: 2601

Like
0Likes
Like

Posted 03 May 2012 - 03:37 AM

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?
Jason Zink :: DirectX MVP
Check out our (now available) D3D11 book: Practical Rendering and Computation with Direct3D 11
Check out my Direct3D 11 engine on CodePlex: Hieroglyph 3
Check out our free online D3D10 book: Programming Vertex, Geometry, and Pixel Shaders
Lunar Rift :: Dual-Paraboloid Mapping Article :: Parallax Occlusion Mapping Article :: Fast Silhouettes Article




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