Re: [CMake] LINK : fatal error LNK1104: cannot open file 'z.lib'

2009-06-08 Thread Denis Scherbakov
> On Sat, Jun 06, 2009 at 07:43:00PM +0200, motes motes > wrote: > > Sorry for the confusion. My point was that when I > downloaded zlib for > > windows there was no file called 'z.lib'. I would like > to know if anyone > > knows where this z.lib file might be found. Compile it yourself? zLib is

Re: [CMake] LINK : fatal error LNK1104: cannot open file 'z.lib'

2009-06-06 Thread Tyler Roscoe
Make sure you reply to the list, not just to me. And please don't top-post. On Sat, Jun 06, 2009 at 07:43:00PM +0200, motes motes wrote: > Sorry for the confusion. My point was that when I downloaded zlib for > windows there was no file called 'z.lib'. I would like to know if anyone > knows where

Re: [CMake] LINK : fatal error LNK1104: cannot open file 'z.lib'

2009-06-06 Thread Tyler Roscoe
On Sat, Jun 06, 2009 at 09:30:00AM +0200, motes motes wrote: > I use cmake to create makefiles for a C++ project. One of the target links > is just called 'z': > > TARGET_LINK_LIBRARIES(z ... What do you mean by "target links"? Do you mean "libraries needed by my target"? Your TARGET_LINK_LIBRA

[CMake] LINK : fatal error LNK1104: cannot open file 'z.lib'

2009-06-06 Thread motes motes
I use cmake to create makefiles for a C++ project. One of the target links is just called 'z': TARGET_LINK_LIBRARIES(z ... When I try to compile the code (Visual Studio 2008) I get: LINK : fatal error LNK1104: cannot open file 'z.lib' I have tried to download zlib for windows and point to the