Just thowing out an idea.

Maybe that object file is in another place ? maybe you can use the debug one
in your release or something .. ?

If you have a cmake gui (like ccmake) you could probably search for where
it's looking for that .obj file,  then update the cmake cache to find the
real one.

Perhaps you don't need 686 but x86_64 or something like that ?

http://www.cmake.org/cmake/help/runningcmake.html

Kind Regards,
Matthew Sherborne

On Thu, Sep 15, 2011 at 1:14 AM, Alec Taylor <alec.tayl...@gmail.com> wrote:

> Completely removed Visual Studio and all redists (in fact, everything
> beginning with "Microsoft Visual").
>
> Ran CCleaner and Glary Utilities to clear up all the registry
> remainders. Restarted. Downloaded the latest VS2010 Ultimate.
> Downloaded zlib. Ran the vs2010 from contrib. Followed install guide.
> Debug compiled fine, but Release:
>
> 1>------ Build started: Project: zlibstat, Configuration: Release Win32
> ------
> 1>Build started 15/09/2011 1:11:39 AM.
> 1>InitializeBuildStatus:
> 1>  Touching "x86\ZlibStatRelease\Tmp\zlibstat.unsuccessfulbuild".
> 1>ClCompile:
> 1>  adler32.c
> 1>  compress.c
> 1>  crc32.c
> 1>  deflate.c
> 1>  gzclose.c
> 1>  gzlib.c
> 1>  gzread.c
> 1>  gzwrite.c
> 1>  infback.c
> 1>  inffast.c
> 1>  inflate.c
> 1>  inftrees.c
> 1>  ioapi.c
> 1>  trees.c
> 1>  uncompr.c
> 1>  unzip.c
> 1>  zip.c
> 1>  zutil.c
> 1>  Generating Code...
> 1>LINK : fatal error LNK1181: cannot open input file
> '..\..\masmx86\match686.obj'
> 1>
> 1>Build FAILED.
> 1>
> 1>Time Elapsed 00:00:16.19
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
>
>
> On Sun, Sep 11, 2011 at 11:18 PM, Alec Taylor <alec.tayl...@gmail.com>
> wrote:
> > I've bene using the zlib bundled vcproj...
> >
> > I tried a clean build (deleted the entire folder, we extracted the
> > archive), and got the same error.
> >
> > On Sun, Sep 11, 2011 at 10:46 PM, Pau Garcia i Quiles
> > <pgqui...@elpauer.org> wrote:
> >> Hi,
> >>
> >> Try to clean the build, then disable your antivirus.
> >>
> >> Also, how are you building zlib? Using CMake or using the zlib-bundled
> >> vcproj? (I've used CMake many times with MSVC2010 and it has never
> failed)
> >>
> >>
> >>
> >> On Sun, Sep 11, 2011 at 1:10 PM, Alec Taylor <alec.tayl...@gmail.com>
> wrote:
> >>>
> >>> It seems like it wants me to remove the mspdb100.dll library from the
> >>> /bin directory (previously copied that file up to the cl.exe
> >>> directory, to fix an error).
> >>>
> >>> I've renamed it, and I'm now getting a different error:
> >>>
> >>> 1>------ Build started: Project: zlibstat, Configuration: Release Win32
> >>> ------
> >>> 1>Build started 11/09/2011 9:07:51 PM.
> >>> 1>InitializeBuildStatus:
> >>> 1>  Touching "x86\ZlibStatRelease\Tmp\zlibstat.unsuccessfulbuild".
> >>> 1>ClCompile:
> >>> 1>  adler32.c
> >>> 1>  compress.c
> >>> 1>  crc32.c
> >>> 1>  deflate.c
> >>> 1>  gzclose.c
> >>> 1>  gzlib.c
> >>> 1>  gzread.c
> >>> 1>  gzwrite.c
> >>> 1>  infback.c
> >>> 1>  inffast.c
> >>> 1>  inflate.c
> >>> 1>  inftrees.c
> >>> 1>  ioapi.c
> >>> 1>  trees.c
> >>> 1>  uncompr.c
> >>> 1>  unzip.c
> >>> 1>  zip.c
> >>> 1>  zutil.c
> >>> 1>  Generating Code...
> >>> 1>LINK : fatal error LNK1181: cannot open input file
> >>> '..\..\masmx86\match686.obj'
> >>> 1>
> >>> 1>Build FAILED.
> >>> 1>
> >>> 1>Time Elapsed 00:00:06.37
> >>> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
> >>> ==========
> >>>
> >>> All suggestions welcome,
> >>>
> >>> Alec Taylor
> >>>
> >>>
> >>> On Sun, Sep 11, 2011 at 7:29 PM, Pau Garcia i Quiles
> >>> <pgqui...@elpauer.org> wrote:
> >>> > Hi,
> >>> >
> >>> > Looks like you have a corrupt installation:
> >>> >
> >>> >
> >>> >
> http://social.msdn.microsoft.com/Forums/en/vcgeneral/thread/22a3cc87-7052-4ede-9a1b-81e49ab41d0d
> >>> >
> >>> >
> >>> >
> >>> > On Sun, Sep 11, 2011 at 11:21 AM, Alec Taylor <
> alec.tayl...@gmail.com>
> >>> > wrote:
> >>> >>
> >>> >> Good afternoon,
> >>> >>
> >>> >> I've followed the instructions here
> >>> >> http://redmine.webtoolkit.eu/wiki/1/Installing_Wt_on_MS_Windows,
> but
> >>> >> zlib won't compile.
> >>> >>
> >>> >> Only changes I've made from the instructions is to use vc10 and the
> >>> >> latest (zlib 1.2.5).
> >>> >>
> >>> >> Here is my build log (from the final stage):
> >>> >>
> >>> >> 1>------ Build started: Project: zlibstat, Configuration: Release
> Win32
> >>> >> ------
> >>> >> 1>Build started 11/09/2011 7:18:03 PM.
> >>> >> 1>InitializeBuildStatus:
> >>> >> 1>  Touching "x86\ZlibStatRelease\Tmp\zlibstat.unsuccessfulbuild".
> >>> >> 1>ClCompile:
> >>> >> 1>  adler32.c
> >>> >> 1>..\..\..\adler32.c : fatal error C1902: Program database manager
> >>> >> mismatch; please check your installation
> >>> >> 1>  compress.c
> >>> >> 1>..\..\..\compress.c : fatal error C1902: Program database manager
> >>> >> mismatch; please check your installation
> >>> >
> >>> > [...]
> >>> >
> >>> > --
> >>> > Pau Garcia i Quiles
> >>> > http://www.elpauer.org
> >>> > (Due to my workload, I may need 10 days to answer)
> >>> >
> >>> >
> >>> >
> ------------------------------------------------------------------------------
> >>> > Using storage to extend the benefits of virtualization and iSCSI
> >>> > Virtualization increases hardware utilization and delivers a new
> level
> >>> > of
> >>> > agility. Learn what those decisions are and how to modernize your
> >>> > storage
> >>> > and backup environments for virtualization.
> >>> > http://www.accelacomm.com/jaw/sfnl/114/51434361/
> >>> > _______________________________________________
> >>> > witty-interest mailing list
> >>> > witty-interest@lists.sourceforge.net
> >>> > https://lists.sourceforge.net/lists/listinfo/witty-interest
> >>> >
> >>> >
> >>>
> >>>
> >>>
> ------------------------------------------------------------------------------
> >>> Using storage to extend the benefits of virtualization and iSCSI
> >>> Virtualization increases hardware utilization and delivers a new level
> of
> >>> agility. Learn what those decisions are and how to modernize your
> storage
> >>> and backup environments for virtualization.
> >>> http://www.accelacomm.com/jaw/sfnl/114/51434361/
> >>> _______________________________________________
> >>> witty-interest mailing list
> >>> witty-interest@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/witty-interest
> >>
> >>
> >>
> >> --
> >> Pau Garcia i Quiles
> >> http://www.elpauer.org
> >> (Due to my workload, I may need 10 days to answer)
> >>
> >>
> ------------------------------------------------------------------------------
> >> Using storage to extend the benefits of virtualization and iSCSI
> >> Virtualization increases hardware utilization and delivers a new level
> of
> >> agility. Learn what those decisions are and how to modernize your
> storage
> >> and backup environments for virtualization.
> >> http://www.accelacomm.com/jaw/sfnl/114/51434361/
> >> _______________________________________________
> >> witty-interest mailing list
> >> witty-interest@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/witty-interest
> >>
> >>
> >
>
>
> ------------------------------------------------------------------------------
> BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
> Learn about the latest advances in developing for the
> BlackBerry&reg; mobile platform with sessions, labs & more.
> See new tools and technologies. Register for BlackBerry&reg; DevCon today!
> http://p.sf.net/sfu/rim-devcon-copy1
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to