Thanks a lot, that worked!

O.

2008/10/27 Søren Gjesse <[EMAIL PROTECTED]>

> More precisely add /DUSING_V8_SHARED when compiling your code. Look for 
> 'library:shared'
> in the primary SConstruct file, and you will see it defined for the samples
> and the cctests.
> Regards,
> Søren
>
> On Mon, Oct 27, 2008 at 1:04 AM, Ben Nolan <[EMAIL PROTECTED]> wrote:
>
>>
>> #define v8_use_shared or something like that :)
>>
>> On 10/27/08, ondras <[EMAIL PROTECTED]> wrote:
>> >
>> > Hi,
>> >
>> > I run into these troubles when compling with MSVC 2k8 Express:
>> >
>> > link /nologo /OUT:v8cgi.exe v8.lib src\v8cgi.obj src\js_common.obj src
>> > \js_system.obj src\js_io.obj
>> > v8cgi.obj : error LNK2019: unresolved external symbol "private: static
>> > class v8::HandleScope::Data
>> >                v8::HandleScope::current_" (?
>> > [EMAIL PROTECTED]@v8@@[EMAIL PROTECTED]@A) referenced in function "public:
>> > __thiscall v8::HandleScope::HandleScope(void)" (??
>> > [EMAIL PROTECTED]@@[EMAIL PROTECTED])
>> > js_system.obj : error LNK2001: unresolved external symbol "private:
>> > static class v8::HandleScope::Data
>> >                v8::HandleScope::current_" (?
>> > [EMAIL PROTECTED]@v8@@[EMAIL PROTECTED]@A)
>> > js_io.obj : error LNK2001: unresolved external symbol "private: static
>> > class v8::HandleScope::Data
>> >                v8::HandleScope::current_" (?
>> > [EMAIL PROTECTED]@v8@@[EMAIL PROTECTED]@A)
>> > v8cgi.exe : fatal error LNK1120: 1 unresolved externals
>> >
>> > Static library works flawlessly. Can you please provide any advice?
>> > The thread
>> >
>> http://groups.google.com/group/v8-users/browse_thread/thread/fc5e54b21b6796d2/8a88e4d3a1865bc5?lnk=gst
>> > was not very helpful for me...
>> >
>> > Thanks!
>> > Ondrej Zara
>> >
>> > >
>> >
>>
>>
>> --
>> Regards,
>> Ben Nolan
>>
>> http://bennolan.com/
>>
>> skype: bennolan
>> cell: +64 21 770 662
>>
>>
>>
>
> >
>

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

Reply via email to