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".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
-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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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:
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. :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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".
Maybe FindGAMINGGEAR0.cmake was installed in a wrong folder. Does the following command give you multiple results?
Got the same problem. When I type ls /usr/share/cmake* I get
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?
Oh yeah. That is most likely what happened.
I am using Ubuntu 14.04
Thank you for your fast help. So I just need to uninstall and install libgaminggear agin? How do I do that?
Go to your libgaminggear build folder.
Uninstall libgaminggear:
Empty the build folder:
Start anew:
Go on with roccat-tools
I'm having the same error, and have been troubleshooting for a couple hours...
So I followed your instructuions here:
But no luck. Same error. I'm running Fedora 21 on 3.19.5-200.fc21.x86_64.
What makes me suspicious is the line
Did you copy the FindGAMINGGEAR0.cmake in roccat_tools cmake_modules folder?
Thank you. Everything is working now.
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.
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.
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
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.
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
I can't get it to work too ...
Here is exactly what I did:
then I switch to roccat-tools:
aaanddd nothing:
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!
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.
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.
Let's take LIBDIR option description of the INSTALL instructions contained in the roccat-tools package apart:
This means normally you have to do nothing, my finder routines should be able to find the right target in most cases.
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
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
for libgaminggear configuration and see what happens. Before building you could check the value of variables like INSTALL_LIBDIR with
issued in the build folder. And yes it's two c's.
Hope this helps.
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:
Used find to look for gaminggear, then changed the line in CMakeCache.txt it to:
After that cmake didn't give me errors anymore.
Thanks, this did the trick!
Working like a charm now!
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
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. :)
This issue is triggered on systems without sqlite3 development package. That's going to be fixed in the next release.
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
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.