[Inscore-devel] Compile error: microhttpd.h: No such file or directory
An environment for the design of INteractive augmented music Scores
Brought to you by:
dfober
|
From: Trad D. <tr...@ya...> - 2016-10-29 16:00:59
|
Hi, If people run in the same issue as in the previous message and decide to compile Qt (an important dependency of , the brief outline in appendix might be useful. I am now running into the following issue:../../src/inscore/httpserver/HTTPServer.h:32:24: fatal error: microhttpd.h: No such file or directory The http is precisely the issue that made me move to Linux. Someone out there has an idea ? Thanks in advance, Trad Summary of successful steps to compile QT and point to this new version: INscore ** Building *** Rely on QT5 **** QT5.5 available in Synaptic [2016-10-27 Thu] **** install qt5-default to set qt5 as default version **** I could not get the modules from the repository to be recognised **** Compiling INscore would return Unknow Qt Modules: qml media... **** I decide to compile QT5 *** Building QT5 on Linux/Ubuntu **** git clone (follow instruction here: http://wiki.qt.io/Building_Qt_5_from_Git) **** There is a script to install all the dependencies: [[https://gist.github.com/jinahya/5ac86a70b190abed14d8][script]] **** ./configure returns an error - perl not on path -> nothing to do with perl. - make sure there is no withespace in the path to the qt sources **** sudo ./configure -release -nomake tests -nomake examples -confirm-license -opensource -prefix $PWD/qtbase **** Not using -prefix: ***** Qt is now configured for building. Just run 'make'. Once everything is built, you must run 'make install'. Qt will be installed into /usr/local/Qt-5.7.1 *** Using the right version **** qmake -v: which one is used **** which qmake **** ls -l /usr/.../qmake: usually a soft link **** soft link to qtchooser **** qtchooser has a config file **** config file has been moved around. Currently: /usr/lib/x86_64-linux-gnu/qtchooser/ **** config file contains two lines: one path to bin, one path to libraries **** prior to modification: default.conf -> ../../../share/qtchooser/qt5-x86_64-linux-gnu.conf **** cat qt5-localbuild.conf /usr/local/Qt-5.7.1/bin /usr/local/Qt-5.7.1/ **** sudo ln -s -f qt5-localbuild.conf default.conf: -f is necessary to relink |