i tried building musescore from git on ubuntu 13.04, using the musescore compilation instructions tutorial for ubuntu 12.04, but when i ran "make", i got the following error:
...
CMake Error at /home/me/Qt/5.1.0/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:15 (message):
The imported target "Qt5::Gui" references the file
"//usr/include/libdrm"
but this file does not exist
...
Call Stack (most recent call first):
/home/me/Qt/5.1.0/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:41 (_qt5_Gui_check_file_exists)
/home/me/Qt/5.1.0/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:47 (_qt5gui_find_extra_libs)
/home/me/Qt/5.1.0/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:118 (include)
build/FindQt5Transitional.cmake:29 (find_package)
CMakeLists.txt:26 (include)
...
to fix this error i had to install this package:
sudo apt-get install libdrm-dev
then i tried it again:
cd
cd Downloads/MuseScore
make clean
make revision
make
and got the following error:
...
CMake Error at /home/me/Qt/5.1.0/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:16 (message):
Failed to find "GL" in "".
Call Stack (most recent call first):
/home/me/Qt/5.1.0/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:49 (_qt5gui_find_extra_libs)
/home/me/Qt/5.1.0/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:118 (include)
build/FindQt5Transitional.cmake:29 (find_package)
CMakeLists.txt:26 (include)
...
to fix this error i had to install this package:
sudo apt-get install libgl1-mesa-dev
i have to thank this page for helping me find the right library to install the right opengl package/libraries.
then i tried it again and it worked :)
NOTE: i've also updated the musescore git compile instructions for ubuntu 12.04 with this new information.
IT, computer and programming tutorials and tips that i couldnt find anywhere else using google, from my daily work as a Senior Developer of solutions using Java and Linux.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment