Hi,

You're missing an 'e' in "out.gn/x64.releas/libv8_libplatform.so", it
should be "out.gn/x64.release/libv8_libplatform.so"

- Leszek

On Sun, 3 Jun 2018, 10:23 , <[email protected]> wrote:

> Trying to compile V8 samples/hello-world.cc on ubuntu with following
> command:
>
> g++ -I. -Iinclude samples/hello-world.cc -o hello-world -Wl,--start-group \
> out.gn/x64.release/libicui18n.so out.gn/x64.release/libicuuc.so\
> out.gn/x64.release/libv8_libbase.so\
> out.gn/x64.releas/libv8_libplatform.so\ out.gn/x64.release/libv8.so\
> out.gn/x64.release/libc++.so\-Wl,--end-group -lrt -ldl -pthread -std=c++0x
>
>
> And getting an Error:
>
>
> hello-world.cc:(.text+0x75): undefined reference to
> v8::platform::NewDefaultPlatform(int, v8::platform::IdleTaskSupport,
> v8::platform::InProcessStackDumping,
> std::unique_ptr<v8::TracingController,
> std::default_delete<v8::TracingController> >)
>
>
> Note that I built V8 with GN args:
>
>
> is_debug = false
>
> is_official_build = true
>
> is_component_build = true
>
> is_cfi = false
>
>  is_clang = false
>
> v8_use_external_startup_data = false
>
> treat_warnings_as_errors = false
>
> use_custom_libcxx = false
>
>  use_sysroot = false
>
> use_gold = false
>
>
> Am I doing something wrong with V8 built or compilation of 
> samples/hello-world.cc
>
> --
> --
> v8-dev mailing list
> [email protected]
> http://groups.google.com/group/v8-dev
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to