pycdc 编译

源码下载地址https://github.com/zrax/pycdc

win10编译需要CMake  vs2017

CMake下载地址https://cmake.org/download/

.\pycdc-master>cmake CMakeLists.txt

-- Building for: Visual Studio 15 2017
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.18363.
-- The C compiler identification is MSVC 19.16.27032.1
-- The CXX compiler identification is MSVC 19.16.27032.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- 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 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - 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 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: C:/python27-x64/python.exe (found version "2.7.13")
-- Configuring done
-- Generating done
-- Build files have been written to: .\pycdc-master

使用vs2017 打开 pycdc.sln

编译一切顺利.

同类工具:

https://github.com/rocky/python-uncompyle6

http://tool.lu/pyc/

你可能感兴趣的:(杂)