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

QObject: No such file or directory #350

Open
BabyBroder opened this issue Apr 18, 2024 · 0 comments
Open

QObject: No such file or directory #350

BabyBroder opened this issue Apr 18, 2024 · 0 comments

Comments

@BabyBroder
Copy link

Hello everyone, I want to install rz-ghidra in Linux. However, in the step: make && make install, I have the problem.

➜ build git:(dev) ✗ make && make install
[  0%] Built target pugixml
[  4%] Built target ghidra_base
[ 27%] Built target ghidra_decompiler
[ 33%] Built target ghidra_sleigh
[ 34%] Built target ghidra_libdecomp
[ 39%] Built target core_ghidra
[ 40%] Built target asm_ghidra
[ 42%] Built target analysis_ghidra
[ 44%] Built target sleighc
[ 97%] Built target sla
[ 98%] Automatic MOC for target rz_ghidra_cutter
[ 98%] Built target rz_ghidra_cutter_autogen
[ 99%] Building CXX object cutter-plugin/CMakeFiles/rz_ghidra_cutter.dir/rz_ghidra_cutter_autogen/mocs_compilation.cpp.o
In file included from /home/syjoon/tools/rz-ghidra/build/cutter-plugin/rz_ghidra_cutter_autogen/EWIEGA46WW/moc_RzGhidraPlugin.cpp:10,
                 from /home/syjoon/tools/rz-ghidra/build/cutter-plugin/rz_ghidra_cutter_autogen/mocs_compilation.cpp:2:
/home/syjoon/tools/rz-ghidra/build/cutter-plugin/rz_ghidra_cutter_autogen/EWIEGA46WW/../../../../cutter-plugin/RzGhidraPlugin.h:8:10: fatal error: QObject: No such file or directory
    8 | #include <QObject>
      |          ^~~~~~~~~
compilation terminated.
make[2]: *** [cutter-plugin/CMakeFiles/rz_ghidra_cutter.dir/build.make:76: cutter-plugin/CMakeFiles/rz_ghidra_cutter.dir/rz_ghidra_cutter_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:434: cutter-plugin/CMakeFiles/rz_ghidra_cutter.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

I installed qt5 and qt6, it exists in my /usr/include

➜  ~ find /usr/include -iname "qobject"
/usr/include/x86_64-linux-gnu/bits/QtCore/QObject
/usr/include/x86_64-linux-gnu/qt5/QtCore/QObject
/usr/include/x86_64-linux-gnu/qt6/QtCore/QObject

/usr/include/c++/11/QtCore/QObject
Can you help me!!!
I spent many times for it, but I can't solve it.

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

No branches or pull requests

1 participant