Hi! Once in July 2007 there was some discussion about STL vectors issue with Visual Studio 2005 (thread: 'Asio Build and "Debug Assertion Failed" Error.'). It seems this is still not solved, I get this runtime error whenever I want to play a file with ChucK right at startup. Also, I get a compilation error: .\ugen_xxx.cpp(2590) : error C2440: 'initializing' : cannot convert from 'const char *' to 'char *' Is it planned to fix these problems? Regards, Imre
Hi,
This problem is more related to MS std library than chuck itself.
For the compile error :
I "solved" this problem by just putting a const in front of the type. I
don't thing that "format" is changed afterward.
For the "Debug Assertion Failed" error, add :
#define _HAS_ITERATOR_DEBUGGING 0
#define _SECURE_SCL 0
on top of chuck_oo.cpp
and _SCL_SECURE_NO_WARNINGS as a preprocessor definitions.
This should solve it.
Thanks,
Philippe.
On 9/11/07, Imre Kéri
Hi!
Once in July 2007 there was some discussion about STL vectors issue with Visual Studio 2005 (thread: 'Asio Build and "Debug Assertion Failed" Error.'). It seems this is still not solved, I get this runtime error whenever I want to play a file with ChucK right at startup. Also, I get a compilation error: .\ugen_xxx.cpp(2590) : error C2440: 'initializing' : cannot convert from 'const char *' to 'char *'
Is it planned to fix these problems? Regards, Imre _______________________________________________ chuck-dev mailing list chuck-dev@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev
Thanks, now it is working fine...
...But when I stop chuck with Ctrl-C, sometimes (not always) I get a
crash instead of a nice finish. The end is somewhere in the RtApiDs ::
closeStream() function in rtaudio.cpp. Has someone else seen this?
Related to the others: So chuck is not "officially supported" for
VS2005? Because if it would be then the std library issue should be
fixed somehow in the chuck sources, doesn't matter how different the
MS library is...
Regards,
Imre
2007/9/11, Philippe Lamarche
Hi, This problem is more related to MS std library than chuck itself. For the compile error : I "solved" this problem by just putting a const in front of the type. I don't thing that "format" is changed afterward.
For the "Debug Assertion Failed" error, add :
#define _HAS_ITERATOR_DEBUGGING 0 #define _SECURE_SCL 0
on top of chuck_oo.cpp
and _SCL_SECURE_NO_WARNINGS as a preprocessor definitions.
This should solve it.
Thanks, Philippe.
On 9/11/07, Imre Kéri
wrote: Hi!
Once in July 2007 there was some discussion about STL vectors issue with Visual Studio 2005 (thread: 'Asio Build and "Debug Assertion Failed" Error.'). It seems this is still not solved, I get this runtime error whenever I want to play a file with ChucK right at startup. Also, I get a compilation error: .\ugen_xxx.cpp(2590) : error C2440: 'initializing' : cannot convert from 'const char *' to 'char *'
Is it planned to fix these problems? Regards, Imre _______________________________________________ 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
Greetings!
Thanks, now it is working fine...
Cool - I thought we fixed this issue, but apparently not. Will take another look. Sorry about that.
...But when I stop chuck with Ctrl-C, sometimes (not always) I get a crash instead of a nice finish. The end is somewhere in the RtApiDs :: closeStream() function in rtaudio.cpp. Has someone else seen this?
We've observed this on a few occasions, mostly under linux, and it does appear to have to do with the clean up code. It's on the todo list, but currently is being preempted by other features/bugs. May priority boost this soon.
Related to the others: So chuck is not "officially supported" for VS2005? Because if it would be then the std library issue should be fixed somehow in the chuck sources, doesn't matter how different the MS library is...
Heh, it sounds like we don't support VS2005 in practice right now, but we'd like to for sure. Will definitely try for the next release. Thanks for following up on this! Best, Ge!
participants (3)
-
Ge G. Wang
-
Imre Kéri
-
Philippe Lamarche