Nmap Development mailing list archives

Re: Anyone try compiling with VS 2010 Express?


From: David Fifield <david () bamsoftware com>
Date: Thu, 4 Nov 2010 21:06:57 -0700

On Thu, Nov 04, 2010 at 10:28:05PM -0500, Kris Katterjohn wrote:
On 11/04/2010 10:04 PM, David Fifield wrote:
On Tue, Oct 19, 2010 at 10:24:53PM -0400, kx wrote:
It didn't work at first, and I had to make these changes:

\nmap-5.35DC1\nbase\nbase_winunix.h
#define _SYSTEM_ERROR_
#define _HAS_CPP0X 0

I think these are needed due to the new static_assert Declaration support.
http://msdn.microsoft.com/en-us/library/dd465215.aspx

The Output File property for liblua was "$(OutDir)liblua.lib" but
needs the quotes removed to be: $(OutDir)liblua.lib

The "dnet" project uses $(ProjectName) for its TargetName, but then
uses $(OutDir)libdnet-stripped.lib for its Output File, which will
fail. Renaming the project to libdnet-stripped fixes this.

libnetutil needs added as a dependency for the nmap project

After that it built.

Thanks. I followed your instructions and now everything should build
with 2010.

And still on 2008 or do I need to upgrade next time I test on Windows?

The format of the solution file changed so you need to upgrade.

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: