Closed FreedomFrappa closed 2 years ago
Same outcome for me. Rizin-git 0.2.0. You ever get this working @FreedomFrappa?
When compiling under iaito i get this error. Of course i changed the flags to reflect the iaito plugin build.
/retdec-r2plugin/include/r2plugin/r2retdec.h:10:10: fatal error: r_util/r_annotated_code.h: No such file or directory
I installed the regular radare2 from the arch repositories. it could be because i am not on the latest version of radare2. But it should just work. Maybe bundleing radare2 with iaito would work. but i dont know.
there should be a package manager like with radare2 itself but for the iaito/Cutter GUI, like a plugin library.
r2retdec is outdated, unusable now as r2 plugin too
r2retdec is outdated, unusable now as r2 plugin too
Might have something to do with this: https://github.com/radareorg/r2retdec/pull/40
But my issue may be seperate i am not sure. if r_util/r_annotated_code.h is new, then its likely due to being outdated.
The last time i tried to get r2retdec to work with r2 retdec was abandoned, and it was requiring some work in their side to make it work again because of incompatibilities with the version of capstone (cs4 vs cs5) and their linking was done wrong.
iaito doesnt have plugins, because it just uses r2 plugins, the code involved is useless and will be removed.
Their authors stopped responding me a year ago, but seems like there are new commits these days and i assume they fixed. so maybe if im bored i'll pick it up, but i'm already maintaining over 9000 projects alone and it would be great if someone could help on maintaining or contributing to get it working again.
When built for Cutter, the build fails, without the BUILD_CUTTER_PLUGIN=ON build flag, it works. this was tested on archlinux and all the dependencies are installed. also encountered this issue on trisquel(ubuntu).
Requirements, versions: gcc (GCC) 10.2.0 cmake version 3.19.2 radare2 4.5.1
Installation steps:
Cmake output:
Make build output(error):
Afterwards rizin-git was installed, and it still did not work, same error. Package: https://aur.archlinux.org/packages/rizin-git/
Rizin version, on second attempt: rizin 0.1.0-git 25276 commit: 40a29cba29ebb58a15ca372a765be56e5d19d5ac