hlldz/Phant0m

Can't build

ItsIgnacioPortal opened this issue · 2 comments

Visual Studio Info:

Microsoft Visual Studio Community 2019
Version 16.10.3
VisualStudio.16.Release/16.10.3+31424.327
Microsoft .NET Framework
Version 4.8.04084

Installed Version: Community

Visual C++ 2019   00435-60000-00000-AA560
Microsoft Visual C++ 2019

ASP.NET and Web Tools 2019   16.10.526.50910
ASP.NET and Web Tools 2019

Azure App Service Tools v3.0.0   16.10.526.50910
Azure App Service Tools v3.0.0

C# Tools   3.10.0-4.21318.11+7ceb633154acb9d716fd3eb2b6df1a0468d8e416
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.

IntelliCode Extension   1.0
IntelliCode Visual Studio Extension Detailed Info

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

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

ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info

Visual Basic Tools   3.10.0-4.21318.11+7ceb633154acb9d716fd3eb2b6df1a0468d8e416
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual F# Tools   16.10.0-beta.21262.7+1b23bbeda88ea3cb9be9af777f4c99fa8663df81
Microsoft Visual F# Tools

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

Visual studio errors/warnings when building:

Severity    Code    Description Project File    Line    Suppression State
Error   LNK1120 2 unresolved externals  phant0m-rdll    C:\Users\PinkDev1\Downloads\Phant0m-master\Phant0m-master\phant0m\x64\Debug\phant0m-rdll.exe 1   
Error   LNK2019 unresolved external symbol main referenced in function "int __cdecl invoke_main(void)" (?invoke_main@@YAHXZ)    phant0m-rdll    C:\Users\PinkDev1\Downloads\Phant0m-master\Phant0m-master\phant0m\phant0m-rdll\MSVCRTD.lib(exe_main.obj) 1   
Error   LNK2019 unresolved external symbol _MoveFromCoprocessor referenced in function ReflectiveLoader phant0m-rdll    C:\Users\PinkDev1\Downloads\Phant0m-master\Phant0m-master\phant0m\phant0m-rdll\ReflectiveLoader.obj  1   
Error   LNK2005 DllMain already defined in main.obj phant0m-rdll    C:\Users\PinkDev1\Downloads\Phant0m-master\Phant0m-master\phant0m\phant0m-rdll\ReflectiveLoader.obj  1   
Warning C4312   'type cast': conversion from 'int' to 'BYTE *' of greater size  phant0m-rdll    C:\Users\PinkDev1\Downloads\Phant0m-master\Phant0m-master\phant0m\phant0m-rdll\ReflectiveLoader.c    116 
Warning C4013   '_MoveFromCoprocessor' undefined; assuming extern returning int phant0m-rdll    C:\Users\PinkDev1\Downloads\Phant0m-master\Phant0m-master\phant0m\phant0m-rdll\ReflectiveLoader.c    116 

Did I do something wrong?

hlldz commented

Hi,

As far as I can see you tried to compile in x64 Debug mode. I made the settings of the project only for x64 Release mode. So can you try compiling in x64 Release mode?

That fixed it! thanks