Nmap Development mailing list archives

Re: Anyone try compiling with VS 2010 Express?


From: Kris Katterjohn <katterjohn () gmail com>
Date: Thu, 04 Nov 2010 22:28:05 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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?

David Fifield

Cheers,
Kris Katterjohn

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJM03nFAAoJEEQxgFs5kUfurtoP/0iQStwfD4aIG2gi+Seryxiz
AWq8OSg1DIx08pKUlw5OuT1JDDLCcP7Bg3gNS7x7E6q8BamCmYHxzGMsG+RR/Ndr
fbh05ZwSSU9SLZPSKv+OV9bpwSCoXgpXOOTYCuZ/zGxz1+B3BeedmCDswG8Lag32
FF5w3/+RePHYCzeoepdLo0EYDDkGTdU9thZqhqJduxa3kb1cV6c2gE5M7WQzJMCt
Qmv/g5kmUps1klDVtZqLFSoQAmBmMkH24SJnrDuMbdcVHANXFvOtIHE6S6pR5Erd
mQVmMt3pfPhTJ1IR5oi44oJEjDAnkQE+hxIQqQt+pGU+iyC3urgsDyYAVoSvTxDF
Y/pNMrRgnsACAqFwpxWsLmr+ZTo7lK+XOWxjrk2BlZp4lvUAMhvSoPs5mvqq5Jx1
30D/rVjBlF9zRAJjNg3SmNFRxYeiv1ldolJhpRaKw2vytCO4u5LWoYi/zKVmxEjG
WedRVAAeGuQUtvMS1QJmQUYFQrnbyPXlaQWE7Z2RLYI3NAtEqNqYK+PtKYzVeD2R
A3t4bAn53kaS7Wxs3hGIypCU/Oc30WZ+fWGQoQKckSxlpCeKstV29AgneyrEhz8M
/C+vBjcSWIcy6KHIyHORJo2gMUw6xu5G7AEVAKexyOxmwdhJBGgWgyu13QQDZUz3
RItOYFBQqEHKP7L4qEub
=gjC3
-----END PGP SIGNATURE-----
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: