cutter icon indicating copy to clipboard operation
cutter copied to clipboard

Allow for building plugins when using ubuntu OBS cutter and rizin packages

Open wannkunstbeikor opened this issue 1 year ago • 5 comments

Is your feature request related to a problem? Please describe.

When installing the ubuntu 22.04 (not sure if this is the case for other distros, I only tested on ubuntu) package of cutter and rizin it doesnt include any decompiler. I only tried to install the rz-ghidra decompiler by building it, but that also doesn't work, bc the package doesnt include a pkg config file and maybe probably also the library files, not sure since the build failed on getting the package config file.

Describe the solution you'd like

Include the package config file and library files in a package, so that u can build plugins for cutter and rizin when using packaged builds. This would also solve the rz-pm not being able to install plugins when using the packaged build of rizin.

Describe alternatives you've considered

Include the decompiler directly like done with the AppImage.

Additional context

CMake Error at CMakeLists.txt:8 (find_package):
  By not providing "FindRizin.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Rizin", but
  CMake did not find one.

  Could not find a package configuration file provided by "Rizin" with any of
  the following names:

    RizinConfig.cmake
    rizin-config.cmake

  Add the installation prefix of "Rizin" to CMAKE_PREFIX_PATH or set
  "Rizin_DIR" to a directory containing one of the above files.  If "Rizin"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!

wannkunstbeikor avatar Sep 17 '24 20:09 wannkunstbeikor