Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation fail Microsoft Visual Studio Community 2017 #139

Open
w4cky opened this issue Jan 27, 2019 · 2 comments
Open

compilation fail Microsoft Visual Studio Community 2017 #139

w4cky opened this issue Jan 27, 2019 · 2 comments

Comments

@w4cky
Copy link

w4cky commented Jan 27, 2019

Windows 10
Microsoft Visual Studio Community 2017
Version 15.9.6
VisualStudio.15.Release/15.9.6+28307.344
Microsoft .NET Framework
Version 4.7.03190

Installed Version: Community

Visual C++ 2017 00369-60000-00001-AA138
Microsoft Visual C++ 2017

ASP.NET and Web Tools 2017 15.9.04012.0
ASP.NET and Web Tools 2017

C# Tools 2.10.0-beta2-63501-03+b9fb1610c87cccc8ceb74a770dba261a58e39c4a
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

JavaScript Language Service 2.0
JavaScript Language Service

Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual C++ Wizards 1.0
Microsoft Visual C++ Wizards

Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package

MLGen Package Extension 1.0
MLGen Package Visual Studio Extension Detailed Info

NuGet Package Manager 4.6.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

ProjectServicesPackage Extension 1.0
ProjectServicesPackage Visual Studio Extension Detailed Info

ResourcePackage Extension 1.0
ResourcePackage Visual Studio Extension Detailed Info

ResourcePackage Extension 1.0
ResourcePackage Visual Studio Extension Detailed Info

Test Adapter for Boost.Test 1.0
Enables Visual Studio's testing tools with unit tests written for Boost.Test. The use terms and Third Party Notices are available in the extension installation directory.

Test Adapter for Google Test 1.0
Enables Visual Studio's testing tools with unit tests written for Google Test. The use terms and Third Party Notices are available in the extension installation directory.

Visual Basic Tools 2.10.0-beta2-63501-03+b9fb1610c87cccc8ceb74a770dba261a58e39c4a
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual C++ for Linux Development 1.0.9.28218
Visual C++ for Linux Development

Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Visual Studio Tools for CMake 1.0
Visual Studio Tools for CMake

1>------ Build started: Project: dnscat2, Configuration: Debug Win32 ------
1>cl : Command line warning D9035: option 'Gm' has been deprecated and will be removed in a future release
1>driver_dns.c
1>e:\downloads\dnscat2-master\client\tunnel_drivers\driver_dns.c(8): fatal error C1083: Cannot open include file: 'assert.h': No such file or directory
1>udp.c
1>e:\downloads\dnscat2-master\client\libs\udp.c(8): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
1>types.c
1>e:\downloads\dnscat2-master\client\libs\types.c(8): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory
1>tcp.c
1>e:\downloads\dnscat2-master\client\libs\tcp.c(8): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
1>select_group.c
1>e:\downloads\dnscat2-master\client\libs\select_group.c(8): fatal error C1083: Cannot open include file: 'assert.h': No such file or directory
1>my_getopt.c
1>e:\downloads\dnscat2-master\client\libs\my_getopt.c(28): fatal error C1083: Cannot open include file: 'sys/types.h': No such file or directory
1>memory.c
1>e:\downloads\dnscat2-master\client\libs\memory.c(8): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory
1>log.c
1>e:\downloads\dnscat2-master\client\libs\log.c(7): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
1>ll.c
1>e:\downloads\dnscat2-master\client\libs\ll.c(8): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
1>dns.c
1>e:\downloads\dnscat2-master\client\libs\dns.c(8): fatal error C1083: Cannot open include file: 'assert.h': No such file or directory
1>sha3.c
1>e:\downloads\dnscat2-master\client\libs\crypto\sha3.c(20): fatal error C1083: Cannot open include file: 'assert.h': No such file or directory
1>salsa20.c
1>e:\downloads\dnscat2-master\client\libs\crypto\salsa20.c(32): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory
1>uECC.c
1>e:\downloads\dnscat2-master\client\libs\pstdint.h(184): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory
1>encryptor.c
1>e:\downloads\dnscat2-master\client\libs\crypto\encryptor.c(11): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
1>buffer.c
1>e:\downloads\dnscat2-master\client\libs\buffer.c(8): fatal error C1083: Cannot open include file: 'assert.h': No such file or directory
1>driver_ping.c
1>e:\downloads\dnscat2-master\client\drivers\driver_ping.c(7): fatal error C1083: Cannot open include file: 'assert.h': No such file or directory
1>driver_exec.c
1>e:\downloads\dnscat2-master\client\drivers\driver_exec.c(7): fatal error C1083: Cannot open include file: 'assert.h': No such file or directory
1>driver_console.c
1>e:\downloads\dnscat2-master\client\drivers\driver_console.c(7): fatal error C1083: Cannot open include file: 'assert.h': No such file or directory
1>driver.c
1>e:\downloads\dnscat2-master\client\drivers\driver.c(7): fatal error C1083: Cannot open include file: 'assert.h': No such file or directory
1>driver_command.c
1>e:\downloads\dnscat2-master\client\drivers\command\driver_command.c(8): fatal error C1083: Cannot open include file: 'assert.h': No such file or directory
1>Generating Code...
1>Compiling...
1>command_packet.c
1>e:\downloads\dnscat2-master\client\drivers\command\command_packet.c(7): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
1>dnscat.c
1>e:\downloads\dnscat2-master\client\dnscat.c(7): fatal error C1083: Cannot open include file: 'assert.h': No such file or directory
1>session.c
1>e:\downloads\dnscat2-master\client\controller\session.c(7): fatal error C1083: Cannot open include file: 'assert.h': No such file or directory
1>packet.c
1>e:\downloads\dnscat2-master\client\controller\packet.c(7): fatal error C1083: Cannot open include file: 'assert.h': No such file or directory
1>controller.c
1>e:\downloads\dnscat2-master\client\controller\controller.c(9): fatal error C1083: Cannot open include file: 'assert.h': No such file or directory
1>Generating Code...
1>Done building project "dnscat2.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

@iagox86
Copy link
Owner

iagox86 commented Jan 27, 2019 via email

@w4cky
Copy link
Author

w4cky commented Jan 29, 2019

header is set:

example driver_dns.c

/* driver_dns.c

  • Created July/2013
  • By Ron Bowes
  • See LICENSE.md
    */

#include <assert.h>
#include <ctype.h>
#include <stdio.h>
#include <string.h>

#include "controller/controller.h"
#include "libs/buffer.h"
#include "libs/dns.h"
#include "libs/log.h"
#include "libs/memory.h"
#include "libs/types.h"
#include "libs/udp.h"

#include "driver_dns.h"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants