[gs-devel] Compilation error NMAKE : fatal error U1073: don't know how to make '.\obj\MCD.dev'

Ken Sharp ken.sharp at artifex.com
Tue May 20 09:53:39 PDT 2008


At 13:41 15/03/2008 +0200, costin cosoveanu wrote:
>Hello
>
>  When I tried to compile ghostscript 8.62 from command line using
>  Visual C++ Express Edition 2008  9.0.21022.8
>  C compiler  version
>  Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 
> for 80x86
>
>  OS Name:                   MicrosoftR Windows Vistat Home Premium
>  OS Version:                6.0.6000 N/A Build 6000
>
>
>
>  I got the following error
>
>  .................................................
>         .\obj\echogs.exe -a .\obj\devs.tr -+ .\obj\romfs0.dev
>         .\obj\echogs.exe -a .\obj\devs.tr - .\obj\libcore
>  NMAKE : fatal error U1073: don't know how to make '.\obj\MCD.dev'
>  Stop.
>  >
>
>  After searching and grep through msvc32.mak, gs.mak, devs.mak, and
>  winlib.mak   files I found that the environment variable PLATFORM set
>  to default value MCD cause the crash.
>
>  I am not sure what PLATFORM=MCD mean, but look like to break other
>software too:
>
>  http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1679769&SiteID=1
>  http://qc.borland.com/wc/qcmain.aspx?d=47446
>  http://www.nablasoft.com/Alkampfer/?p=138
>
>  After changing value of PLATFORM to mswin32_ everiything works fine.
>  set PLATFORM=mswin32_
>  or
>  nmake -f src/msvc32.mak  PLATFORM=mswin32_ DEVSTUDIO= DEBUG=1 TDEBUG=1
>  solve the problem.

Try building with "nmake -f src/msvc32.mak MSVC_VERSION=9", works for me.



                                 Ken



More information about the gs-devel mailing list