kumaraguruv / idapython

Automatically exported from code.google.com/p/idapython
Other
0 stars 0 forks source link

Can't build idapython with hexrays support #95

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 bah...@gmail.com on 2 Apr 2014 at 3:29

Attachments:

GoogleCodeExporter commented 8 years ago
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 willem.h...@gmail.com on 5 Apr 2014 at 9:21

GoogleCodeExporter commented 8 years ago
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 neepo...@gmail.com on 18 Apr 2014 at 10:36