Hi,<br>here&#39;s the error i get in RtAudio (trying to compile 4.2.0):<br><br>RtAudio.cpp: In member function ‘virtual bool RtApiAlsa::probeDeviceOpen(int, RtApi::StreamMode, int, int, RtAudioFormat, int*, int)’:<br>RtAudio.cpp:3990: error: ‘INT_MAX’ was not declared in this scope<br>
<br>I don&#39;t know which header i should add to make it work...<br><br>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. <br>
<br>Pierre<br><br><div class="gmail_quote">2010/2/3 Stephen Sinclair <span dir="ltr">&lt;<a href="mailto:sinclair@music.mcgill.ca">sinclair@music.mcgill.ca</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Tue, Feb 2, 2010 at 6:24 PM, Pierre Massat &lt;<a href="mailto:pimassat@gmail.com">pimassat@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
</div><div class="im">&gt; thank you all for your replies. I still can&#39;t compile anything till the<br>
&gt; end... the thing is that i don&#39;t need the latest version, i need version<br>
&gt; 4.2.0 because some Pure Data externals based on ragamatic require it (and<br>
&gt; they won&#39;t compile with the newest STK). Since i plan on using it with flext<br>
&gt; to create my own Pd externals, i need an old version anyway.<br>
&gt; So 4.2.0 won&#39;t compile, even with all the #include lines added. Same with<br>
&gt; 4.2.1. Is there something i m missing here? I know that STK is supposed to<br>
&gt; always be an alpha release, but why is it so hard to compile?<br>
&gt; I m not posting the errors this time as there were too many (i stopped at<br>
&gt; RtAudio which caused an error that i couldn&#39;t fix).<br>
&gt; Thanks again for your help!<br>
<br>
</div>Well, it is hard to help if you don&#39;t post the errors, but again I<br>
advise you to just look for which headers are needed for the functions<br>
that are referenced and add them to the cpp files.  (If that is the<br>
only problem..)<br>
<br>
Otherwise, by all means post your results so we can help.  Also, what<br>
OS and gcc version are you using?  I notice that in my Ubuntu 9.04<br>
installation, dpkg reports that the package for stk is at version<br>
4.2.0, so maybe you could get some mileage out of using that<br>
pre-compiled version?<br>
<br>
Of course, it&#39;s not really expected that an old version maintained to<br>
compile in a newer system, but I&#39;m sure it can be patched to work with<br>
a bit of effort.  However I think it would be instead worth your while<br>
to get those Pd externals working with the latest version of STK.  For<br>
one thing, it includes some improvements for inlining of the tick()<br>
functions, so it would make things a bit more optimized.<br>
<br>
Steve<br>
</blockquote></div><br>