Building on Linux

Prerequisites on Linux

* Tested versions are marked in the brackets.

Building Steps

In order to make building for different version of IDA Pro easier the following directory structure is recommended. ${WORKDIR} denotes your working directory where all IDAPython-related sources will reside. The example assumes IDAPython version 0.9.0 and IDA Pro SDK version 5.1.

${WORKDIR}/idapython-0.9.0/
${WORKDIR}/swigsdk-versions/5.1/

  1. Unpack the IDAPython source and IDA Pro SDK archives to the directories
  2. Patch the IDA Pro SDK with the appropriate patch from the patches directory of the IDAPython source archive. For example:
    • cd ${WORKDIR}/swigsdk-version/5.1/
    • patch -p2 < ../../idapython-0.9.0/patches/ida51.patch
  3. Change to the IDAPython source directory and build
    • cd ${WORKDIR}/idapython-0.9.0/
    • python build.py
  4. The installable files are put to the directory ${WORKDIR}/idapython-0.9.0/idapython-0.9.53_ida5.1_py2.5_linux
  5. Install the files according to the Installation Instructions

Building on Windows

Prerequisites on Windows

* Tested versions are marked in the brackets.

Building Steps

In order to make building for different version of IDA Pro easier the following directory structure is recommended. %WORKDIR% denotes your working directory where all IDAPython-related sources will reside. The example assumes IDAPython version 0.9.0 and IDA Pro SDK version 5.1.

%WORKDIR%\idapython-0.9.0
%WORKDIR%\swigsdk-versions\5.1

  1. Unpack the IDAPython source and IDA Pro SDK archives to the directories
  2. Patch the IDA Pro SDK with the appropriate patch from the patches directory of the IDAPython source archive. For example:
    • cd %WORKDIR%/swigsdk-version/5.1/
    • patch –binary -p2 < ..\..\idapython-0.9.0\patches\ida51.patch
  3. Change to the IDAPython source directory and build
    • cd %WORKDIR%\idapython-0.9.0
    • python build.py
  4. The installable files are put to the directory %WORKDIR}%\idapython-0.9.0\idapython-0.9.53_ida5.1_py2.5_linux
  5. Install the files according to the Installation Instructions
idapython/building.txt · Last modified: 2007/10/25 01:37 by dyce
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Copyright © Gergely Erdélyi 1997-2007