Re: [v8-users] NewDefaultPlatform() unresolved external symbol

2019-09-30 Thread Joe Smack
gument `use_custom_libcxx`. Try setting it to > true. My suspicion is, that the linked std::unique_ptr from your executable > doesn't match the std::unique_ptr from the V8 library. > > On Wed, Sep 25, 2019 at 1:26 PM Joe Smack > wrote: > >> I followed the instructions. I've

Re: [v8-users] NewDefaultPlatform() unresolved external symbol

2019-09-25 Thread Joe Smack
.dev/docs/embed>? > Specifically the part where it suggests to build v8_monolith and then link > against exactly that one library. > > Does #pragma comment(lib, "v8_libplatform.dll.lib") mean that you're > actually linking against v8_libplatform? > > > On S

[v8-users] NewDefaultPlatform() unresolved external symbol

2019-09-22 Thread Joe Smack
Can anyone please help me resolve this? I can't get rid of this error :\ I'm using version 7.7.299.11 of v8 and latest version of msvc. args.gn file is_component_build = false is_debug = false symbol_level = 1 target_cpu = "x64" use_goma = false My code: #include #include #include #include

Re: [v8-users] call javascript function from c++

2018-06-06 Thread Joe Smack
); Unless there is a better way, please consider my original post answered. On Wednesday, June 6, 2018 at 3:07:33 AM UTC-7, Ben Noordhuis wrote: > > On Wed, Jun 6, 2018 at 11:42 AM, Joe Smack > wrote: > > Let's say you compile and run code: > > > > var StartNamespace =

[v8-users] call javascript function from c++

2018-06-06 Thread Joe Smack
Let's say you compile and run code: var StartNamespace = { cppTalkTo: function () { // some code } }; StartNamespace.init(); After you compile and run the above code how could you call cppTalkTo from C++? Whats the C++ functions for that? Basically I want to: v8::Script::Run

Re: [v8-users] InitializeICUDefaultLocation

2018-05-26 Thread Joe Smack
I just cant get it to work. :/ I wish I could get some visual studio files to see how everything is set up. On Saturday, May 26, 2018 at 2:14:13 AM UTC-7, Ben Noordhuis wrote: > > On Sat, May 26, 2018 at 11:03 AM, Joe Smack <messi...@gmail.com > > wrote: > > What is

[v8-users] InitializeICUDefaultLocation

2018-05-26 Thread Joe Smack
What is the proper way to do this function? I just can't get it to work. My code: const char * exec_path = "C:\\Users\\Joe Smack\\Documents\\Visual Studio 2017\\Projects\\v8 console test\\v8 console test"; const char * icu_data_file = "icudtl.dat"; V8::InitializeICUDefau

Re: [v8-users] entry point error

2018-05-25 Thread Joe Smack
Copied it over first thing :) Weird. -- -- v8-users mailing list v8-users@googlegroups.com 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,

[v8-users] Re: entry point error

2018-05-24 Thread Joe Smack
> > here is my simple program: > #include "stdafx.h" #include #include #include #include "libplatform/libplatform.h" #include "v8.h" using namespace v8; #pragma comment(lib, "v8.dll.lib") int main(int argc, char* argv[]) { v8::V8::InitializeICUDefaultLocation(argv[0]); return 0; }

[v8-users] entry point error

2018-05-24 Thread Joe Smack
Can anybody please help me with my errors; The procedure entry point ??0ByteSink@icu_61@@@ could not be located in the dynamic link library G:\project\v8simp\icui18n.dll The procedure entry point ??0ByteSink@icu_61@@@ could not be located in the dynamic link library G:\project\v8simp\v8.dll --