Building from sources: no sound with unknown rtmodule alsa
Date | 2016-09-27 10:40 |
From | Anton Kholomiov |
Subject | Building from sources: no sound with unknown rtmodule alsa |
I'm trying to build from sources on ubuntu. It's the new Csound, just loaded it from github. ~~~ unknown rtaudio module: 'alsa', using dummy module ~~~ I have installed the alsa dev package: libasound2-dev, I specify the headers with cmake and it says that alsa is enabled, but the problem remains. Here is how I generate the make files: ~~~ cmake ../csound -DJACK_HEADER=/usr/include/jack/ -DALSA_HEADER=/usr/include/alsa/ -DPULSEAUDIO_HEADER=/usr/include/pulse ~~~ What can be wrong? Can you help me? |
Date | 2016-09-27 11:02 |
From | "J. C." |
Subject | Re: Building from sources: no sound with unknown rtmodule alsa |
In Sep 27 A.D. 2016 Anton Kholomiov scripsit: ... > But when I try to build it myself I get the error: > > ~~~ > unknown rtaudio module: 'alsa', using dummy module > ~~~ ... Hi Anton, might be far wrong, but I had strange issues, which turned out to be problems with my csound install directory. Csound installing to /usr/local/lib/csound/plugins-6.0 and reading from plugins64-6.0, or the other way around. I finally worked around the issue by linking on of them to the other. I also believe that there are environment variables to specify certain paths for Csound, maybe even one for the typical plugins. You could check that with the command printenv. If that doesn't uncover anything, you can try to use ccmake to configure your build and see if you get any error messages there. The route would be: cd csound-build-directory ccmake ../csound cmake ../csound # I believe optional in this case Then the normal make procedure. HTH. Good luck! Best wishes, Jeanette Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2016-09-27 11:21 |
From | Anton Kholomiov |
Subject | Re: Building from sources: no sound with unknown rtmodule alsa |
Thanks for the answer! I guess that it's OPCODE6DIR64 environment variable. I've tried to set it to ~~~ export OPCODE6DIR64=/usr/local/lib/csound/plugins64-6.0/ ~~~ and then reinstall everything. so know I have both plugins-** folder filled with some files, but the problem is the same..2016-09-27 13:02 GMT+03:00 J. C. <julien@mail.upb.de>: In Sep 27 A.D. 2016 Anton Kholomiov scripsit: |
Date | 2016-09-27 11:46 |
From | John ff |
Subject | Re: Building from sources: no sound with unknown rtmodule alsa |
That error looks like runtime not build, so I suspect that the module is built but cannot load. Have you checked the logs in CMakeFiles or run with -v option? Sent from TypeApp On 27 Sep 2016, at 10:41, Anton Kholomiov <anton.kholomiov@GMAIL.COM> wrote:
|
Date | 2016-09-27 12:34 |
From | Anton Kholomiov |
Subject | Re: Building from sources: no sound with unknown rtmodule alsa |
Attachments | sine-v.log cmake-output.log CMakeError.log |
I'm not sure how to interpret those files. I attach cmake output file and csound run with -v option log.2016-09-27 13:46 GMT+03:00 John ff <jpff@codemist.co.uk>:
|
Date | 2016-09-27 19:55 |
From | jpff |
Subject | Re: Building from sources: no sound with unknown rtmodule alsa |
your prbem is in te log file /home/anton/tools/cs6make/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:28: fatal error: alsa/asoundlib.h: No such file or directory compilation terminated. So you do not have alsa devel headers. ==John On Tue, 27 Sep 2016, Anton Kholomiov wrote: > I'm not sure how to interpret those files. > I attach cmake output file and csound run with -v option log. > I can attach a file from CMakeFiles directory if it's going to help. > > > > 2016-09-27 13:46 GMT+03:00 John ff |
Date | 2016-09-28 12:00 |
From | Anton Kholomiov |
Subject | Re: Building from sources: no sound with unknown rtmodule alsa |
But I do have them: and I specify the path:~~~ $ ls /usr/include/alsa/asoundlib.h /usr/include/alsa/asoundlib.h ~~~ ~~~ $ cmake -DJACK_HEADER=/usr/include/jack/ -DALSA_HEADER=/usr/include/alsa/ -DPULSEAUDIO_HEADER=/usr/include/pulse ../csound ~~~ 2016-09-27 21:55 GMT+03:00 jpff <jpff@codemist.co.uk>: your prbem is in te log file |
Date | 2016-09-28 12:20 |
From | Anton Kholomiov |
Subject | Re: Building from sources: no sound with unknown rtmodule alsa |
The problem was in the paths.. I would appreciate an example in the BUILD.md it should be-DALSA_HEADER=/usr/include/ -DALSA_HEADER=/usr/include/ 2016-09-28 14:00 GMT+03:00 Anton Kholomiov <anton.kholomiov@gmail.com>:
|
Date | 2016-09-28 16:42 |
From | Anton Kholomiov |
Subject | Re: Building from sources: no sound with unknown rtmodule alsa |
thanks for your help John! 2016-09-28 14:20 GMT+03:00 Anton Kholomiov <anton.kholomiov@gmail.com>:
|