[chuck-dev] charAt, substring for strings
spencer at ccrma.stanford.edu
Mon Mar 26 03:52:16 EDT 2012
The Cygwin build was a little neglected since some of our more recent
refactorings, but I've fixed it up and it should be working now if you
svn update. If you get a chance to try building the latest SVN, please
let us know if it works or if you run into any other problems!
On Fri, Mar 23, 2012 at 3:01 PM, Remi Gillig <remigillig at gmail.com> wrote:
> You could try using Visual Studio 2010 Express (the free version) along with
> the Windows SDK and build my SVN mirror taken from here :
> I don't know what the current status of ChucK on GitHub is (there was a
> topic, but no action was taken IIRC), I just did a SVN import (from around a
> month and a half ago) and fixed what was not compiling on Windows for me.
> Remi Gillig.
> On 22 March 2012 23:34, Albert Wifstrand <albert at wifstrand.se> wrote:
>> Ok. I've implemented a .substring(...) method, although since I couldn't
>> build ChucK from the primary development branch (using the URL in
>> I wrote it and compiled it into the stable release (22.214.171.124).
>> The things is that I want to get a clean, working ChucK compile for OS X
>> _and_ Windows 7 from the same source tree. When trying to build ChucK from
>> the primary dev. branch using the latest Cygwin environment (1.7.11-1) I get
>> the following error during "make win32":
>> In file included from chuck_errmsg.cpp:40:0:
>> util_thread.h:77:17: error: ‘THREAD_FUNCTION’ has not been declared
>> util_thread.h:90:5: error: ‘THREAD_HANDLE’ does not name a type
>> util_thread.h: In member function ‘void XThread::clear()’:
>> util_thread.h:87:20: error: ‘thread’ was not declared in this scope
>> util_thread.h: At global scope:
>> util_thread.h:111:5: error: ‘MUTEX’ does not name a type
>> makefile:101: recipe for target `chuck_errmsg.o' failed
>> make: *** [chuck_errmsg.o] Error 1
>> The stable release, however, builds in Win7 without errors. In addition, I
>> can build both the stable release and the SVN source tree in OS X. Can't
>> tell what's wrong. As far as I know I have all the necessary tools listed at
>> http://chuck.cs.princeton.edu/release/. Am I missing Cygwin packages??
>> Now, the substring method is just some 30 lines of code, but when I can
>> build ChucK from the SVN source tree in both OS's I can contribute with my
>> substring method; just want to see that it works with the latest code.
>> Spencer Salazar wrote 2012-03-22 11.18:
>>> Hey Albert,
>>> That method doesn't exist, and as you've seen, the overall
>>> documentation for ChucK is underdeveloped with regards to more recent
>>> additions to the language. Its recently become painfully obvious to me
>>> that a charAt-type method is pretty important for even basic string
>>> manipulation, so I was considering shoehorning it into the next
>>> As far as list vs. forum, I follow chuck-users and chuck-dev pretty
>>> closely, and chuck-users is even sporadically lively, but I tend not
>>> to hit the forum unless directed to it by some other means (e.g. a
>>> post to this list).
>>> On Wed, Mar 21, 2012 at 11:43 AM, Albert Wifstrand<albert at wifstrand.se>
>>>> Does ChucK have these?
>>>> I know there's upper() and lower() for case conversion, are these
>>>> even along with a complete specification on ChucK strings) documented
>>>> I asked about this in the forum too, at
>>>> http://electro-music.com/forum/topic-52680.html. Sorry about the
>>>> cross-posting, but I'd also like to know if there's any activity here on
>>>> chuck-dev, since there isn't much of that in the forum.
>>>> Albert Wifstrand
>>>> phone: (+46) 705 61 71 56
>>>> Skype: awifstrand
>>>> www: http://www.wifstrand.se/albert
>>>> chuck-dev mailing list
>>>> chuck-dev at lists.cs.princeton.edu
>>> chuck-dev mailing list
>>> chuck-dev at lists.cs.princeton.edu
>> chuck-dev mailing list
>> chuck-dev at lists.cs.princeton.edu
> chuck-dev mailing list
> chuck-dev at lists.cs.princeton.edu
More information about the chuck-dev