I tried to build wireshark under WinXP + MC VS 2008 by "2.2. Win32: Step-by-Step Guide", but I'm having trouble with nmake -f Makefile.nmake verify_tools. I got:

E:\work\wireshark\trunk-1.6>nmake -f Makefile.nmake all

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation.  All rights reserved.

Makefile.nmake(10) : fatal error U1052: file 'win32.mak' not found
Stop.

I Google'd it and found this, but it didn't help. I tried putting the win32.mak file in C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include, but nmake cannot see it...

Please help

This question is marked "community wiki".

asked 24 Jun '11, 05:05

boomsic's gravatar image

boomsic
1222
accept rate: 0%

edited 24 Jun '11, 18:41

helloworld's gravatar image

helloworld
2.6k21739

I make next solution

edit Makefile.nmake

and define full path to win32.mak

(24 Jun '11, 09:49) boomsic

I run this one:

C:Program FilesMicrosoft Visual Studio 9.0VCbinvcvars32.bat

you mean that?

I agree that where is something wrong in my build environment, but I cant find a mistake.

(26 Jun '11, 05:50) boomsic

You shouldn't have to edit Makefile.nmake. If nmake can't find win32.mak then that's a strong indication that your build environment isn't set up correctly. Did you run vcvarsall.bat before running nmake?

link

answered 24 Jun '11, 09:58

Gerald%20Combs's gravatar image

Gerald Combs ♦♦
1.8k71437
accept rate: 22%

You should install Windows sdk (http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=3138).

Then you will found Wind32.mak file in C:\Program Files\Microsoft SDKs\Windows\v7.0\Include.

link

answered 21 Aug '11, 07:41

one%20step's gravatar image

one step
1223
accept rate: 0%

edited 21 Aug '11, 10:40

Guy%20Harris's gravatar image

Guy Harris ♦♦
7.9k118100

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×114
×109
×37

Asked: 24 Jun '11, 05:05

Seen: 4,153 times

Last updated: 21 Aug '11, 10:40

powered by OSQA