Sign in to follow this  
grJubei

curse you d3dx10.lib !!!

Recommended Posts

Environment: Visual Studio 10 Beta 2 on Win7 Professional x64. DX SDK installed and paths /Include /lib added in VC++ directories as well as d3d10.lib and d3dx10.lib added to the linker. Build target is Debug Win32. No matter what I do visual studio complains about not being able to find d3dx10.lib on the linking step. The file is there both under x64 and under x86 I've checked it. So why can't it find it? If I copy the file to the winmain.cpp dir then it stops complaining. Any ideas would be appreciated! thanks in advance, Jubei ps. When adding paths in VC++ directories you're supposed to add the path depending on the build target right? not your system? i.e. i'm building for x86 so I will include $(SDK_HOME)\Lib\x86 , regardless that I'm on x64 Win7 right? (I've tried all combos anyway and it can't find d3dx10.lib no matter what) [Edited by - grJubei on February 7, 2010 9:54:16 AM]

Share this post


Link to post
Share on other sites
I just did. No helpful info there either:

1>------ Build started: Project: dx10demo, Configuration: Debug Win32 ------
1>LINK : fatal error LNK1104: cannot open file 'd3dx10.lib'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

The funny thing is that it says cannot "open" file. Does that mean that it's located the file but cannot open it?

Share this post


Link to post
Share on other sites
That message comes up when the linker's internal FileOpen call failed. Usually it is because the file cannot be located. Other reasons might include non-existing read permission, which is rare but possible.

I believe there's a separate error message for when the file contents cannot be parsed for some reason.

Share this post


Link to post
Share on other sites

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