Data center: Ashburn, VA

Telegram Chat : MBHH_x86

Email Us:

Mobile Hacker For Hire, hire a hacker, hiring a hacker, hacker with proof

Nmap Development: ncat: Windows build difficulties

Table of Contents

From: “Adam Baxter” <voltagex () voltagex org>
Date: Fri, 12 Aug 2022 00:12:57 +1000

I'm attempting to build ncat statically for Windows using VS2022 and I've run into the following issues:
* applink.c missing from static build of openssl 3.0.5 - fixed by downloading into the correct path

* vcxproj/sln file not set up to build ncat for x64 - fixed by fiddling with the solution configuration. I'm not sure 
how this was generated but I could provide a patch. Unfortunately Visual Studio toggles these by putting GUIDs 
everywhere in the file so it won't be pretty.

The current sticking point
*   c:gitnmapncatncat_ssl.c(211,40): error C2440: '=': cannot convert from 'const void *' to 'const char *' 

Which the line of code is,  dot = memchr(p, '.', 

Forgive the use of the GitHub mirror, it was easier to find this way.

I am probably making some kind of simple mistake - I'm not a C coder and I don't understand how to fix this. If it's 
simple to do, I'll test it out and update your wiki page, it certainly should be a lot simpler to build ncat with vcpkg 
these days.

Sent through the dev mailing list
Archived at

Current thread:

  • ncat: Windows build difficulties Adam Baxter (Aug 11)

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!