登录
本论坛汇聚了来自世界各地的人们,因此大家使用英文交流。

Error building in UbuntuStudio 19.10

分类:错误与安装
  • XP 5 0
    消息来自 Xavier Paniello,发表于
    Hi, I've got this error trying to build in ubuntustudio 19.10:
    sound_engine/voice.h:32:10: fatal error: Chorus.h: No such file or directory
    32 | #include "Chorus.h"
    | ^~~~~~~~~~

    Thanks for this software!
  • 429 1
    消息来自 Davy,发表于
    Maybe you forgot to install the stk library? (libstk0-dev)
  • XP 5 0
    消息来自 Xavier Paniello,发表于
    mmh... it's installed:
    $ dpkg -s libstk0-dev
    Package: libstk0-dev
    Status: install ok installed
    Priority: optional
    Section: libdevel
    Installed-Size: 527
    Maintainer: Ubuntu Developers <u***@l***.***>
    Architecture: amd64
    Multi-Arch: same
    Source: stk
    Version: 4.5.2+dfsg-5build1
    Depends: librtaudio-dev (>= 4.0.11~), librtmidi-dev (>= 2.0.1~), libstk-4.5.0 (= 4.5.2+dfsg-5build1)
    Description: Sound Synthesis Toolkit (development files)
    The Sound Synthesis Toolkit is a C++ library with implementations
    of several sound synthesis algorithms, starting from Frequency
    Modulation, over Physical Modelling and others. It can be used
    as a library, but it also provides some nice software synthesizers.
    .
    This package provides the development files for the sound synthesis toolkit.
    Homepage: http://ccrma.stanford.edu/software/stk/
    Original-Maintainer: Debian Multimedia Maintainers <p***@l***.***>
  • 消息来自 Xavier Paniello,发表于
    Oh, now I've seen the note in README about problems:
    "If you experience compiling issues related to RtMidi, Stk, or QCustomplot you can opt to use the
    local copies that come with Polyphone by commenting out the related lines at the top of
    `polyphone.pro`: " ...
    I'll try it this way later. Thanks!!
  • 消息来自 Xavier Paniello,发表于
    I've been trying to build uncommenting (originaly were commented):
    DEFINES += USE_LOCAL_RTMIDI
    DEFINES += USE_LOCAL_STK
    DEFINES += USE_LOCAL_QCUSTOMPLOT
    and uncommenting only stk
    Both builds give:
    context/audiodevice.cpp:32:10: fatal error: jack.h: No such file or directory
    32 | #include "jack.h"
  • KP 1 0
    消息来自 Knut Petersen,发表于 1
    I tried to build polyphone on openSuSE Tumbleweed.

    qmake-qt5 && make

    failed with the same error. After fixing it a similar problem with jack had to be fixed.

    On openSuSE Tumbleweed a build succeed with the following sequence of actions:

    1.: Run " qmake-qt5"
    2.: Manually add "-isystem /usr/include/stk -isystem /usr/include/jack" add the end of INCPATH in Makefile
    3.: Run "make"
  • XP 5 0
    消息来自 Xavier Paniello,发表于
    Yes!
    The right paths for ubuntustudio 19.10 in INCPATH are:
    -isystem /usr/include/jack -isystem /usr/include/stk
    Thank you very much!!
  • 429 1
    消息来自 Davy,发表于
    Sorry I have been late but recently a change has been made on the $PREFIX for the libraries.
    For Debian or Ubuntu you will need to add this extra argument for QMAKE:PREFIX=/usrTo add this argument with Qt Creator go to Projects => Build step => Additional argument in "QMake"

登录或注册后即可参与讨论。

Polyphone 需要您!

Polyphone 是免费的,但其网站和开发都会产生费用。一笔小小的捐赠就能帮上大忙。

捐赠
学习基础知识 试试教程
返回
顶部