{"action":"created","issue":{"url":"https://api.github.com/repos/audiohacked/OpenCorsairLink/issues/8","labels_url":"https://api.github.com/repos/audiohacked/OpenCorsairLink/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/audiohacked/OpenCorsairLink/issues/8/comments","events_url":"https://api.github.com/repos/audiohacked/OpenCorsairLink/issues/8/events","html_url":"https://github.com/audiohacked/OpenCorsairLink/issues/8","id":68008049,"number":8,"title":"Error building","user":{"login":"towheed","id":11918890,"avatar_url":"https://avatars.githubusercontent.com/u/11918890?v=3","gravatar_id":"","url":"https://api.github.com/users/towheed","html_url":"https://github.com/towheed","followers_url":"https://api.github.com/users/towheed/followers","following_url":"https://api.github.com/users/towheed/following{/other_user}","gists_url":"https://api.github.com/users/towheed/gists{/gist_id}","starred_url":"https://api.github.com/users/towheed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/towheed/subscriptions","organizations_url":"https://api.github.com/users/towheed/orgs","repos_url":"https://api.github.com/users/towheed/repos","events_url":"https://api.github.com/users/towheed/events{/privacy}","received_events_url":"https://api.github.com/users/towheed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-13T05:01:25Z","updated_at":"2015-04-13T18:39:37Z","closed_at":null,"body":"Just trying to build but fails with:\r\n------\r\n/usr/bin/ld: cannot find -lGL\r\ncollect2: error: ld returned 1 exit status\r\nMakefile:159: recipe for target '../OpenCorsairLinkGui' failed\r\nmake[1]: *** [../OpenCorsairLinkGui] Error 1\r\nmake[1]: Leaving directory '/home/towheed/OpenCorsairLink/Gui'\r\nMakefile:126: recipe for target 'sub-Gui-make_first-ordered' failed\r\nmake: *** [sub-Gui-make_first-ordered] Error 2\r\n----------\r\n\r\nThis is the full output from make:\r\ncd CorsairLinkLib/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/towheed/OpenCorsairLink/CorsairLinkLib/CorsairLinkLib.pro -o Makefile ) && make -f Makefile \r\nmake[1]: Entering directory '/home/towheed/OpenCorsairLink/CorsairLinkLib'\r\ng++ -c -m64 -pipe -g -fPIC -Wall -W -D_REENTRANT  -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -o Fan.o Fan.cpp\r\ng++ -c -m64 -pipe -g -fPIC -Wall -W -D_REENTRANT  -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -o Led.o Led.cpp\r\ng++ -c -m64 -pipe -g -fPIC -Wall -W -D_REENTRANT  -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -o Link.o Link.cpp\r\ng++ -c -m64 -pipe -g -fPIC -Wall -W -D_REENTRANT  -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -o Temperature.o Temperature.cpp\r\nrm -f libCorsairLink.a\r\nar cqs libCorsairLink.a Fan.o Led.o Link.o Temperature.o\r\nrm -f ../libCorsairLink.a\r\nmv -f libCorsairLink.a ../ \r\nmake[1]: Leaving directory '/home/towheed/OpenCorsairLink/CorsairLinkLib'\r\ncd Cli/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/towheed/OpenCorsairLink/Cli/Cli.pro -o Makefile ) && make -f Makefile \r\nmake[1]: Entering directory '/home/towheed/OpenCorsairLink/Cli'\r\ng++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -I../CorsairLinkLib -o cli.o cli.cpp\r\ng++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -I../CorsairLinkLib -o options.o options.cpp\r\ng++ -m64 -Wl,-O1 -o ../OpenCorsairLinkCli cli.o options.o   -L.. -lCorsairLink -lhidapi-hidraw -lpthread \r\nmake[1]: Leaving directory '/home/towheed/OpenCorsairLink/Cli'\r\ncd Gui/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/towheed/OpenCorsairLink/Gui/Gui.pro -o Makefile ) && make -f Makefile \r\nmake[1]: Entering directory '/home/towheed/OpenCorsairLink/Gui'\r\ng++ -c -m64 -pipe -g -D_REENTRANT -Wall -W -fPIE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -I../CorsairLinkLib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -o main.o main.cpp\r\ng++ -c -m64 -pipe -g -D_REENTRANT -Wall -W -fPIE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -I../CorsairLinkLib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -o window.o window.cpp\r\ng++ -c -m64 -pipe -g -D_REENTRANT -Wall -W -fPIE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -I../CorsairLinkLib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -o FanWidget.o FanWidget.cpp\r\ng++ -c -m64 -pipe -g -D_REENTRANT -Wall -W -fPIE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -I../CorsairLinkLib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -o LedWidget.o LedWidget.cpp\r\ng++ -c -m64 -pipe -g -D_REENTRANT -Wall -W -fPIE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -I../CorsairLinkLib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -o StatusWidget.o StatusWidget.cpp\r\ng++ -c -m64 -pipe -g -D_REENTRANT -Wall -W -fPIE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -I../CorsairLinkLib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -o TemperatureWidget.o TemperatureWidget.cpp\r\n/usr/lib/x86_64-linux-gnu/qt5/bin/moc -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I/home/towheed/OpenCorsairLink/Gui -I/home/towheed/OpenCorsairLink/CorsairLinkLib -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/4.9 -I/usr/include/x86_64-linux-gnu/c++/4.9 -I/usr/include/c++/4.9/backward -I/usr/lib/gcc/x86_64-linux-gnu/4.9/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include window.h -o moc_window.cpp\r\ng++ -c -m64 -pipe -g -D_REENTRANT -Wall -W -fPIE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -I../CorsairLinkLib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -o moc_window.o moc_window.cpp\r\n/usr/lib/x86_64-linux-gnu/qt5/bin/moc -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I/home/towheed/OpenCorsairLink/Gui -I/home/towheed/OpenCorsairLink/CorsairLinkLib -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/4.9 -I/usr/include/x86_64-linux-gnu/c++/4.9 -I/usr/include/c++/4.9/backward -I/usr/lib/gcc/x86_64-linux-gnu/4.9/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include FanWidget.h -o moc_FanWidget.cpp\r\ng++ -c -m64 -pipe -g -D_REENTRANT -Wall -W -fPIE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -I../CorsairLinkLib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -o moc_FanWidget.o moc_FanWidget.cpp\r\n/usr/lib/x86_64-linux-gnu/qt5/bin/moc -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I/home/towheed/OpenCorsairLink/Gui -I/home/towheed/OpenCorsairLink/CorsairLinkLib -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/4.9 -I/usr/include/x86_64-linux-gnu/c++/4.9 -I/usr/include/c++/4.9/backward -I/usr/lib/gcc/x86_64-linux-gnu/4.9/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include LedWidget.h -o moc_LedWidget.cpp\r\ng++ -c -m64 -pipe -g -D_REENTRANT -Wall -W -fPIE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -I../CorsairLinkLib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -o moc_LedWidget.o moc_LedWidget.cpp\r\n/usr/lib/x86_64-linux-gnu/qt5/bin/moc -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I/home/towheed/OpenCorsairLink/Gui -I/home/towheed/OpenCorsairLink/CorsairLinkLib -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/4.9 -I/usr/include/x86_64-linux-gnu/c++/4.9 -I/usr/include/c++/4.9/backward -I/usr/lib/gcc/x86_64-linux-gnu/4.9/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include StatusWidget.h -o moc_StatusWidget.cpp\r\ng++ -c -m64 -pipe -g -D_REENTRANT -Wall -W -fPIE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -I../CorsairLinkLib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -o moc_StatusWidget.o moc_StatusWidget.cpp\r\n/usr/lib/x86_64-linux-gnu/qt5/bin/moc -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I/home/towheed/OpenCorsairLink/Gui -I/home/towheed/OpenCorsairLink/CorsairLinkLib -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/4.9 -I/usr/include/x86_64-linux-gnu/c++/4.9 -I/usr/include/c++/4.9/backward -I/usr/lib/gcc/x86_64-linux-gnu/4.9/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include TemperatureWidget.h -o moc_TemperatureWidget.cpp\r\ng++ -c -m64 -pipe -g -D_REENTRANT -Wall -W -fPIE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -I../CorsairLinkLib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -o moc_TemperatureWidget.o moc_TemperatureWidget.cpp\r\ng++ -m64 -o ../OpenCorsairLinkGui main.o window.o FanWidget.o LedWidget.o StatusWidget.o TemperatureWidget.o moc_window.o moc_FanWidget.o moc_LedWidget.o moc_StatusWidget.o moc_TemperatureWidget.o   -L/usr/X11R6/lib64 -L.. -lCorsairLink -lhidapi-hidraw -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread \r\n/usr/bin/ld: cannot find -lGL\r\ncollect2: error: ld returned 1 exit status\r\nMakefile:159: recipe for target '../OpenCorsairLinkGui' failed\r\nmake[1]: *** [../OpenCorsairLinkGui] Error 1\r\nmake[1]: Leaving directory '/home/towheed/OpenCorsairLink/Gui'\r\nMakefile:126: recipe for target 'sub-Gui-make_first-ordered' failed\r\nmake: *** [sub-Gui-make_first-ordered] Error 2\r\n\r\nAny assistance welcomed.\r\n\r\nThanks for supporting this on Linux.  Hope I can get it working.\r\n\r\nTowheed"},"comment":{"url":"https://api.github.com/repos/audiohacked/OpenCorsairLink/issues/comments/92455722","html_url":"https://github.com/audiohacked/OpenCorsairLink/issues/8#issuecomment-92455722","issue_url":"https://api.github.com/repos/audiohacked/OpenCorsairLink/issues/8","id":92455722,"user":{"login":"towheed","id":11918890,"avatar_url":"https://avatars.githubusercontent.com/u/11918890?v=3","gravatar_id":"","url":"https://api.github.com/users/towheed","html_url":"https://github.com/towheed","followers_url":"https://api.github.com/users/towheed/followers","following_url":"https://api.github.com/users/towheed/following{/other_user}","gists_url":"https://api.github.com/users/towheed/gists{/gist_id}","starred_url":"https://api.github.com/users/towheed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/towheed/subscriptions","organizations_url":"https://api.github.com/users/towheed/orgs","repos_url":"https://api.github.com/users/towheed/repos","events_url":"https://api.github.com/users/towheed/events{/privacy}","received_events_url":"https://api.github.com/users/towheed/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T18:39:37Z","updated_at":"2015-04-13T18:39:37Z","body":"I'm on Debian Testing (Jessie).  I was thinking the same and verified I had the OpenGL libs installed.\r\n\r\nIt's built to the point where I can run the CLI.  I've only just tested using the -p and -i switches but would also like to get the GUI running."}}