marvinkreis / rofi-file-browser-extended

Use rofi to quickly open files
MIT License
242 stars 15 forks source link

Problem installing this on Linux Mint 21 #46

Closed musicfunfan closed 1 year ago

musicfunfan commented 2 years ago

Hello, I really like this plug in i use it on my archlinux system all the time. I want to install it on my Linux Mint system too. I use Linux Mint 21 and the rofi vesion is Version: 1.7.1.

What i did ?

-- The C compiler identification is GNU 11.2.0 -- The CXX compiler identification is GNU 11.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 -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Checking for one of the modules 'glib-2.0' -- Checking for one of the modules 'cairo' Package rofi was not found in the pkg-config search path. Perhaps you should add the directory containing `rofi.pc' to the PKG_CONFIG_PATH environment variable No package 'rofi' found -- Looking for FTW_ACTIONRETVAL -- Looking for FTW_ACTIONRETVAL - found -- Configuring done -- Generating done -- Build files have been written to: /home/msuicfun/gitrepo/rofi-file-browser-extended

* Then i try the ``make`` command and i get an error 
```bash [ 11%] Building C object CMakeFiles/filebrowser.dir/src/cmds.c.o
[ 22%] Building C object CMakeFiles/filebrowser.dir/src/filebrowser.c.o
/home/msuicfun/gitrepo/rofi-file-browser-extended/src/filebrowser.c:5:10: fatal error: rofi/mode.h: No such file or directory
    5 | #include <rofi/mode.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/filebrowser.dir/build.make:90: CMakeFiles/filebrowser.dir/src/filebrowser.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/filebrowser.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

I do have rofi installed i do not know what the problem is. Any body knows what the problem is ?

wisedevman commented 2 years ago

You have to install rofi-dev package (containing c headers).

musicfunfan commented 1 year ago

ooo sorry i miss your answer. So i did what you snuggest i install rofi-devfrom apt. And i thing is working fine. Thenx.