Unresolved External errors
I know it is something I am doing wrong but I haven't been able to figure it out. First let me say, I am completely new to Angelscript if it isn't blatently obvious. I was able to compile the .lib files (angelscript.lib & angelscriptd.lib). I am fairly certain they are fine because the example programs included with the SDK will compile and run. When I create my own project, even cutting and pasting the code from the examples is when I get the following errors. It looks like similar errors I used to get while using SDL when I missed adding a dll file to the project directory. I do not have a dll file for angelscript and was wondering if I am supposed to or have I got the settings of my project all screwed up? Any help is welcome.
main.obj : error LNK2019: unresolved external symbol "public: void __thiscall CScriptString::Release(void)" (?Release@CScriptString@@QAEXXZ) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall CScriptString::CScriptString(char const *)" (??0CScriptString@@QAE@PBD@Z) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "void __cdecl RegisterScriptString(class asIScriptEngine *)" (?RegisterScriptString@@YAXPAVasIScriptEngine@@@Z) referenced in function "void __cdecl ConfigureEngine(class asIScriptEngine *)" (?ConfigureEngine@@YAXPAVasIScriptEngine@@@Z)
1>C:\Users\Administrator\Documents\Visual Studio 2008\Projects\script2\Debug\script2.exe : fatal error LNK1120: 3 unresolved externals
CScriptString is an add-on and isn't packaged as part of the main DLL. Source files for add-ons are located in the add_on directory; CScriptString in particular lives in the add_on/scriptstring directory.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement