Re: [Nyquist-users] compiling nyquist and mailing list issues
Nyquist is a language for sound synthesis and music composition.
Brought to you by:
rbd
From: David <dfk...@gm...> - 2010-10-02 12:28:29
|
Just a suggestion, but why not provide pre-compiled install packages for Linux so users wouldn't have to compile it themselves? Maybe you don't have enough users on Linux to justify the work, I don't know. But it might save everybody time in the long run. And some users who don't have a programming background may not have the expertise to compile it themselves. At the very least, I'd update the install instructions in the Nyquist manual. For example, the 'setenv' command is only available in some Unix/Linux shells. On others, you have to use the 'export' command. It's not a big deal if you know Unix or Linux well enough, but it might be a problem for inexperienced users. And I'd also add a list of the tools needed to compile Nyquist; you can't assume that they will be automatically included in all Linux distributions, as Raymond seems to think. I'm using EasyPeasy, a trimmed-down version of Ubuntu for small netbooks, which doesn't include a lot of the development tools needed to compile Nyquist (although I can download and install them, of course). As for the header file, it may be that newer compilers have the contents of stdio.h "hard-wired" into them, but in the old days, you had to include the header file or take the chance that the compiler would make some invalid assumptions about the functions declared in it. Personally, I think it's still better to include the header explicitly, even if it does compile without it on some systems. Maybe you could suggest this to the STK folk. As for myself, I've downloaded the missing development tools, but I'm still getting a compile error about a missing library ('asound'). I'll try to figure it out, but if I can't, I'll post details later. Thanks for your help. On Sat, Oct 2, 2010 at 1:33 AM, Roger Dannenberg <rb...@cs...> wrote: > There was a discussion here about some undeclared functions such as > "fopen" in Nyquist. My local copy of nyqstk/src/FileRead.cpp has been > modified by adding > #include <stdio.h> > before > #include <sys/stat.h> > > I think the change was put in by some Audacity folks to reduce some > warning messages, but apparently with some compilers (or some > configurations) a missing declaration is an error. This file comes from > STK, and I try to avoid changing STK code so that it will be easier to > upgrade, but in this case it really needs the include. > > I was signed up to get digests, and I guess it took almost a year to > make a digest's worth of stuff. If you're reading this in 2011, maybe > you should ask me to change your settings. (I just changed mine -- sorry > I wasn't getting messages more promptly.) > > Finally, Edgar, I manually put you on the list. I hope that works for > you. I have no idea why you weren't able to sign up yourself. > > While I'm writing, I'll mention that I'm going to do some work on > Nyquist between now and January to get ready for my class. Among other > things, Nyquist doesn't work on some systems without an upgrade of > PortAudio, and Nyquist Makefiles are not set up for 64-bit machines. > (Nyquist will not run on 64-bit instruction sets without a lot of work, > but I can at least provide Makefiles that generate 32-bit code even when > the native architecture is 64-bit.) I've done this and it seems to work > fine, but the changes are not in the release. There are a few other > things that are broken. Let me know (or remind me) if there are other > fixes I should look into. > > -Roger > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nyquist-users mailing list > Nyq...@li... > https://lists.sourceforge.net/lists/listinfo/nyquist-users > |