cxt / webp

Automatically exported from code.google.com/p/webp
0 stars 0 forks source link

Trying to make dll file using nmake.exe #242

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
how to Compiling on Windows with Visual C++

when i try to input those command on Visual Studio 2005 Command Prompt 

it occurs error like this? 

C:\libwebp-0.4.2>nmake /f Makefile.vc CFG=release-static RTLIBCFG=static 
OBJDIR=output

Microsoft(R) Program Maintenance Utility 버전 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

        cl.exe /nologo /O2 /DNDEBUG /MT /Isrc /nologo /W3 /EHsc /c /GS /DWIN32 /D_CRT_SECURE_NO_WARNINGS /DWIN32_LEAN_AND_MEAN /DHAVE_WINCODEC_H /DWEBP_USE_THREAD /Fdoutput\release-static\x86\obj\examples\ /Fooutput\release-static\x86\obj\examples\ examples\wicdec.c
wicdec.c
examples\wicdec.c(30) : fatal error C1083: 포함 파일을 열 수 
없습니다. 'wincodec.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 
8\VC\BIN\cl.exe"' : '0x2' 반환 코드입니다.
Stop.

thanks in advnace

Original issue reported on code.google.com by Lucete...@gmail.com on 13 Feb 2015 at 7:22

Attachments:

GoogleCodeExporter commented 9 years ago
I don't have a Visual Studio 2005 setup so I don't know if it actually came 
with wincodec.h or whether it was in a platform sdk for example.
As a workaround you can remove '/DHAVE_WINCODEC_H' which will limit your input 
file format options in cwebp, but not affect libwebp.dll at all.
Another option would be to upgrade to Visual Studio 2008 or higher. Those are 
built nightly and are known to work.

Original comment by jz...@google.com on 14 Feb 2015 at 3:22

GoogleCodeExporter commented 9 years ago
Thanks to reply. and have more question. What i'm trying to do on my 
application program is that just view web file image. it's pretty old program 
based on .net framework 2.0. so i couldn't upgrade .net framework. is there any 
way workaround to build dll on .net framework 2.0?? 

Original comment by Lucete...@gmail.com on 15 Feb 2015 at 11:10

GoogleCodeExporter commented 9 years ago
The code itself should build and be usable. This define is used only by the 
examples and without any auto-detection we assume wincodec.h is available in 
this makefile. Try removing it and let me know if there are any other issues 
you run into.

Original comment by jz...@google.com on 18 Feb 2015 at 12:17

GoogleCodeExporter commented 9 years ago
were you able to try the workaround for vs2k5?

Original comment by jz...@google.com on 26 Feb 2015 at 3:33