[chuck-dev] Asio Build and "Debug Assertion Failed" Error.

Philippe Lamarche philippe.lamarche at gmail.com
Wed Jun 20 23:35:33 EDT 2007

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:

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


On 6/20/07, Dylan Miller <dylan at 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 at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.princeton.edu/pipermail/chuck-dev/attachments/20070620/74ffdd06/attachment.htm 

More information about the chuck-dev mailing list