If I execute

>vsvars32.bat  >scons msvcrt=shared env="INCLUDE:%INCLUDE%,LIB:%LIB%"

for compiling V8 and then execute:

cl /Iinclude /DUSING_V8_SHARED hello_world.cpp v8.lib



The following error happens:


hello_world.obj : error LNK2019: unresolved external symbol
"__declspec(dllimpor
t) public: __thiscall v8::HandleScope::~HandleScope(void)"
(__imp_??1HandleScope
@v8@@q...@xz) referenced in function _main
hello_world.obj : error LNK2019: unresolved external symbol
"__declspec(dllimpor
t) public: __thiscall v8::Context::Scope::~Scope(void)" (
__imp_??1sc...@context@
v8@@q...@xz) referenced in function _main



On Wed, Sep 9, 2009 at 3:00 PM, zhiguo <[email protected]> wrote:

>
> When comping hello_world.cpp exmaple using Visual Studio 2005 via
> command cl /Iinclude hello_world.cpp v8.lib, fatal error happens.
>
> The following is the error message:
>
> c:\Chrome-V8\include\v8.h(494) : fatal error C1001: INTERNAL COMPILER
> ERROR
>        (compiler file 'msc1.cpp', line 2701)
>         Please choose the Technical Support command on the Visual C++
>         Help menu, or open the Technical Support help file for more
> information
>
> Anyone can give any help? thanks!
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to