Since SCons has been deprecated. I used the gyp to generate vs solution. I did what they told me on the build BuildingWithGYP. And the v8 project builded ok! and I got the v8_base.lib but no v8.lib.
And in the hello world project ,get started.I add the lib directory into the add library. But it linked failed:
Linking...
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 couldn't find the implement but i used the dumpbin tool and find the symbol i can find them in the v8_base.lib
I am sure that the library directory is ok! but i don't know why it couldn't find the implement.