BromiumLabs / PackerAttacker

C++ application that uses memory and code hooks to detect packers
GNU General Public License v2.0
266 stars 72 forks source link

Code compilation fail #10

Open th3spis opened 3 years ago

th3spis commented 3 years ago

I've been trying all day to compile this version and the previous version from older commit... Unsucessfully.

With the last version I got the same closed-unresolved issue that was already submitted. Would you guys mind just uploading a build?

Thanks for this work, it'd be a pitty that it stayed here almost useless due to compilation issues.

b4r0nd3l4b1rr4 commented 3 years ago

With Developer Command Prompt in VS 2017

$ cd C:\tools\PackerAttacker
$ C:\tools\PackerAttacker\buildmsvc2017.bat

Then, this will appear

C:\tools\PackerAttacker>buildmsvc.bat Visual Studio 15 2017
NOT BUILDING Detours BECAUSE detours.lib ALREADY EXISTS.
To force rebuild of Detours, RUN buildclean.bat
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19042.
-- The C compiler identification is MSVC 19.16.27045.0
-- The CXX compiler identification is MSVC 19.16.27045.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: C:/tools/PackerAttacker/build

Then go to \PackerAttacker\build and with VS 2017 load the ThePackerAttacker.sln project. And compile the solution :)

th3spis commented 3 years ago

Thanks @b4r0nd3l4b1rr4 . It just seems impossible with a different version of Visual Studio even with the right SDK installed and changing cmake arguments.