Nmap Development mailing list archives
RE: Compiling Nmap 4.20ALPHA5 on windows xp with VS .net 2005
From: "Sina Bahram" <sbahram () nc rr com>
Date: Fri, 1 Sep 2006 09:08:36 -0400
Ok, but then the question becomes why I'm getting that error if I have a version even higher than the professional which is the team suite. And I agree, I think we should remove a dependancy on these files. Take care, Sina -----Original Message----- From: nmap-dev-bounces () insecure org [mailto:nmap-dev-bounces () insecure org] On Behalf Of Kevin Davis Sent: Friday, September 01, 2006 5:11 AM To: Fyodor; kx Cc: nmap-dev () insecure org Subject: Re: Compiling Nmap 4.20ALPHA5 on windows xp with VS .net 2005 The express version of VC++ does not include any supporting MFC files and libraries which appears to be referenced here. Both files mfc/winres.h and afxres.h imply some sort of MFC dependency. It might be possible to get the files required by nmap by downloading an older MS Platform development kit. But I would consider this a bandaid fix on the problem. The professional version, from my understanding does include these files. I think in the case of professional, they are doing it just for legacy support and the big push is to steer people away from MFC. The best solution would be to identify why there is a dependency for this file and recode (probably something fairly minimal) so that it is no longer needed. I was able to build the latest nmap source using VC++ express but it is only because I also have VC++ 6.0 which has the needed MFC files that I can point to in express. Even at that, some of my old MFC based applications will not build using this method. And believe me, I tried for several days. ----- Original Message ----- From: "Fyodor" <fyodor () insecure org> To: "kx" <kxmail () gmail com> Cc: <nmap-dev () insecure org> Sent: Thursday, August 31, 2006 11:49 PM Subject: Re: Compiling Nmap 4.20ALPHA5 on windows xp with VS .net 2005
On Thu, Aug 31, 2006 at 11:33:22PM -0400, kx wrote:From Dimian:"uncomment the line #include "mfc/winres.h" and comment the line [or add] #include "afxres.h"
in the file nmap/source files/windows/nmap.rc found in the soluton explorer."Hi KX. Do you (or anyone?) have a suggestion on how I can change the file (or the Nmap solution) so that it compiles properly with both commercial Visual Studio and VC++ Express? Cheers, -F _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- Nmap 4.20ALPHA5: 9th Birthday Release Fyodor (Aug 31)
- Compiling Nmap 4.20ALPHA5 on windows xp with VS .net 2005 Sina Bahram (Aug 31)
- Re: Compiling Nmap 4.20ALPHA5 on windows xp with VS .net 2005 kx (Aug 31)
- RE: Compiling Nmap 4.20ALPHA5 on windows xp with VS .net 2005 Sina Bahram (Aug 31)
- Re: Compiling Nmap 4.20ALPHA5 on windows xp with VS .net 2005 Fyodor (Aug 31)
- Re: Compiling Nmap 4.20ALPHA5 on windows xp with VS .net 2005 Kevin Davis (Sep 01)
- RE: Compiling Nmap 4.20ALPHA5 on windows xp with VS .net 2005 Sina Bahram (Sep 01)
- Re: Compiling Nmap 4.20ALPHA5 on windows xp with VS .net 2005 Fyodor (Sep 29)
- Re: Compiling Nmap 4.20ALPHA5 on windows xp with VS .net 2005 kx (Sep 30)
- Re: Compiling Nmap 4.20ALPHA5 on windows xp with VS .net 2005 Fyodor (Sep 30)
- Re: Compiling Nmap 4.20ALPHA5 on windows xp with VS .net 2005 kx (Aug 31)
- Compiling Nmap 4.20ALPHA5 on windows xp with VS .net 2005 Sina Bahram (Aug 31)
- Re: Compiling Nmap 4.20ALPHA5 on windows xp with VS .net 2005 kx (Sep 01)