So you followed my previous instructions only partly and probably
didn't read any of the documentation I linked to [0].
If you built V8 with i18n (aka ICU) on, then you need to link it as well.
g++ -I /usr/local/include/node tibcoasync.cpp -o ticbo
-Wl,--start-group
out/x64.release/obj.target/{tools/gyp/libv8_{base,libbase,snapshot,libplatform},third_party/icu/libicu{uc,i18n,data}}.a
-Wl,--end-group -lrt -pthread
However, it appears you're looking to write a node addon/extension, so
you ought to be following their docs [1].
[0] https://developers.google.com/v8/get_started#hello
[1] https://nodejs.org/api/addons.html
On Fri, May 15, 2015 at 9:50 PM, Jason Josephy <[email protected]> wrote:
> Here is the build cmds and output - a;; related to ICU. seems like something
> simple is broken.
>
> g++ -I /usr/local/include/node tibcoasync.cpp -o ticbo -Wl,--start-group
> /home/jjosephy/Source/v8/out/x64.debug/obj.target/tools/gyp/libv8_base.a
> /home/jjosephy/Source/v8/out/x64.debug/obj.target/tools/gyp/libv8_libbase.a
> /home/jjosephy/Source/v8/out/x64.debug/obj.target/tools/gyp/libv8_snapshot.a
> /home/jjosephy/Source/v8/out/x64.debug/obj.target/tools/gyp/libv8_libplatform.a
> -Wl,--end-group -lrt -pthread
>
[SNIP]
> /home/jjosephy/Source/v8/out/../third_party/icu/source/common/unicode/unistr.h:3683:
> undefined reference to
> `icu_54::UnicodeString::doEquals(icu_54::UnicodeString const&, int) const'
> /home/jjosephy/Source/v8/out/x64.debug/obj.target/v8_libbase/src/base/logging.o:
> In function `v8::base::DumpBacktrace()':
> /home/jjosephy/Source/v8/out/../src/base/logging.cc:66: undefined reference
> to `dladdr'
>
>
> On Friday, May 15, 2015 at 9:31:56 PM UTC-7, Jason Josephy wrote:
>>
>> Hi - I am trying to build a V8 c++ app in eclipse and i am unable to link
>> to ICU. I get hundred of unresolved errors all relating to ICU. Im pretty
>> sure that this is a problem with Eclipse more than anything but i was
>> curious if anyone had run into this and if they had a solution.
--
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups
"v8-users" 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.