Nmap Development mailing list archives

static linked ncat - can't find openssl


From: "Dewhirst, Rob" <robdewhirst () gmail com>
Date: Thu, 21 Nov 2013 11:35:41 -0600

I am following the instructions at:

https://secwiki.org/w/Nmap/Ncat_Portable

Everything works fine until I try to build ncat and VS C++ says it
can't find the openssl lib and include files after I moved them to
c:\nmap\mswin32\OpenSSL

------ Rebuild All started: Project: nbase, Configuration: Static Win32 ------
[...]
  nbase.vcxproj -> C:\nmap\nbase\.\nbase.lib
------ Skipped Rebuild All: Project: liblua, Configuration: Release Win32 ------
Project not selected to build for this solution configuration
------ Rebuild All started: Project: nsock, Configuration: Static Win32 ------
  engine_epoll.c
  engine_kqueue.c
  engine_poll.c
  engine_select.c
c:\nmap\nsock\src\nsock_ssl.h(70): fatal error C1083: Cannot open
include file: 'openssl/ssl.h': No such file or directory
  error.c
  filespace.c
c:\nmap\nsock\src\nsock_ssl.h(70): fatal error C1083: Cannot open
include file: 'openssl/ssl.h': No such file or directory
[...]
c:\nmap\ncat\util.h(140): fatal error C1083: Cannot open include file:
'openssl/ssl.h': No such file or directory
  Generating Code...
========== Rebuild All: 1 succeeded, 2 failed, 1 skipped ==========

I am pretty sure I have them in the right location:

c:\nmap\mswin32\OpenSSL\include\openssl>dir ssl.h
 Volume in drive C has no label.
 Volume Serial Number is 9C14-D2A1

 Directory of c:\nmap\mswin32\OpenSSL\include\openssl

11/21/2013  11:17 AM            93,660 ssl.h
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: