Since SCons is deprecated. I used gyp to generate vs solutions. I did what they told me in the BuildingWithGYP assembly. And the v8 project is built fine! and I got v8_base.lib, but not v8.lib.
And in the welcoming world, start the project. I am adding the lib directory to the add library. But this failed:
Binding ...
1>v8test.obj : error LNK2019: unresolved external symbol "public: __thiscall v8::HandleScope::~HandleScope(void)" (?? 1HandleScope@v8 @@ QAE@XZ ) referenced in function _main 1>v8test.obj : error LNK2019: unresolved external symbol "public: __thiscall v8::String::AsciiValue::~AsciiValue(void)" (?? 1AsciiValue@String @ v8@ @ QAE@XZ ) referenced in function _main 1>v8test.obj : error LNK2019: unresolved external symbol "public: __thiscall v8::String::AsciiValue::AsciiValue(class v8::Handle<class v8::Value>)" ( ??0AsciiValue@String @ v8@ @ QAE@V ?$Handle@VValue @ v8@ @@ 2@ @Z) referenced in function _main 1>v8test.obj : error LNK2019: unresolved external symbol "public: class v8::Local<class v8::Value> __thiscall v8::Script::Run(void)" (? Run@Script @ v8@ @ QAE?AV?$Local@VValue @ v8@ @@ 2@XZ ) referenced in function _main ……
It seems that the tool could not be found but I used the dumpbin tool and found a character that I can find in v8_base.lib
I am sure the library directory is fine! but I do not know why he could not find an implementation.
source share