Logitech G13 driver compilation issue

Issues related to hardware problems
Post Reply
loy
Posts: 1
Joined: 2019/06/29 13:02:58

Logitech G13 driver compilation issue

Post by loy » 2019/06/29 13:16:52

Hi!

I am new here, sorry if posting on wrong place, but for me it's a hardware issue, not pure software.
I have a Logitech G13 game controller and I want it to work under CentOS7.
I try to compile this driver from source: https://github.com/ecraven/g13
I researched for the missing libraries and it compiles the .c files to .o, but when it try to link it I got an error message, which I can't manage:

g++ -o g13d -std=c++0x \
g13_main.o g13.o g13_log.o g13_fonts.o g13_lcd.o g13_stick.o g13_keys.o helper.o \
-lusb-1.0 -lboost_program_options \
-lboost_log \
-lboost_system -lpthread
/bin/ld: cannot find -lboost_log
collect2: error: ld returned 1 exit status
make: *** [g13d] Error 1


On debian9 it compiles and works perfectly, so the source and a driver is OK.

User avatar
TrevorH
Forum Moderator
Posts: 26863
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Logitech G13 driver compilation issue

Post by TrevorH » 2019/06/29 15:13:35

You're missing a -devel package that supplies a library called libboost_log. Run yum provides '*/libboost_log*' to locate packages that provide things that match that pattern and pick the best one for your use. Since it's not complaining about -lboost_program_options, check your system and find out what package provided libboost_program_options and use the similarly named package that provides the other lib.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - Hardware Support”