pez2001 / razer_chroma_drivers

A collection of Linux drivers for Razer Chroma devices, it supports all lighting modes and includes a daemon for advanced effects + gui configuration app
GNU General Public License v2.0
231 stars 31 forks source link

Make failed on fedora 23 #160

Open fr1sk opened 7 years ago

fr1sk commented 7 years ago

I have issue compiling it on fedora 23. When i run make everything goes on until snake game and outputs this:

g++ snake.cpp -Wall -Wextra -W -w -Os -std=c99 -DMAJOR_VERSION=0 -DMINOR_VERSION=3 -fPIC -DPIC -DLINUX -D_XOPEN_SOURCE=700 ../../lib/librazer_chroma.a -lm -o snake_game
In file included from /usr/include/c++/5.3.1/list:60:0,
                 from snake.cpp:2:
/usr/include/c++/5.3.1/bits/stl_algobase.h:59:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
Makefile:14: recipe for target 'snake' failed
make[2]: *** [snake] Error 1
Makefile:51: recipe for target 'snake' failed
make[1]: *** [snake] Error 2
Makefile:73: recipe for target 'examples' failed
make: *** [examples] Error 2

any suggestions how to fix it?

fr1sk commented 7 years ago

i fixed problem by installing libstdc++-devel.x86_64 but now i got new error: make -C /lib/modules/4.4.3-300.fc23.x86_64/build SUBDIRS=/home/fr1sk/Tools/razerDrivers/razer_chroma_drivers/driver modules > /dev/null 2>&1 Makefile:19: recipe for target 'driver' failed make: *** [driver] Error 2

z3ntu commented 7 years ago

Hey, if you want Fedora support you should look at https://github.com/terrycain/razer-drivers and for easy instructions look here: https://github.com/terrycain/razer-drivers/pull/126#issuecomment-269630163