Nmap Development mailing list archives

Re: Nmap 4.04BETA1 Released For Testing


From: Alex Prinsier <aphexer () mailhaven com>
Date: Thu, 01 Jun 2006 13:42:07 +0200

If I'm not mistaking, afxres.h is part of mfc, while winres.h is not.
afxres.h itself actually includes winres.h.

So the better solution is actually to use winres.h (like 4.04beta1
does), however I don't have a mfc/winres.h, just a winres.h.

.\nmap.rc(10) : fatal error RC1015: cannot open include file 'mfc/winres.h'.

Removing mfc/ makes it work. I'm using the commercial version of visual
studio.

Alex

kx wrote:
Alex,
 I am not a windows guru, so I guess it shouldn't matter which .h we
use. However, I have all free SDK items, and mine will build either
way. If it can't find mfc/winres.h, you have a VS setup issue. See:
http://seclists.org/lists/nmap-dev/2005/Oct-Dec/0108.html

Build logs are saved as

mswin32\Debug\BuildLog.htm
nbase\Debug\BuildLog.htm

etc....

Cheers,
 kx

On 6/1/06, Alex Prinsier <aphexer () mailhaven com> wrote:
This automated building in windows works splendid! Much better than the
scripts I used. I got an error though, but I was able to fix it:

I execute devenv.exe nmap.sln /build release /log nmapbuild.log

I got an error on this line in nmap.rc:10
#include "mfc/winres.h"

I changed it back the way it was in 4.03:
#include "afxres.h"

That fixes the error.

Secondly I couldn't find nmapbuild.log. Anyone an idea where visual
studio stores it?

Alex

Fyodor wrote:
o Automated my Windows build system so that I just have to type a
  single make command in the mswin32 directory.


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev




_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev


Current thread: