Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build idapython with hexrays support #95

Open
GoogleCodeExporter opened this issue Apr 24, 2015 · 2 comments
Open

Can't build idapython with hexrays support #95

GoogleCodeExporter opened this issue Apr 24, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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:

@GoogleCodeExporter
Copy link
Author

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

@GoogleCodeExporter
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant