Menu

GAMINGGEAR0 installed but not working

Help
Anonymous
2014-12-31
2016-11-02
  • Anonymous

    Anonymous - 2014-12-31

    I have installed Gaming Gear according to its instructions, but when I run the command to install the Roccat utility, it returns this:
    $ cmake -DCMAKE_INSTALL_PREFIX="/usr" ..
    -- compiling for devices arvo;isku;iskufx;koneplus;konepure;konepuremilitary;konepureoptical;konextd;konextdoptical;kovaplus;lua;pyra;ryos;savu;tyon;kone
    -- Installing libraries in /usr/lib/x86_64-linux-gnu
    -- Installing udev rules in /lib/udev/rules.d
    -- Compiler supports attribute pack
    CMake Error at /usr/share/cmake-2.8/Modules/FindGAMINGGEAR0.cmake:66 (MESSAGE):
    Could not find GAMINGGEAR0
    Call Stack (most recent call first):
    CMakeLists.txt:67 (FIND_PACKAGE)

    -- Configuring incomplete, errors occurred!
    See also "/home/kirov123/Downloads/roccat-tools-2.2.0/build/CMakeFiles/CMakeOutput.log".

     
  • Stefan Achatz

    Stefan Achatz - 2014-12-31

    Maybe FindGAMINGGEAR0.cmake was installed in a wrong folder. Does the following command give you multiple results?

    ls /usr/share/cmake*
    
     
  • Anonymous

    Anonymous - 2015-02-26

    Got the same problem. When I type ls /usr/share/cmake* I get

    /usr/share/cmake:
    SharedDesktopOntologies
    
    /usr/share/cmake-2.8:
    completions  editors  include  Modules  Templates
    
     
  • Stefan Achatz

    Stefan Achatz - 2015-02-26

    Please post the content of the file "install_manifest.txt" in your libgaminggear build folder and tell me your distro.
    Maybe you tried to configure the project before you installed the dependencies and now the libraries are in the wrong destination?

     
  • Anonymous

    Anonymous - 2015-02-26

    Oh yeah. That is most likely what happened.

    I am using Ubuntu 14.04

    /usr/share/pkgconfig/gaminggear-0.pc
    /usr/share/cmake-2.8/Modules/FindGAMINGGEAR0.cmake
    /usr/share/gaminggear/icons/hicolor/16x16/actions/gaminggear-link.png
    /usr/share/gaminggear/icons/hicolor/16x16/actions/gaminggear-link_break.png
    /usr/share/gaminggear/icons/hicolor/16x16/actions/gaminggear-press.png
    /usr/share/gaminggear/icons/hicolor/16x16/actions/gaminggear-release.png
    /usr/share/gaminggear/icons/hicolor/16x16/actions/gaminggear-wait.png
    /usr/include/gaminggear-0/gaminggear/audio_notificator.h
    /usr/include/gaminggear-0/gaminggear/evdev.h
    /usr/include/gaminggear-0/gaminggear/gaminggear_device.h
    /usr/include/gaminggear-0/gaminggear/gaminggear_hscale.h
    /usr/include/gaminggear-0/gaminggear/gaminggear_macro_dialog.h
    /usr/include/gaminggear-0/gaminggear/gaminggear_macro_editor_dialog.h
    /usr/include/gaminggear-0/gaminggear/gaminggear_text_dialog.h
    /usr/include/gaminggear-0/gaminggear/gaminggear_timeout_bar.h
    /usr/include/gaminggear-0/gaminggear/gaminggear_timeout_dialog.h
    /usr/include/gaminggear-0/gaminggear/gaminggear_xy_scales.h
    /usr/include/gaminggear-0/gaminggear/gaminggear.h
    /usr/include/gaminggear-0/gaminggear/gdk_key_translations.h
    /usr/include/gaminggear-0/gaminggear/hid_uid.h
    /usr/include/gaminggear-0/gaminggear/key_translations.h
    /usr/include/gaminggear-0/gaminggear/macro.h
    /usr/include/gaminggear-0/gaminggear/macro_threads.h
    /usr/include/gaminggear-0/gaminggear/screen_notificator.h
    /usr/include/gaminggear-0/gaminggear/threads.h
    /usr/lib64/libgaminggear.so.0.6.0
    /usr/lib64/libgaminggear.so.0
    /usr/lib64/libgaminggear.so
    /usr/lib64/libgaminggearwidget.so.0.6.0
    /usr/lib64/libgaminggearwidget.so.0
    /usr/lib64/libgaminggearwidget.so
    

    Thank you for your fast help. So I just need to uninstall and install libgaminggear agin? How do I do that?

     
  • Stefan Achatz

    Stefan Achatz - 2015-02-26

    Go to your libgaminggear build folder.
    Uninstall libgaminggear:

    sudo make uninstall
    

    Empty the build folder:

    rm -r *
    

    Start anew:

    cmake -DCMAKE_INSTALL_PREFIX="/usr" ..
    make
    sudo make install
    

    Go on with roccat-tools

     
    • Anonymous

      Anonymous - 2015-05-05

      I'm having the same error, and have been troubleshooting for a couple hours...

      $ cmake -DCMAKE_INSTALL_PREFIX="/usr" -DDEVICES="konepure" ..
      -- compiling for devices konepure
      -- Installing libraries in /usr/lib64
      -- Installing udev rules in /usr/lib/udev/rules.d
      -- Installing eventhandler plugins in /usr/lib64/roccat
      -- Compiler supports attribute pack
      -- checking for module 'gaminggear-0'
      -- package 'gaminggear-0' not found
      CMake Error at cmake_modules/FindGAMINGGEAR0.cmake:70 (MESSAGE):
      Could not find GAMINGGEAR0
      Call Stack (most recent call first):
      CMakeLists.txt:79 (FIND_PACKAGE)

      -- Configuring incomplete, errors occurred!

      So I followed your instructuions here:

      Go to your libgaminggear build folder.
      Uninstall libgaminggear:

      sudo make uninstall

      Empty the build folder:

      rm -r *

      Start anew:

      cmake -DCMAKE_INSTALL_PREFIX="/usr" ..
      make
      sudo make install

      Go on with roccat-tools

      But no luck. Same error. I'm running Fedora 21 on 3.19.5-200.fc21.x86_64.

       
      • Stefan Achatz

        Stefan Achatz - 2015-05-05

        What makes me suspicious is the line

        CMake Error at cmake_modules/FindGAMINGGEAR0.cmake:70
        

        Did you copy the FindGAMINGGEAR0.cmake in roccat_tools cmake_modules folder?

         
  • Anonymous

    Anonymous - 2015-02-26

    Thank you. Everything is working now.

     
  • Anonymous

    Anonymous - 2015-02-26

    I have installed libgaminggear and everything go well so I move on to install roccat-tools but I get an error telling me :

    package 'gudev-1.0' not found

    There is any other dependency needed to be installed ?
    I'm under Unbuntu Gnome 14.10 x64 if this info can help you.

     
  • Stefan Achatz

    Stefan Achatz - 2015-02-27

    The install_deps_ubuntu script should install libgudev-1.0-dev. If this isn't enough, make sure the library itself is installed, which should be libgudev-1.0.

     
  • Anonymous

    Anonymous - 2015-02-27

    Ok after a "sudo apt-get install libgudev-1.0-dev" the roccat-tools installation worked. But when I launch Ryos MK Config I get an error message :
    Can't read actual profile:
    GaminggearDevice : error opening /dev/hidraw2 for key hidraw0: Permission not granted

     
  • Stefan Achatz

    Stefan Achatz - 2015-02-27

    After installing new udev rules you need to replug the device.
    After adding yourself to group roccat you need to relogin for the new membership to be applied.

     
  • Anonymous

    Anonymous - 2015-02-27

    Thanks for your help, but a simple logout/login was not enough, after a complete reboot it work.

    Now learning how my keybord work !

    Best regards

     
  • Tobias Müller

    Tobias Müller - 2015-05-07

    I can't get it to work too ...

    Here is exactly what I did:

    -downloaded libgaminggear-0.8.0 from sourceforge
    -extracted it
    tar -xjf libgaminggear-0.8.0.tar.bz2
    cd libgaminggear-0.8.0
    mkdir build
    cd build
    cmake -DCMAKE_INSTALL_PREFIX="/usr" .. -DINSTALL_LIBDIR="/usr/lib"
    make
    sudo make install
    -works fine!

    then I switch to roccat-tools:

    -downloaded roccat-tools-3.3.0
    -extracted it
    tar -xjf roccat-tools-3.3.0.tar.bz2
    cd roccat-tools-3.3.0
    mkdir build
    cd build
    cmake -DCMAKE_INSTALL_PREFIX="/usr" .. -DLIBDIR="/usr/lib" -DDEVICES="koneplus;isku"

    aaanddd nothing:

    -- checking for module 'gaminggear-0'
    -- package 'gaminggear-0' not found
    CMake Error at /usr/share/cmake-3.0/Modules/FindGAMINGGEAR0.cmake:70 (MESSAGE):
    Could not find GAMINGGEAR0
    Call Stack (most recent call first):
    CMakeLists.txt:79 (FIND_PACKAGE)

    What did I do wrong?
    System: Debian 8.0 "Jessie" - amd64 - Gnome3
    Thanks in advance, if you need more Information to help me out, please tell me and I'll have a look!

     
  • Stefan Achatz

    Stefan Achatz - 2015-05-08

    Why do you choose /usr/lib as library target directory for 64 bit libraries on a 64 bit debian system? Please put them where they belong and try again.

    Do a "sudo make uninstall" from the libgaminggear build directory. Delete everything in the build folder and configure again omitting the INSTALL_LIBDIR option.

     
    • Tobias Müller

      Tobias Müller - 2015-05-11

      That is the problem, I don't know where they have to be saved.
      I always tried to avoid compiling from source ... so I got no experience
      with this at all.

      So the INSTALL file of libgaminggear tells me:
      "It is strongly recommended to install everything in /usr instead of the default directory /usr/local. "

      In my user directory there are only the following subfolders:
      bin, games, include, lib, lib32, libx32, local, sbin share and src

      Could you please tell the the suitable commands for mmy system? =/
      Thanks in advance!

      PS: I already did the uninstall thing.

       
      • Stefan Achatz

        Stefan Achatz - 2015-05-11

        Let's take LIBDIR option description of the INSTALL instructions contained in the roccat-tools package apart:

        "If cmake doesn't find the right install directory for libraries, you can set it manually"

        This means normally you have to do nothing, my finder routines should be able to find the right target in most cases.

        "For rpm based 64bit systems that's normally $PREFIX/lib64, but dpkg based systems use something like $PREFIX/lib/x86_64-linux-gnu/"

        Your Debian is the mother of all dpkg based systems so the path for 64-bit libraries should be clear now. /usr/lib is for 32-bit libraries. Unless Debian invented some new scheme already.

        The other sentence you mentioned

        "It is strongly recommended to install everything in /usr instead of the default directory /usr/local."

        cmake automatically sets PREFIX to /usr/local which should be the desired location for software that is installed without package management. Unfortunately this makes more problems than one might think. That's why I have to recommend /usr as base directory.

        So you should try the line

        cmake -DCMAKE_INSTALL_PREFIX="/usr" ..
        

        for libgaminggear configuration and see what happens. Before building you could check the value of variables like INSTALL_LIBDIR with

        ccmake .
        

        issued in the build folder. And yes it's two c's.

        Hope this helps.

         
  • Anonymous

    Anonymous - 2015-05-09

    Had the same error on Debian 7 (kernel 3.16).

    The problem turned out to be in CMakeCache.txt in the build directory. For some reason path to gaminggear was:

    GAMINGGEAR0_INCLUDE_DIR:PATH=GAMINGGEAR0_INCLUDE_DIR-NOTFOUND
    

    Used find to look for gaminggear, then changed the line in CMakeCache.txt it to:

    GAMINGGEAR0_INCLUDE_DIR:PATH=/usr/include/gaminggear-0
    

    After that cmake didn't give me errors anymore.

     
    • Tobias Müller

      Tobias Müller - 2015-05-16

      Thanks, this did the trick!
      Working like a charm now!

       
    • Anonymous

      Anonymous - 2015-10-05

      Thanks to you I successfully compiled roccat-tools (despite the cmake error that told me gaminggear-0 was not found). But when I tried to launch whateverconfig I've got a segfault error.
      Well, I really hope that the next release of roccat-tools won't have this kind of problem on Debian-based distrib.
      Btw, thank you for your work Stefan. :)

       
  • Stefan Achatz

    Stefan Achatz - 2015-10-03

    This issue is triggered on systems without sqlite3 development package. That's going to be fixed in the next release.

     
  • Anonymous

    Anonymous - 2016-11-02

    I realise that this is an old thread but the error seems to be ongoing.

    Can you include sqlite3-dev in the list of dependencies and/or the scripts/install* scripts?

    That might be enough to let people build until you resolve it in your next release.

     

Anonymous
Anonymous

Add attachments
Cancel