Nmap Development mailing list archives
Re: Building with VS-Express 2013
From: Daniel Miller <bonsaiviking () gmail com>
Date: Tue, 11 Nov 2014 13:00:20 -0600
Gisle, Thanks for this report. I am *just now* getting to it! I just pushed a series of changes (r33795 - r33798) that seem to work for me, and I'd appreciate if you let me know how they work for you. I ended up removing the nmap-update project from the solution so I could focus on the more core issues at hand, so you may need to do that, too. Dan On Thu, Sep 4, 2014 at 6:01 AM, Gisle Vanem <gvanem () yahoo no> wrote:
I've tried and failed to build Nmap using Visual-Studio 2013 Express on my new Win 8.1 computer. It has worked for years on Win-XP using VS 2010 Express (cl v. 16.x). But now the C++ headers in CL v.18.x seems to require <system_error> and <errno.h> everywhere. Analysing this, the blame seems to be in nbase/nbase_winunix.h: #define _INC_ERRNO /* suppress errno.h */ #define _ERRNO_H_ /* Also for errno.h suppression */ #define _SYSTEM_ERROR_ This causes (in e.g. FPEngine.cc): f:\ProgramFiler-x86\VSExpress-2013\VC\include\xiosbase(222) : error C2504: 'system_error' : base class undefined f:\ProgramFiler-x86\VSExpress-2013\VC\include\xiosbase(224) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int f:\ProgramFiler-x86\VSExpress-2013\VC\include\xiosbase(224) : error C2143: syntax error : missing ',' before '&' f:\ProgramFiler-x86\VSExpress-2013\VC\include\xiosbase(230) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int f:\ProgramFiler-x86\VSExpress-2013\VC\include\xiosbase(230) : error C2143: syntax error : missing ',' before '&' f:\ProgramFiler-x86\VSExpress-2013\VC\include\xiosbase(224) : error C2065: '_Errcode' : undeclared identifier f:\ProgramFiler-x86\VSExpress-2013\VC\include\xiosbase(227) : error C2614: 'std::ios_base::failure' : illegal member initialization: 'system_error' is not a base or member etc. Another thing. In scan_engine.h: #define PS_NONE 0 'PS_NONE' is now also an enum member in <MS_SDK-8.1-root>/include/ShObjIdl.h. Included from <shlobj.h>. Anybody here who have had success building Nmap+Nping etc. on Win 8.x? --gv _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
_______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Re: Building with VS-Express 2013 Daniel Miller (Nov 11)