Note that there are some explanatory texts on larger screens.

plurals
  1. POLinking to V8 does not work in release mode
    text
    copied!<p>I built the v8 libraries on visual studio 2005 in release mode, put the resulting <code>.lib</code> files (in release mode) and compiled my project against them.</p> <p>While everything is working fine in debug mode (compiling and running correctly), in release mode I get the following link errors (as if the lib files are not there).</p> <pre><code>error LNK2001: unresolved external symbol "public: class v8::Local&lt;class v8::Boolean&gt; __thiscall v8::Value::ToBoolean(void)const " (?ToBoolean@Value@v8@@QBE?AV?$Local@VBoolean@v8@@@2@XZ) error LNK2001: unresolved external symbol "public: bool __thiscall v8::Value::IsInt32(void)const " (?IsInt32@Value@v8@@QBE_NXZ) error LNK2001: unresolved external symbol "public: bool __thiscall v8::Value::IsNumber(void)const " (?IsNumber@Value@v8@@QBE_NXZ) error LNK2001: unresolved external symbol "public: bool __thiscall v8::Value::IsBoolean(void)const " (?IsBoolean@Value@v8@@QBE_NXZ) error LNK2001: unresolved external symbol "public: bool __thiscall v8::Value::IsObject(void)const " (?IsObject@Value@v8@@QBE_NXZ) error LNK2001: unresolved external symbol "public: bool __thiscall v8::Value::IsArray(void)const " (?IsArray@Value@v8@@QBE_NXZ) error LNK2001: unresolved external symbol "public: bool __thiscall v8::Value::IsFunction(void)const " (?IsFunction@Value@v8@@QBE_NXZ) error LNK2001: unresolved external symbol "public: bool __thiscall v8::Value::IsNull(void)const " (?IsNull@Value@v8@@QBE_NXZ) </code></pre> <p>My linker properties have the following additional depencies.</p> <pre><code>msvcrt.lib ntstc_msvcrt.lib Psapi.lib winmm.lib Ws2_32.lib $(SolutionDir)\external_libs\release\v8.lib </code></pre> <p>and my <code>$(SolutionDir)\external_libs\release</code> folder containst the files:</p> <pre><code>v8.lib, v8_base.lib, v8_snapshot.lib </code></pre> <p>Any help would be appreciated.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload