Advertisement

Maybe bug of 2.15.1

Started by February 15, 2009 01:39 AM
0 comments, last by WitchLord 15 years, 9 months ago
Hi: I upgrade to 2.15.1 from 2.15.0 . But when I run Debug version, it always fail at asCCompiler::CompileFunction() which call byteCode.DebugOutput(("__" + outFunc->name + ".txt").AddressOf(), builder->module, engine); to save debug bytecode asCByteCode::DebugOutput(const char *name, asCModule *module, asCScriptEngine *engine) { _mkdir("AS_DEBUG"); asCString str = "AS_DEBUG/"; str += name; FILE *file = fopen(str.AddressOf(), "w"); //fail fprintf(file, "Temps: "); <--- exception Here //in my testing env. name="__?.txt" //which cause fopen fail! } Thanks a lot.
Compile the library without AS_DEBUG defined and you will not have this problem. AS_DEBUG is only for debugging the library and have no benefit to application developers.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement