초보자 : QMAKE를 사용하여 Ubuntu Studio 20.04에서 FaustLive를 컴파일하고 설치하는 방법은 무엇입니까? qmake w / linux-g ++로 Makefile을 만들 수 없습니다.
FaustLive는 Faust (오픈 소스, 컴파일 된 오디오 프로그래밍 언어)를위한 오픈 소스 프로토 타이핑 환경입니다. 다음은 FaustLive의 GitHub입니다.https://github.com/grame-cncm/faustlive
터미널을 통해 Faust를 성공적으로 컴파일하고 설치 한 후 Ubuntu Studio 20.04에서 FaustLive로 동일한 작업을 수행하는 데 문제가 있습니다. 다음은 빌드 지침입니다.https://github.com/grame-cncm/faustlive/tree/master/Build
나열된 모든 필수 패키지가 설치되어 있습니다 (터미널 / 리눅스 초보자로서 말할 수있는 한). 나는 그들의 "프로젝트 생성"단계에 갇혀있다. 지침에 따라 github를 복제 한 FaustLive 폴더로 디렉토리를 변경 한 후 다음을 실행하려고합니다.
$ qmake -spec /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/qmake.conf /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/qplatformdefs.h
실행할 때 qmake는 다음을 반복합니다.
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/qplatformdefs.h:3: Extra characters after test expression.
h : 3에서 h : 59까지 반복되며 그 사이에 몇 줄을 건너 뜁니다. 최종 출력은 다음과 같습니다.Error processing project file: /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/qplatformdefs.h
여기서 무엇을합니까?
답변
ArchLinux의 PKGBUILD를 사용하여 Ubuntu에 대해 다음 방법을 얻을 수 있습니다.
sudo apt-add-repository universe
sudo apt-get install build-essential qt5-default faust qrencode libjack-jackd2-dev \
libmicrohttpd-dev liblo-dev libsndfile1-dev libasound2-dev libcurl4-openssl-dev
cd ~/Downloads
git clone https://github.com/grame-cncm/faustlive.git
cd faustlive
git submodule update --init
cd Build
make
sudo cp FaustLive/FaustLive /usr/local/bin
sudo mkdir -p /usr/local/share/applications/
sed "s|Icon=Faustlive|Icon=/usr/local/share/icons/hicolor/256x256/apps/FaustLive.png|" -i rsrc/FaustLive.desktop
sudo cp rsrc/FaustLive.desktop /usr/local/share/applications/
sudo mkdir -p /usr/local/share/icons/hicolor/256x256/apps
sudo cp ../Resources/FaustLive.png /usr/local/share/icons/hicolor/256x256/apps
결과적으로 바로 가기를 사용하여 FaustLive를 실행할 수 있습니다.