Jump to content
  • Advertisement
Sign in to follow this  
proed

errors with angelscript.h

This topic is 2172 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

[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 Edited by proed

Share this post


Link to post
Share on other sites
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 Edited by proed

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
also i have error LINK : fatal error LNK1181: cannot open input file "angelscriptd.lib"
with every angelscript project

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!