Attempting to build a V8 add-on with VS 2010 - C++. The v8wrap.cpp class is throwing multiple linker errors similar to:
Error 10 error LNK2019: unresolved external symbol "public: static bool __cdecl WrapInstance::IsWrapped(class v8::Handle<class v8::Value>)" (?IsWrapped@WrapInstance@@$$FSA_NV?$Handle@VValue@v8@@@v8@@@Z) referenced
in function "public: static bool __cdecl V8ObjectWrapper::IsObjectWrapper(class v8::Handle<class v8::Value>)" (?IsObjectWrapper@V8ObjectWrapper@@$$FSA_NV?$Handle@VValue@v8@@@v8@@@Z)
Does anyone have any info to point me towards ? From researching it appears to be caused by the difference between c++ and C++ CLI calling patterns. Turning of /clr support just causes the errors to change as v8wrap includes <vcclr.h>.
FWIW - Ultimately I am trying to utilize this project https://github.com/anodejs/node-sharp and through various trial and error have resolved the build errors down to the LNK2019 issues listed above.