Skip to content

Unable to compile source (master branch) #5

@gomera

Description

@gomera

Hi @RedFantom, I am trying to compile the tools so that I can get you the mapkeys for my keyboard but I am not able to even pass the first part.

BTW, before this, I was getting another cmake error (unable to find X11) which was solved by adding one extra dependency: libx11-dev. (I've just realized that this is because I was also compiling some examples, I commented that line but the error is still there, even after a clean)

gomera@deathscythe:~/projects/masterkeys-linux$ cmake .
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- 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 for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at libmk/CMakeLists.txt:5 (include):
  include could not find load file:

    FindLibUSB.cmake
Call Stack (most recent call first):
  CMakeLists.txt:6 (include)


-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
CMake Error at examples/ambilight/CMakeLists.txt:5 (include):
  include could not find load file:

    FindLibUSB.cmake
Call Stack (most recent call first):
  examples/CMakeLists.txt:7 (include)
  CMakeLists.txt:10 (include)


/usr/include
/usr/lib/x86_64-linux-gnu/libX11.so
-- Configuring incomplete, errors occurred!
See also "/home/gomera/projects/masterkeys-linux/CMakeFiles/CMakeOutput.log".

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions