|
-
Jan 28th, 2003, 07:36 PM
#1
Installation question (New and Improved)
I'm a bit embarrassed to ask this, since I suspect the answer is simple, but I haven't been able to track it down by any means. I was working on a program in VC6 on a computer which turned out to be inadequate for testing purposes. Therefore, I got a new system with sufficient memory for my purposes, installed VC6, and moved all the project files across. The program compiled and built just fine on the old system, but now I get a string of link errors which I have determined to be occuring because I am linking to retail versions of the libraries instead of debug versions.
That should be something simple to fix, but all the settings show that I am building the debug version, and I can't find anywhere to specify a different version of the .dlls to link in.
There must be something that I am overlooking, but I can't figure out what it is. Any suggestions?
Last edited by Shaggy Hiker; Feb 4th, 2003 at 10:15 AM.
-
Jan 28th, 2003, 08:34 PM
#2
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.
-
Jan 29th, 2003, 09:54 PM
#3
Ahh, I can't recall. The problems are really standard stuff, and I don't think they are any of the directx dll's, but I'll have to look tonight to be certain. I'll get that info and post tomorrow.
-
Jan 31st, 2003, 04:11 PM
#4
Sorry, I think I will have to deal with this Monday. I am in the middle of moving, and realized that all references to this program are currently packed in boxes. Furthermore, our IT dept is demanding that we shut down so that they can clean our computers.
-
Feb 4th, 2003, 10:15 AM
#5
The link error is LNK2001, and it only occurs when I compile the debug version, the retail version is fine. Since this could occur when linking to the wrong versions of the libraries, I think I have something set wrong. The libraries in question appear to be user32.lib, gdi.lib, winmm.lib, and the directx libraries. The errors are for really simple functions like cos(), sin(), and some similar simple math related functions. Interstingly, I don't think I actually use cos() or sin(), since I created a lookup table to handle those functions.
I have a vague memory of installing something that asked whether I wanted to install the retail or the debug version. Could this have been DirectX 7, and could that be the problem?
-
Feb 7th, 2003, 06:54 PM
#6
Perhaps you set those libraries to be linked only in the Release build? Check under the linker options and make sure they are set for "All Builds" not just Release.
Every passing hour brings the Solar System forty-three thousand miles closer to Globular Cluster M13 in Hercules -- and still there are some misfits who insist that there is no such thing as progress.
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
|