I found out why, one must define _SCL_SECURE_NO_WARNINGS and _HAS_ITERATOR_DEBUGGING 0. Then it will compile like a charm.<br><br>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.
<br><br>The asio files can be downloaded from the rtaudio website: <a href="http://www.music.mcgill.ca/~gary/rtaudio/index.html#download">http://www.music.mcgill.ca/~gary/rtaudio/index.html#download</a><br><br>Please know that I am not sure at all if this create bugs or not, but it's a start I guess.
<br><br>Thanks,<br>Philippe.<br><br><div><span class="gmail_quote">On 6/20/07, <b class="gmail_sendername">Dylan Miller</b> <<a href="mailto:dylan@speakeasy.org">dylan@speakeasy.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
>It seems that Chuck_Array4::zero() in chuck_oo create a "Debug Assertion<br>>Failed" Error. The Microsoft vector class is complaining about "vector<br>>subscript out of range". I am using VS2005.
<br><br>For what it's worth, I got the exact same error after building with Visual<br>Studio 2005 and trying to run some of the example files. I then built with<br>Visual C++ 6.0 and the problem went away.<br><br>I assume it's the std::vector class it's complaining about. The STL
<br>implementation in VS 2005 is completely different than VC++ 6.0, so it<br>wouldn't surprise me if there are STL-related issues with VS 2005 builds if<br>the ChucK code has only been tested with VC++ 6.0.<br><br>Dylan
<br><br>_______________________________________________<br>chuck-dev mailing list<br><a href="mailto:chuck-dev@lists.cs.princeton.edu">chuck-dev@lists.cs.princeton.edu</a><br><a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev">
https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev</a><br></blockquote></div><br>