You could try using Visual Studio 2010 Express (the free version) along with the Windows SDK and build my SVN mirror taken from here : https://github.com/speps/chuck

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@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 https://lists.cs.princeton.edu/pipermail/chuck-dev/2011-November/000422.html), I wrote it and compiled it into the stable release (1.2.1.3).

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.

Regards,
Albert

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
release.

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).

spencer


On Wed, Mar 21, 2012 at 11:43 AM, Albert Wifstrand<albert@wifstrand.se>  wrote:
Does ChucK have these?

I know there's upper() and lower() for case conversion, are these (perhaps
even along with a complete specification on ChucK strings) documented
somewhere?

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.

Regards,

--
Albert Wifstrand

phone: (+46) 705 61 71 56
Skype: awifstrand
www: http://www.wifstrand.se/albert

_______________________________________________
chuck-dev mailing list
chuck-dev@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev

_______________________________________________
chuck-dev mailing list
chuck-dev@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev

_______________________________________________
chuck-dev mailing list
chuck-dev@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev