Giter Site home page Giter Site logo

compile error rtaudio.cpp about muse HOT 9 CLOSED

poulpoulsen avatar poulpoulsen commented on July 28, 2024
compile error rtaudio.cpp

from muse.

Comments (9)

terminator356 avatar terminator356 commented on July 28, 2024

Hello.
Please tell me which RtAudio version that you have.
Tell me which version your package manager says is installed.

And if possible, please locate the RtAudio.h file (typically /usr/include/rtaudio/RtAudio.h),
open it and post the first few pages of code, from around line 42 - line 100.
We are looking for lines such as "define RTAUDIO_VERSION" or "RTAUDIO_VERSION_MAJOR".

Thanks.

from muse.

poulpoulsen avatar poulpoulsen commented on July 28, 2024

Hello,
my installed version is 5.2.0
in RtAudio.h
#define RTAUDIO_VERSION "5.2.0"
Hope it helps

Merry christmas

from muse.

terminator356 avatar terminator356 commented on July 28, 2024

Hi. Thank you for the information.

This is very puzzling.
We have had no other complaints like this.

Something seems to be wrong with your RtAudio installation.
The error that you received indicates "RtAudioError" is not defined in the RtAudio.h header file.
But... Version 5.2 RtAudio.h header file is supposed to define it !

Please check that there is no other RtAudio installation, perhaps manually compiled.
A good place to check for that is /usr/local/include/RtAudio.
Is there already an RtAudio.h in there?

If there is no other RtAudio installation, then something is very strange.

Please, if you can, post the entire listing of your RtAudio.h
I am curious about what is going on and I would like to see the entire file.
You should be able to post the file contents here, or else DropBox or something else.

Thanks!

from muse.

poulpoulsen avatar poulpoulsen commented on July 28, 2024

Good news!
i managed it to make Muse work.
after uninstalling rtaudio 5.2.0 and manually install 6.0.1 Muse works.
two issues remain anyway:

  1. i have to install rtaudio in /usr/lib otherwise Muse does not find it.
  2. this message after start tells that display is broken, but for me Muse works as far as i see.
    qt.qpa.qgnomeplatform.theme: The desktop style for QtQuick Controls 2 applications is not available on the system (qqc2-desktop-style). The application may look broken.

do you know anythink about that?

from muse.

terminator356 avatar terminator356 commented on July 28, 2024

i have to install rtaudio in /usr/lib otherwise Muse does not find it.

Hm, it is advisable to install manually built software in usr/local/...
because otherwise if you then install a packaged version of the software,
it will want to install in /usr/... and that will interfere with your manually built version.

Perhaps you forgot to re-configure MusE (with cmake) after manually building RtAudio in /usr/local/...?
Upon re-configuration, MusE should be able to find any software in /usr/local/...

this message after start tells that display is broken, but for me Muse works as far as i see.

Can't help there, but MusE does not use QtQuick, so it shouldn't be a problem.
Search your packages for various QtQuick desktop themes, perhaps one of them needs to be installed.

Good luck.
Thanks.

from muse.

poulpoulsen avatar poulpoulsen commented on July 28, 2024

hello,
yes i know that, but for muse it wont work.
rtaudio is correctly installed with prefix /usr/local.
muse compiles fine, no error.
BUT after start muse4 it does not find rtaudio.
i think, this is an error
but i don't know how to fix it.

from muse.

poulpoulsen avatar poulpoulsen commented on July 28, 2024

this is the error:
muse4: error while loading shared libraries: librtaudio.so.7: cannot open shared object file: No such file or directory

from muse.

spamatica avatar spamatica commented on July 28, 2024

I think it is common that /usr/local/lib is not included in the library search-path by default.
Adding it can be done adding the path (on a new line) in /etc/ld.so.conf and then running sudo ldconfig.

There are other ways to fix it as can be seen here:
https://stackoverflow.com/questions/13428910/how-to-set-the-environment-variable-ld-library-path-in-linux

Still it is very odd that the original rtaudio did not work. I think it should.

from muse.

poulpoulsen avatar poulpoulsen commented on July 28, 2024

Thanks you. I will test.
We can close the ticket.

from muse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.