Announcement

Collapse
No announcement yet.

Razer device configuration tool

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Razer device configuration tool

    Trying to install this program for more mouse settings since i'm not happy about the software that followed with.
    http://bues.ch/cms/hacking/razercfg.html


    I've downloaded the file, extraced it and installed
    cmake, libusb, python and pyside as is written in the readme file.
    when i'm doing "sudo cmake ." i'm getting this up

    agz@agz-desktop:~/Downloads/razer-master-e50dac1$ sudo cmake .
    'CMake Error at CMakeLists.txt:18 (message):
    Could not find library "libusb-1.0" with header libusb.h
    Call Stack (most recent call first):
    CMakeLists.txt:23 (check_lib)


    -- Configuring incomplete, errors occurred!
    See also "/home/agz/Downloads/razer-master-e50dac1/CMakeFiles/CMakeOutput.log".
    See also "/home/agz/Downloads/razer-master-e50dac1/CMakeFiles/CMakeError.log".
    agz@agz-desktop:~/Downloads/razer-master-e50dac1$ '



    CMakeError.log --> https://paste.kde.org/pvmzeklu5
    CMakeOutput.log --> https://paste.kde.org/pad5mjh0y

    Any ideas ?

    #2
    (1) http://packages.ubuntu.com/search?se...enial&arch=any

    so, 'sudo apt install libusb-1.0-0-dev'

    (2) don't run 'cmake .' with sudo

    you'd only need that for the final 'sudo make install'

    Code:
    cmake .
    -- The C compiler identification is GNU 5.3.1
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Check if the system is big endian
    -- Searching 16 bit integer
    -- Looking for sys/types.h
    -- Looking for sys/types.h - found
    -- Looking for stdint.h
    -- Looking for stdint.h - found
    -- Looking for stddef.h
    -- Looking for stddef.h - found
    -- Check size of unsigned short
    -- Check size of unsigned short - done
    -- Using unsigned short
    -- Check if the system is big endian - little endian
    -- Looking for libusb.h
    -- Looking for libusb.h - found
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/***/devel/razer
    ***@****:~/devel/razer$ make
    Scanning dependencies of target razer
    [  4%] Building C object librazer/CMakeFiles/razer.dir/buttonmapping.o
    [  9%] Building C object librazer/CMakeFiles/razer.dir/profile_emulation.o
    [ 13%] Building C object librazer/CMakeFiles/razer.dir/librazer.o
    [ 18%] Building C object librazer/CMakeFiles/razer.dir/config.o
    [ 22%] Building C object librazer/CMakeFiles/razer.dir/util.o
    [ 27%] Building C object librazer/CMakeFiles/razer.dir/synapse.o
    [ 31%] Building C object librazer/CMakeFiles/razer.dir/cypress_bootloader.o
    [ 36%] Building C object librazer/CMakeFiles/razer.dir/hw_boomslangce.o
    [ 40%] Building C object librazer/CMakeFiles/razer.dir/hw_copperhead.o
    [ 45%] Building C object librazer/CMakeFiles/razer.dir/hw_deathadder.o
    [ 50%] Building C object librazer/CMakeFiles/razer.dir/hw_deathadder2013.o
    [ 54%] Building C object librazer/CMakeFiles/razer.dir/hw_deathadder_chroma.o
    [ 59%] Building C object librazer/CMakeFiles/razer.dir/hw_krait.o
    [ 63%] Building C object librazer/CMakeFiles/razer.dir/hw_lachesis.o
    [ 68%] Building C object librazer/CMakeFiles/razer.dir/hw_lachesis5k6.o
    [ 72%] Building C object librazer/CMakeFiles/razer.dir/hw_naga.o
    [ 77%] Building C object librazer/CMakeFiles/razer.dir/hw_imperator.o
    [ 81%] Building C object librazer/CMakeFiles/razer.dir/hw_taipan.o
    [ 86%] Linking C shared library librazer.so
    [ 86%] Built target razer
    Scanning dependencies of target razerd
    [ 90%] Building C object razerd/CMakeFiles/razerd.dir/razerd.o
    [ 95%] Linking C executable razerd
    [ 95%] Built target razerd
    Scanning dependencies of target pyrazer
    [100%] Generating build/stamp
    running build
    running build_py
    creating /home/***/devel/razer/ui/build
    creating /home/***/devel/razer/ui/build/lib
    creating /home/***/devel/razer/ui/build/lib/pyrazer
    copying pyrazer/main.py -> /home/***/devel/razer/ui/build/lib/pyrazer
    copying pyrazer/__init__.py -> /home/***/devel/razer/ui/build/lib/pyrazer
    copying pyrazer/ui.py -> /home/***/devel/razer/ui/build/lib/pyrazer
    running build_scripts
    creating /home/***/devel/razer/ui/build/scripts-3.5
    copying and adjusting razercfg -> /home/***/devel/razer/ui/build/scripts-3.5
    copying and adjusting qrazercfg -> /home/***/devel/razer/ui/build/scripts-3.5
    changing mode of /home/***/devel/razer/ui/build/scripts-3.5/razercfg from 664 to 775
    changing mode of /home/***/devel/razer/ui/build/scripts-3.5/qrazercfg from 664 to 775
    [100%] Built target pyrazer
    On #kubuntu-devel & #kubuntu on libera.chat - IRC Nick: RikMills - Launchpad ID: click

    Comment


      #3
      solved it by deleting the cache file from the cmake. and then ran it all trough.

      Comment


        #4
        Not surprised, since as above it should run ok with minimal setup.
        On #kubuntu-devel & #kubuntu on libera.chat - IRC Nick: RikMills - Launchpad ID: click

        Comment

        Working...
        X