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

Error in building the plugin #7

Open
iamavu opened this issue Apr 21, 2022 · 9 comments
Open

Error in building the plugin #7

iamavu opened this issue Apr 21, 2022 · 9 comments

Comments

@iamavu
Copy link

iamavu commented Apr 21, 2022

I am following the steps mentioned at https://github.com/rizinorg/rz-retdec#process

While running the command
cmake .. -DCMAKE_INSTALL_PREFIX=~/.local

I get the following error -

  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.

I tried finding the cmake files throughout the repo but couldn't find them
Thanking in advance

@wargio
Copy link
Member

wargio commented Apr 21, 2022

are you using rizin from stable branch?

@iamavu
Copy link
Author

iamavu commented Apr 21, 2022

I have rizin installed via arch pacman
community/rizin 0.3.4-1 (5.1 MiB 21.4 MiB) (Installed)
So I assume that's the stable branch

@wargio
Copy link
Member

wargio commented Apr 21, 2022

3.4 is stable. you need to use 0.4.0 which is the current dev (i.e. next release) because those cmake configs are not currently available with stable. @thestr4ng3r might confirm

@iamavu
Copy link
Author

iamavu commented Apr 21, 2022

I am having error in building rizin via both the intended method mentioned in repo and the AUR build also fails, any update on when the next release would be pushed?

@thestr4ng3r
Copy link
Member

Soon-ish, but it depends on whether it's considered stable enough rather than a specific date. Right now the best way is to build all manually from source, not aur or distributions, if you want to use retdec.

@iamavu
Copy link
Author

iamavu commented Apr 21, 2022

Alright, thank you so much for your help both of you!
Have a nice week.

@XVilka
Copy link
Member

XVilka commented Jun 26, 2023

@iamavu there were multiple releases since, did it fix your issue?

@iamavu
Copy link
Author

iamavu commented Jun 26, 2023

@XVilka

I did try just now, but seems it's not working
Here is the attached error

-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Setting build type to 'Release' as none was specified.
CMake Error at CMakeLists.txt:65 (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.                                                                

@wargio
Copy link
Member

wargio commented Jun 26, 2023

you need to provide rizin.

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

4 participants