Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

fatal error u1052 file ntwin32.mak not found

202 views
Skip to first unread message

Brian D

unread,
Mar 10, 2010, 1:48:15 AM3/10/10
to
I'm trying to compile a library using instructions that may be out of
date. They call for the use of NMAKE, but that's generating an error
which stubbornly defies solution.

Is there another way to compile C++ source that doesn't use NMAKE --
what would be the recommendation.

There is a makefile.vc file.

I'm trying to compile the GEOS geographic library:

http://geodjango.org/docs/install.html#geosbuild

Installation instructions:

Win32
-----

If you use Microsoft Visual C++ (7.1 or later) compiler, you can
build
GEOS using NMAKE program and provided makefile.vc files.

If you are building from SVN checkout, first run: autogen.bat
Then:

nmake /f makefile.vc MSVC_VER=1400

where 1400 is version number of Visual C++ compiler, here Visual C++
8.0
from Visual Studio 2005 (supported versions are 1300, 1310, 1400 and
1500).
The bootstrap.bat step is required to generate a couple of header
files.

In order to build debug configuration of GEOS, additional flag
DEBUG=1
is required:

nmake /f makefile.vc MSVC_VER=1400 DEBUG=1

fatal error u1052 file ntwin32.mak not found GEOS

N@discussions.microsoft.com Phil N

unread,
Mar 10, 2010, 11:50:04 AM3/10/10
to
Brian,

I ran into this problem just yesterday trying to build the GEOS library. I
was able to build after I installed Windows SDK
(http://msdn.microsoft.com/en-us/windows/bb980924.aspx) for Vista in my case.
This provided the make and lib files I needed to build the library. After
that I just ran the vsvars32 batch file to add the installation to the
environment variables and ran the nmake command.

Hope this helps.

- Phil

"Brian D" wrote:

> .
>

0 new messages