joe_pool_is Posted May 24, 2005 Posted May 24, 2005 I have a freeware project I am trying to build in Visual C++ .NET called DOSBox. To build it, I first had to compile several other freeware projects that were required to work with it. I have now spent about 4 days working on this, but I am stuck with the following message: fatal error LNK1181: cannot open input file 'zlib.lib' I have compiled a fresh zlib.lib file, I have it referenced in the "Project | Properties | Configuration Properties | C/C++ | Command Line", and even added a Reference to it in the Solution Explorer. Why can't the linker find this? How can I help fix this problem? Any help would be appreciated. I am originally a VB.NET programmer, but I am starting to get into C++ - so the answer could be a simple one that I just don't know where to go to find the solution. Quote Avoid Sears Home Improvement
joe_pool_is Posted May 26, 2005 Author Posted May 26, 2005 Problem Solved For those interested in the solution: Some of the downloaded project files that needed to be compiled had their settings configured to run in multi-threaded mode whereas others specified single-threaded mode. I went back into all 6 of my supporting projects and set them all to the same mode (single-threaded), and recompiled them all. Just added the new avitar today. It isn't great, but it's hard to find something that's less than 75x75 *and* less than 14k. I guess I could have created one especially for this, but I'm a better programmer than a graphics art guy. How do the rest of you do it? Quote Avoid Sears Home Improvement
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.