I found out why, one must define _SCL_SECURE_NO_WARNINGS and _HAS_ITERATOR_DEBUGGING 0. Then it will compile like a charm.

BTW, i am running Chuck on Asio since a few days. It's on a Motu 828mkII. It's quite fast on the real time latency, but a little bit harder on the cpu. There is no code change for the compile. Just add an Asio folder with the Asio files as described on the RTaudio page, add __WINDOWS_ASIO__ to the preprocessor definition and you are set.

The asio files can be downloaded from the rtaudio website: http://www.music.mcgill.ca/~gary/rtaudio/index.html#download

Please know that I am not sure at all if this create bugs or not, but it's a start I guess.

Thanks,
Philippe.

On 6/20/07, Dylan Miller <dylan@speakeasy.org> wrote:
>It seems that Chuck_Array4::zero() in chuck_oo create a "Debug Assertion
>Failed" Error. The Microsoft vector class is complaining about "vector
>subscript out of range". I am using VS2005.

For what it's worth, I got the exact same error after building with Visual
Studio 2005 and trying to run some of the example files. I then built with
Visual C++ 6.0 and the problem went away.

I assume it's the std::vector class it's complaining about. The STL
implementation in VS 2005 is completely different than VC++ 6.0, so it
wouldn't surprise me if there are STL-related issues with VS 2005 builds if
the ChucK code has only been tested with VC++ 6.0.

Dylan

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