I tried to build wireshark under WinXP + MC VS 2008 by "2.2. Win32: Step-by-Step Guide", but I'm having trouble with
I Google’d it and found this, but it didn’t help. I tried putting the Please help This question is marked “community wiki”. asked 24 Jun ‘11, 05:05 boomsic edited 24 Jun ‘11, 18:41 helloworld |
4 Answers:
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 Update 2014-07-24 It looks like Windows SDKs 8.0 and 8.1 don't include win32.mak. I worked around the issue by calling
or
as appropriate after running vcvarsall.bat answered 24 Jun '11, 09:58 Gerald Combs ♦♦ edited 24 Jul '14, 15:50 |
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. answered 21 Aug '11, 07:41 one step edited 21 Aug '11, 10:40 Guy Harris ♦♦ Right. Copying it from there to C:\Program Files\Microsoft Visual Studio 12.0\VC\include solved the issue for me. (30 Nov '13, 06:21) gtirloni |
You probably need an include statement, here's the generic script I use (VS 2012 with the 7.1a sdk)
answered 16 Mar ‘14, 17:30 Scott Harman 1 While this may work for you, it might cause issues for others, observations\notes:
(17 Mar ‘14, 03:41) grahamb ♦ Thanks Graham I will try to make it a bit more generic - that’s really helpful! (19 Mar ‘14, 20:27) Scott Harman |
If you have already installed VisualStudio and service pack, then try to install SDK it may fail. You may need to unselect both C++ compiler and redistributable package from the install component for the install to work. answered 16 Apr '14, 11:53 YXI |
I make next solution
edit Makefile.nmake
and define full path to win32.mak
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.