[Stk] STK and Pure data

Pierre Massat pimassat at gmail.com
Sat Feb 6 07:38:46 PST 2010


Hi,
i just wanted to thank you all for your help. I finally managed to compile
4.2.0. Hurrah!

Pierre

2010/2/4 Julius Smith <jos at ccrma.stanford.edu>

> Perhaps this is a useful excerpt from
> https://ccrma.stanford.edu/~jos/stkintro/Snags_Fixes.html<https://ccrma.stanford.edu/%7Ejos/stkintro/Snags_Fixes.html>
>
> "In general, when a compilation fails due to a function [or macro]
> being undeclared, look at the ``man page'' for that function to see
> what header file should be included to declare it (e.g., man fclose
> at a shell prompt, or <Esc>xman<enter>fclose<enter> in Emacs). If the
> header file is not in a standard place (such as endian.h), you can
> find it using the locate command. (If that fails, try again after an
> updatedb command)."
>
> - jos
>
> At 09:35 AM 2/4/2010, Gary Scavone wrote:
> >add #include <limits.h>
> >
> >--gary
> >
> >On 2010-02-04, at 12:21 PM, Pierre Massat wrote:
> >
> > > Hi,
> > > here's the error i get in RtAudio (trying to compile 4.2.0):
> > >
> > > RtAudio.cpp: In member function 'virtual bool
> > RtApiAlsa::probeDeviceOpen(int, RtApi::StreamMode, int, int,
> > RtAudioFormat, int*, int)':
> > > RtAudio.cpp:3990: error: 'INT_MAX' was not declared in this scope
> > >
> > > I don't know which header i should add to make it work...
> > >
> > > I have Fedora 12, with the CCRMA rt kernel installed. As for gcc,
> > i m assuming i have the latest version since i downloaded it only
> > two days ago from the CCRMA repository.
> > >
> > > Pierre
> > >
> > > 2010/2/3 Stephen Sinclair <sinclair at music.mcgill.ca>
> > > On Tue, Feb 2, 2010 at 6:24 PM, Pierre Massat <pimassat at gmail.com>
> wrote:
> > > > Hi,
> > > > thank you all for your replies. I still can't compile anything till
> the
> > > > end... the thing is that i don't need the latest version, i need
> version
> > > > 4.2.0 because some Pure Data externals based on ragamatic require it
> (and
> > > > they won't compile with the newest STK). Since i plan on using
> > it with flext
> > > > to create my own Pd externals, i need an old version anyway.
> > > > So 4.2.0 won't compile, even with all the #include lines added. Same
> with
> > > > 4.2.1. Is there something i m missing here? I know that STK is
> > supposed to
> > > > always be an alpha release, but why is it so hard to compile?
> > > > I m not posting the errors this time as there were too many (i
> stopped at
> > > > RtAudio which caused an error that i couldn't fix).
> > > > Thanks again for your help!
> > >
> > > Well, it is hard to help if you don't post the errors, but again I
> > > advise you to just look for which headers are needed for the functions
> > > that are referenced and add them to the cpp files.  (If that is the
> > > only problem..)
> > >
> > > Otherwise, by all means post your results so we can help.  Also, what
> > > OS and gcc version are you using?  I notice that in my Ubuntu 9.04
> > > installation, dpkg reports that the package for stk is at version
> > > 4.2.0, so maybe you could get some mileage out of using that
> > > pre-compiled version?
> > >
> > > Of course, it's not really expected that an old version maintained to
> > > compile in a newer system, but I'm sure it can be patched to work with
> > > a bit of effort.  However I think it would be instead worth your while
> > > to get those Pd externals working with the latest version of STK.  For
> > > one thing, it includes some improvements for inlining of the tick()
> > > functions, so it would make things a bit more optimized.
> > >
> > > Steve
> > >
> > > _______________________________________________
> > > Stk mailing list
> > > Stk at ccrma.stanford.edu
> > > http://ccrma-mail.stanford.edu/mailman/listinfo/stk
> >
> >
> >_______________________________________________
> >Stk mailing list
> >Stk at ccrma.stanford.edu
> >http://ccrma-mail.stanford.edu/mailman/listinfo/stk
>
>
> Julius O. Smith III <jos at ccrma.stanford.edu>
> Prof. of Music and Assoc. Prof. (by courtesy) of Electrical Engineering
> CCRMA, Stanford University
> http://ccrma.stanford.edu/~jos/ <http://ccrma.stanford.edu/%7Ejos/>
>
> _______________________________________________
> Stk mailing list
> Stk at ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/stk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/stk/attachments/20100206/1462c668/attachment.html 


More information about the Stk mailing list