Closed MikeAndarsons closed 2 years ago
Do you have a c/cpp compiler installed? Like gcc
This is what your error states - that no compiler is defined
On Mon, Aug 15, 2022, 15:04 MikeAndarsons @.***> wrote:
I already installed cmake using pip install cmake
Getting error while installing
copying dearmor__main__.py -> build\lib.win-amd64-3.7\dearmor running build_ext -- Building for: NMake Makefiles CMake Error at CMakeLists.txt:2 (project): Running
'nmake' '-?'
failed with:
The system cannot find the file specified
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred!
— Reply to this email directly, view it on GitHub https://github.com/ErezAmihud/dearmor/issues/6, or unsubscribe https://github.com/notifications/unsubscribe-auth/APII3K7RDIQ6MW36MUG7ZJTVZIW5VANCNFSM56SAXAEQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Do you have a c/cpp compiler installed? Like gcc This is what your error states - that no compiler is defined … On Mon, Aug 15, 2022, 15:04 MikeAndarsons @.> wrote: I already installed cmake using pip install cmake Getting error while installing copying dearmor__main__.py -> build\lib.win-amd64-3.7\dearmor running build_ext -- Building for: NMake Makefiles CMake Error at CMakeLists.txt:2 (project): Running 'nmake' '-?' failed with: The system cannot find the file specified CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! — Reply to this email directly, view it on GitHub <#6>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APII3K7RDIQ6MW36MUG7ZJTVZIW5VANCNFSM56SAXAEQ . You are receiving this because you are subscribed to this thread.Message ID: @.>
Yes,i installed minGW and also added minGW/bin directory to PATH
How can i define compiler?
And you set the environment variables the cmake printed to the compiler path right? (Cmake_c_compiler and the second one)
On Tue, Aug 16, 2022, 13:58 MikeAndarsons @.***> wrote:
Do you have a c/cpp compiler installed? Like gcc This is what your error states - that no compiler is defined … <#m-8472500135801215396> On Mon, Aug 15, 2022, 15:04 MikeAndarsons @.> wrote: I already installed cmake using pip install cmake Getting error while installing copying dearmormain.py -> build\lib.win-amd64-3.7\dearmor running build_ext -- Building for: NMake Makefiles CMake Error at CMakeLists.txt:2 (project): Running 'nmake' '-?' failed with: The system cannot find the file specified CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! — Reply to this email directly, view it on GitHub <#6 https://github.com/ErezAmihud/dearmor/issues/6>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APII3K7RDIQ6MW36MUG7ZJTVZIW5VANCNFSM56SAXAEQ https://github.com/notifications/unsubscribe-auth/APII3K7RDIQ6MW36MUG7ZJTVZIW5VANCNFSM56SAXAEQ . You are receiving this because you are subscribed to this thread.Message ID: @.>
Yes,i installed minGW and also added minGW/bin directory to PATH
— Reply to this email directly, view it on GitHub https://github.com/ErezAmihud/dearmor/issues/6#issuecomment-1216479768, or unsubscribe https://github.com/notifications/unsubscribe-auth/APII3KZ6ZPNQAH2P3KRUJHLVZNX65ANCNFSM56SAXAEQ . You are receiving this because you commented.Message ID: @.***>
@ErezAmihud No,I added to PATH variable not to that two variable
i also followed this method but same error(but without that compiler error) Added this lines to dearmor-library/CMakeLists.txt
cmake_minimum_required(VERSION 3.23)
set( CMAKE_CXX_COMPILER "C:/Users/WIN10/Downloads/gcc-12.1.0-no-debug/bin/cpp.exe" )
set( CMAKE_C_COMPILER "C:/Users/WIN10/Downloads/gcc-12.1.0-no-debug/bin/gcc.exe" )
project(dearmor)
https://stackoverflow.com/questions/70524164/cmake-c-compiler-not-set-after-enablelanguage
-- Building for: NMake Makefiles
CMake Error at CMakeLists.txt:5 (project):
Running
'nmake' '-?'
failed with:
The system cannot find the file specified
-- Configuring incomplete, errors occurred!
@ErezAmihud Can you release Compiled Version? So i can directly deobfuscate script
Solved Issue by installing VS Studio C/C++ https://visualstudio.microsoft.com/vs/features/cplusplus/
I already installed cmake using
pip install cmake
Getting error while installing