Hexrays.hpp: No such file or directory
yangshouguo opened this issue · 1 comments
yangshouguo commented
When i ran make IDA_DIR=/home/ysg/idafree-7.0 IDA_SDK=/home/ysg/idafree-7.0/idasdk70 EA64=0 make -f makefile.lnx
on Linux , i ran into this problem.
I used the IDAFree 7.0 Version
rm -f ./CodeXplorer.o ./CtreeGraphBuilder.o ./ObjectExplorer.o ./TypeReconstructor.o ./CtreeExtractor.o ./TypeExtractor.o ./Utility.o ./MSVCObjectFormatParser.o ./IObjectFormatParser.o ./GCCObjectFormatParser.o ./GCCVtableInfo.o ./GCCTypeInfo.o ./Debug.o HexRaysCodeXplorer.so
g++ -m64 -fPIC -D__LINUX__ -D__PLUGIN__ -std=c++11 -D__X64__ -D_GLIBCXX_USE_CXX11_ABI=0 -I/home/ysg/idafree-7.0/idasdk70/include -I/home/ysg/idafree-7.0/plugins/hexrays_sdk/include -c CodeXplorer.cpp -o CodeXplorer.o
In file included from CodeXplorer.cpp:26:0:
Common.h:57:10: fatal error: hexrays.hpp: No such file or directory
#include <hexrays.hpp>
^~~~~~~~~~~~~
compilation terminated.
makefile.lnx:50: recipe for target 'CodeXplorer.o' failed
make: *** [CodeXplorer.o] Error 1
matrosov commented
Hex-Rays SDK stored separately and hexrays.hpp located there. In my case: "Program Files\IDA\plugins\hexrays_sdk".