Access Violation on asCreateScriptEngine
Im getting a Access violation when I call asCreateScriptEngine on AngelScript 2.22.1. This only happens in Release builds, in either x86, or x64. Im using VS2010. Also Im statically linking the library.
This is very strange. Is this the first time you use AngelScript? If not, make sure you do a full rebuild to avoid any old code being linked.
If it the first time, can you get a bit more information on where exactly the segfault happens?
If it the first time, can you get a bit more information on where exactly the segfault happens?
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
I have done a full rebuild, and have rebuilt the .lib also. Its called from inside a dynamically loaded dll if that helps. Debug builds work in either 64bit or 32bit builds.
Well, I've gotten it to work again by recreating the project, so it must have been a compiler, or linker setting that got changed.
Yes, I've seen this happen before. When it happened for me it was because not all files in the library was rebuilt when some header was modified.
Regards,
Andreas
Regards,
Andreas
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
Popular Topics
Advertisement