I can't compile the roccat-tools :( Getting this warning:
CMake Warning (dev) at ryosmk/libroccatryosmk/CMakeLists.txt:34 (ADD_DEPENDENCIES):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "ryos_dbus_bindings" of target "libroccatryosmk" does
not exist.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at ryosmk/libryosmkeventhandler/CMakeLists.txt:23 (ADD_DEPENDENCIES):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "ryos_dbus_bindings" of target
"libryosmkeventhandler" does not exist.
This warning is for project developers. Use -Wno-dev to suppress it.
and make stops with this error:
Linking C executable roccatluaconfig
../../libroccat/libroccat.so.3.2.0: undefined reference to `dbus_message_new_method_call'
../../libroccat/libroccat.so.3.2.0: undefined reference to `dbus_connection_send'
../../libroccat/libroccat.so.3.2.0: undefined reference to `dbus_message_unref'
../../libroccat/libroccat.so.3.2.0: undefined reference to `dbus_message_append_args'
../../libroccat/libroccat.so.3.2.0: undefined reference to `dbus_connection_send_with_reply_and_block'
../../libroccat/libroccat.so.3.2.0: undefined reference to `dbus_message_get_args'
collect2: error: ld returned 1 exit status
lua/roccatluaconfig/CMakeFiles/roccatluaconfig.dir/build.make:352: recipe for target 'lua/roccatluaconfig/roccatluaconfig' failed
make[2]: *** [lua/roccatluaconfig/roccatluaconfig] Error 1
CMakeFiles/Makefile2:4189: recipe for target 'lua/roccatluaconfig/CMakeFiles/roccatluaconfig.dir/all' failed
make[1]: *** [lua/roccatluaconfig/CMakeFiles/roccatluaconfig.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Anonymous
Funny that these clear errors work for me, but here's a patch:
Thanks, works fine now!
I've added the patch to the Arch Linux AUR package.
Hi there, I'm new here and I'm still trying to find my way around linux. I'm having the same problem as described above but I don't know how to use the patch... Can you help?
Copy-paste the patch into a file.
In the shell: