|
-
Oct 21st, 2002, 10:48 PM
#1
Thread Starter
Addicted Member
VC++6 IDE:Setting up Library Files
I'm trying to use DirectX. I can't get the IDE to recongnize the Header Files files and the Library files. If I drag the files manuly into my project it works just fine, but I'm getting tired of doing that.
How or Why isn't finding the files?
-
Oct 22nd, 2002, 06:46 AM
#2
Tools->Options->Directories
You must add the include and library paths of your DirectX SDK. They should be at the first position.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Oct 24th, 2002, 03:40 PM
#3
Thread Starter
Addicted Member
I already did that. I can get it to find the header file but I can't get it to find the LIB files. I add the LIB path to the directory list but unles I manuly add the LIB files I get those stupid LNK errors.
What else did I forget to do?
-
Oct 24th, 2002, 03:53 PM
#4
You have to manually add them, the directory only says where it should search for the files you manually add.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Oct 24th, 2002, 09:44 PM
#5
Thread Starter
Addicted Member
What? I don't get what you're saying. The file lib files are located in D:\dxsdk8\lib. I add the directory D:\dxsdk8\lib to the Library Files. The compiler should find the files right?
But it doesn't find them. I have to manuly add the LIB files to my Workspace for it to work right.
-
Oct 25th, 2002, 10:29 AM
#6
In the linker options of your project there is a place where you can specify the libraries it should link to. You must list the libs there, and you need to do it explicitly.
The reason is that the linker can't use every available library in those directories everytime, it would take too long and would often result in ambiguity errors.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Oct 25th, 2002, 08:23 PM
#7
Thread Starter
Addicted Member
I Think I know what your saying but how do I list the libs?
-
Oct 27th, 2002, 08:44 AM
#8
There's an edit field where you simply write their names into.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|