idapython
idapython copied to clipboard
Can't build idapython with hexrays support
What steps will reproduce the problem?
1. Building with the --with-hexrays option, as in python build.py --with-hexrays
2.
3.
What is the expected output? What do you see instead?
idaapi.cpp does not compile.
What version of the product are you using? On what operating system?
Windows 7, IDA 6.5 with Hex-Rays decompiler plugin, Python 2.7, swig 2.0.12
Please provide any additional information below.
The build succeeds when I don't use the --with-hexrays flag.
Original issue reported on code.google.com by [email protected] on 2 Apr 2014 at 3:29
Attachments:
the problem is the "#define typename" in swig/hexrays.i
which causes problems in the c++ template declarations.
I am not sure why hexrays.i would try to redefine a c++ keyword.
Original comment by [email protected] on 5 Apr 2014 at 9:21
interesting code of standalone module for hexrays python from github is using
such define and compiles well though it is a bit outdated and crashing 6.5. but
even after removing there are other errors: 'wrong calling convention' on
windows platform and some hexrays python classes are absent like 'typestring'.
the only working version is binaries for 6.4 on github.
Original comment by [email protected] on 18 Apr 2014 at 10:36