errors with angelscript.h

Started by
3 comments, last by WitchLord 11 years, 8 months ago
[font=comic sans ms,cursive]Hi there.I have error with compiling that: Whats my problem?[/font]
also <iostream> doesn't makes some changes.

84106105.png
Advertisement
ok now i rewrited that code,but have linker errors(error LNK2019)
1 of error is

LNK2019:undefined external symbol "public: int __thiscall CScriptBuilder::StartNewModule(class asIScriptEngine *,char const *)" (?StartNewModule@CScriptBuilder@@QAEHPAVasIScriptEngine@@PBD@Z) in function "void __cdecl angelscrInit(void)" (?angelscrInit@@YAXXZ)

+i have included angelscriptd.lib
41634304.png
The add-ons aren't compiled in the library. If you want to use an add-on you need to add it to your project in addition to the AngelScript library.
also i have error LINK : fatal error LNK1181: cannot open input file "angelscriptd.lib"
with every angelscript project
angelscriptd.lib is the debug version of the library.

If you're building your project in debug mode you should link to angelscriptd.lib, but in release mode you should link to angelscript.lib.

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