Nmap Development mailing list archives
Re: Nmap 4.04BETA1 Released For Testing
From: kx <kxmail () gmail com>
Date: Thu, 1 Jun 2006 21:08:20 -0400
Yes, afxres.h includes winres.h, however in the PlatformSDK downloaded from: http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en both files were located in PlatformSDK\Include\mfc Both files have the comment: // This is a part of the Microsoft Foundation Classes C++ library. My install has the directory in: ($installdir)\VC\PlatformSDK\Include\mfc Hmm... Did you look at how your SDK directories are setup? Options -> Projects and Solutions -> VC++ Directories -> (Drop down list) Show directories for: Include files Cheers, kx On 6/1/06, Alex Prinsier <aphexer () mailhaven com> wrote:
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
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev
Current thread:
- Nmap 4.04BETA1 Released For Testing Fyodor (May 31)
- Re: Nmap 4.04BETA1 Released For Testing Martin Mačok (Jun 01)
- Re: Nmap 4.04BETA1 Released For Testing Fyodor (Jun 12)
- Re: Nmap 4.04BETA1 Released For Testing Alex Prinsier (Jun 01)
- Re: Nmap 4.04BETA1 Released For Testing kx (Jun 01)
- Re: Nmap 4.04BETA1 Released For Testing Alex Prinsier (Jun 01)
- Re: Nmap 4.04BETA1 Released For Testing kx (Jun 01)
- Re: Nmap 4.04BETA1 Released For Testing kx (Jun 01)
- Re: Nmap 4.04BETA1 Released For Testing Alex Prinsier (Jun 02)
- Re: Nmap 4.04BETA1 Released For Testing Alex Prinsier (Jun 02)
- Re: Nmap 4.04BETA1 Released For Testing kx (Jun 01)
- Re: Nmap 4.04BETA1 Released For Testing Martin Mačok (Jun 01)