From: Cosmin T. <co...@cs...> - 2006-02-07 21:52:36
|
Hi, Emmanuel, You are using the wrong makefile. makefile.msc is for the DOS version of Microsoft C, and options like -AL only make sense for that compiler. For Visual C, you must use makefile.vcwin32, or (if you have MASM) makefile.vcawin32. Best regards, Cosmin On Tue, 31 Jan 2006, emmanuel jolly wrote: > Hi, > > I have tried compiling libpng with nmake form VC2003 but it doesn't seem = to > work. There is no problem for zlib but it seems makefile for CL is not up= to > date. > Below the report I got (Sorry this is a French version of VC but it shoul= d > be understandable) > It seems -AL is an old option for cl. Does anybody know what it means? > I am using the makefile.msc from the scripts directory (renamed makefile = it > and copied it to ..) > > Microsoft (R) Program Maintenance Utility Version 7.00.8882 > Copyright (C) Microsoft Corp 1988-2000. All rights reserved. > > cl -c -Oait -Gs -nologo -W3 -AL -I..\zlib png.c >> pngerrs > cl : Ligne de commande warning D4029 : l'optimisation n'est pas disponibl= e > dans l'=E9dition standard du compilateur > cl : Ligne de commande warning D4002 : option '-AL' inconnue ignor=E9e > cl -c -Oait -Gs -nologo -W3 -AL -I..\zlib pngset.c >> pngerrs > cl : Ligne de commande warning D4029 : l'optimisation n'est pas disponibl= e > dans l'=E9dition standard du compilateur > cl : Ligne de commande warning D4002 : option '-AL' inconnue ignor=E9e > cl -c -Oait -Gs -nologo -W3 -AL -I..\zlib pngget.c >> pngerrs > cl : Ligne de commande warning D4029 : l'optimisation n'est pas disponibl= e > dans l'=E9dition standard du compilateur > cl : Ligne de commande warning D4002 : option '-AL' inconnue ignor=E9e > cl -c -Oait -Gs -nologo -W3 -AL -I..\zlib pngrutil.c >> pngerrs > cl : Ligne de commande warning D4029 : l'optimisation n'est pas disponibl= e > dans l'=E9dition standard du compilateur > cl : Ligne de commande warning D4002 : option '-AL' inconnue ignor=E9e > cl -c -Oait -Gs -nologo -W3 -AL -I..\zlib pngtrans.c >> pngerrs > cl : Ligne de commande warning D4029 : l'optimisation n'est pas disponibl= e > dans l'=E9dition standard du compilateur > cl : Ligne de commande warning D4002 : option '-AL' inconnue ignor=E9e > cl -c -Oait -Gs -nologo -W3 -AL -I..\zlib pngwutil.c >> pngerrs > cl : Ligne de commande warning D4029 : l'optimisation n'est pas disponibl= e > dans l'=E9dition standard du compilateur > cl : Ligne de commande warning D4002 : option '-AL' inconnue ignor=E9e > cl -c -Oait -Gs -nologo -W3 -AL -I..\zlib pngmem.c >> pngerrs > cl : Ligne de commande warning D4029 : l'optimisation n'est pas disponibl= e > dans l'=E9dition standard du compilateur > cl : Ligne de commande warning D4002 : option '-AL' inconnue ignor=E9e > cl -c -Oait -Gs -nologo -W3 -AL -I..\zlib pngpread.c >> pngerrs > cl : Ligne de commande warning D4029 : l'optimisation n'est pas disponibl= e > dans l'=E9dition standard du compilateur > cl : Ligne de commande warning D4002 : option '-AL' inconnue ignor=E9e > cl -c -Oait -Gs -nologo -W3 -AL -I..\zlib pngread.c >> pngerrs > cl : Ligne de commande warning D4029 : l'optimisation n'est pas disponibl= e > dans l'=E9dition standard du compilateur > cl : Ligne de commande warning D4002 : option '-AL' inconnue ignor=E9e > cl -c -Oait -Gs -nologo -W3 -AL -I..\zlib pngerror.c >> pngerrs > cl : Ligne de commande warning D4029 : l'optimisation n'est pas disponibl= e > dans l'=E9dition standard du compilateur > cl : Ligne de commande warning D4002 : option '-AL' inconnue ignor=E9e > cl -c -Oait -Gs -nologo -W3 -AL -I..\zlib pngwrite.c >> pngerrs > cl : Ligne de commande warning D4029 : l'optimisation n'est pas disponibl= e > dans l'=E9dition standard du compilateur > cl : Ligne de commande warning D4002 : option '-AL' inconnue ignor=E9e > cl -c -Oait -Gs -nologo -W3 -AL -I..\zlib pngrtran.c >> pngerrs > cl : Ligne de commande warning D4029 : l'optimisation n'est pas disponibl= e > dans l'=E9dition standard du compilateur > cl : Ligne de commande warning D4002 : option '-AL' inconnue ignor=E9e > cl -c -Oait -Gs -nologo -W3 -AL -I..\zlib pngwtran.c >> pngerrs > cl : Ligne de commande warning D4029 : l'optimisation n'est pas disponibl= e > dans l'=E9dition standard du compilateur > cl : Ligne de commande warning D4002 : option '-AL' inconnue ignor=E9e > cl -c -Oait -Gs -nologo -W3 -AL -I..\zlib pngrio.c >> pngerrs > cl : Ligne de commande warning D4029 : l'optimisation n'est pas disponibl= e > dans l'=E9dition standard du compilateur > cl : Ligne de commande warning D4002 : option '-AL' inconnue ignor=E9e > cl -c -Oait -Gs -nologo -W3 -AL -I..\zlib pngwio.c >> pngerrs > cl : Ligne de commande warning D4029 : l'optimisation n'est pas disponibl= e > dans l'=E9dition standard du compilateur > cl : Ligne de commande warning D4002 : option '-AL' inconnue ignor=E9e > del libpng.lib > Impossible de trouver C:\Program Files\Microsoft Platform > SDK\Samples\Multimedia\DirectShow\DVD\libpng\libpng.lib > lib libpng png.obj pngset.obj pngget.obj pngrutil.obj pngtrans.ob= j > pngwutil.obj; > Microsoft (R) Library Manager Version 7.10.3077 > Copyright (C) Microsoft Corp |