[Proj] compilation error on windows

Mateusz Łoskot mateusz at loskot.net
Wed Mar 15 12:05:04 PST 2006


Jachym Cepicky wrote:
> Hallo,
> I try to compile proj (obtained from
> ftp://ftp.remotesensing.org/proj/proj-4.4.9.zip) on Windows using
> Microsoft C++ Visual Studio
> 
> In the README file, there is:
> 
>      C:\> cd proj\src
>      C:>\PROJ\SRC> nmake /f makefile.vc all
>      
> But I get
> 
> nmake /f makefile.vc all
> 
> [...]
> 
> NMAKE : fatal  error U1077: '"C:\Program Files\Microsof Visual Studio
> 8\VC\bin\cl.EXE"' : return code '0x80'
> Stop.
> 
> What to do?

Have you run
"C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat"
script to configure environment first?
I mean, in the console box in which you're running nmake.

I've just checked.
I downloaded proj-4.4.9 and it builds well using VC++ 8.0 without any 
problems.

1. open console
2. run "C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat"
3. go to \proj-4.4.9\src directory
4. run nmake -f makefile.vc
5. it should work

Cheers
-- 
Mateusz Łoskot
http://mateusz.loskot.net



More information about the Proj mailing list