Thanks for all your work on this and sorry to bug you on an unsupported project but hopping you can help me get this to build on Ubuntu 21.04 CFLAGS="-isystem /usr/include/harfbuzz" cmake -DCMAKE_INSTALL_PREFIX="/usr" -DWITH_LUA="5.4" -DDEVICES='ryosmk' ..
I can get it to build fine if I exclude ryosmk but of course I need that device.
/usr/bin/ld:CMakeFiles/libroccatryosmk.dir/ryos_device.c.o:(.bss+0x0):multipledefinitionof`RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_device_state.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait';CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0):firstdefinedhere/usr/bin/ld:CMakeFiles/libroccatryosmk.dir/ryos_info.c.o:(.bss+0x0):multipledefinitionof`RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_key_mask.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait';CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0):firstdefinedhere/usr/bin/ld:CMakeFiles/libroccatryosmk.dir/ryos_keys_easyzone.c.o:(.bss+0x0):multipledefinitionof`RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_keys_extra.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait';CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0):firstdefinedhere/usr/bin/ld:CMakeFiles/libroccatryosmk.dir/ryos_keys_function.c.o:(.bss+0x0):multipledefinitionof`RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_keys_macro.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait';CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0):firstdefinedhere/usr/bin/ld:CMakeFiles/libroccatryosmk.dir/ryos_keys_primary.c.o:(.bss+0x0):multipledefinitionof`RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_keys_thumbster.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait';CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0):firstdefinedhere/usr/bin/ld:CMakeFiles/libroccatryosmk.dir/ryos_light.c.o:(.bss+0x0):multipledefinitionof`RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_light_control.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait';CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0):firstdefinedhere/usr/bin/ld:CMakeFiles/libroccatryosmk.dir/ryos_macro.c.o:(.bss+0x0):multipledefinitionof`RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_profile.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait';CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0):firstdefinedhere/usr/bin/ld:CMakeFiles/libroccatryosmk.dir/ryos_reset.c.o:(.bss+0x0):multipledefinitionof`RyosWriteCheckWait'; CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0): first defined here/usr/bin/ld: CMakeFiles/libroccatryosmk.dir/ryos_stored_lights.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait';CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0):firstdefinedhere/usr/bin/ld:CMakeFiles/libroccatryosmk.dir/ryos_talk.c.o:(.bss+0x0):multipledefinitionof`RyosWriteCheckWait';CMakeFiles/libroccatryosmk.dir/ryos_custom_lights.c.o:(.bss+0x0):firstdefinedherecollect2:error:ldreturned1exitstatusmake[2]:***[ryosmk/libroccatryosmk/CMakeFiles/libroccatryosmk.dir/build.make:653:ryosmk/libroccatryosmk/libroccatryosmk.so.5.9.0]Error1make[1]:***[CMakeFiles/Makefile2:1296:ryosmk/libroccatryosmk/CMakeFiles/libroccatryosmk.dir/all]Error2make:***[Makefile:160:all]Error2
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I guess this error comes from using clang instead of gcc on debian based distributions.
But there is indeed a error in ryosmk/libroccatryosmk/ryos_device.h. Add a 'typedef' to line 25 so that it reads
typedef enum {
and try again. I might release a new version that fixes this and the harfbuzz problems...
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2021-10-19
Post awaiting moderation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for all your work on this and sorry to bug you on an unsupported project but hopping you can help me get this to build on Ubuntu 21.04
CFLAGS="-isystem /usr/include/harfbuzz" cmake -DCMAKE_INSTALL_PREFIX="/usr" -DWITH_LUA="5.4" -DDEVICES='ryosmk' ..
I can get it to build fine if I exclude ryosmk but of course I need that device.
I guess this error comes from using clang instead of gcc on debian based distributions.
But there is indeed a error in ryosmk/libroccatryosmk/ryos_device.h. Add a 'typedef' to line 25 so that it reads
typedef enum {
and try again. I might release a new version that fixes this and the harfbuzz problems...
Thank you! Worked like a charm. Thanks again for your work on this.