[v8-users] Invoking V8::Initialize will crash with Fatal signal 6 (SIGABRT) error

2022-05-20 Thread Kazuya Hiruma
Recently, I'm trying to use V8 in my Android app with libv8_monolith.a. I buillt it on Ubuntu on WSL successfly. I use it in my app with set up code below. ``` using namespace v8; Isolate* isolate_; Global context_; Isolate::CreateParams create_params; std::unique_ptr platform_; void initV8()

[v8-users] Re: Invoking V8::Initialize will crash with Fatal signal 6 (SIGABRT) error

2022-05-22 Thread Kazuya Hiruma
v8api E/v8: Embedder-vs-V8 build configuration mismatch. On embedder side pointer compression is DISABLED while on V8 side it's ENABLED. ``` 2022年5月21日土曜日 0:19:42 UTC+9 Kazuya Hiruma: > Recently, I'm trying to use V8 in my Android app with libv8_monolith.a. > > I buillt it on Ubuntu o

Re: [v8-users] [10.0.139.9] Compile error "C2280" with MSVC

2022-05-01 Thread Kazuya Hiruma
Thank you for rapid reply! I'll check it out! 2022年5月1日日曜日 16:37:59 UTC+9 Ben Noordhuis: > On Sun, May 1, 2022 at 3:12 AM Kazuya Hiruma wrote: > > > > Hi, there. > > > > I'm struggling with building V8 as a DLL on Windows with MSVC. > > > > I got a lot of

[v8-users] [10.0.139.9] Compile error "C2280" with MSVC

2022-04-30 Thread Kazuya Hiruma
Hi, there. I'm struggling with building V8 as a DLL on Windows with MSVC. I got a lot of compiler errors. (I will show it below) I also found out a same discussion thread but it wasn't a way to fix the problem.

Re: [v8-users] [10.0.139.9] Compile error "C2280" with MSVC

2022-05-01 Thread Kazuya Hiruma
ch you used to build without warnings I'm guessing what is wrong is */WX* flag. I'm not sure how to turn it off. Is it the problem or not? 2022年5月1日日曜日 16:42:01 UTC+9 Kazuya Hiruma: > Thank you for rapid reply! I'll check it out! > > 2022年5月1日日曜日 16:37:59 UTC+9 Ben Noordhuis: > >>

[v8-users] Re: Can't run a script when invoking from an external class.

2022-05-04 Thread Kazuya Hiruma
日 15:46:20 UTC+9 Kazuya Hiruma: > Hi, V8 folks. > > I'm confused why running a script is failed. > > I'm creating V8 api class like below. > > It's the header. > > #pragma once > namespace v8_api > { > class Core > { > private: > v8:

[v8-users] Can't run a script when invoking from an external class.

2022-05-04 Thread Kazuya Hiruma
Hi, V8 folks. I'm confused why running a script is failed. I'm creating V8 api class like below. It's the header. #pragma once namespace v8_api { class Core { private: v8::Isolate* isolate_; static void LogCallback(const v8::FunctionCallbackInfo& args) {

[v8-users] Can't run a script when invoking from exteranl class

2022-05-04 Thread Kazuya Hiruma
Hi, V8 folks. I'm confused why running a script is failed. I'm creating V8 api class like below. It's the header. #pragma once namespace v8_api { class Core { private: v8::Isolate* isolate_; v8::Local context_; static void LogCallback(const

[v8-users] test

2022-05-04 Thread Kazuya Hiruma
this is just post test. -- -- 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, send an email

[v8-users] I got LNK2001 error when building V8 with MSVC

2022-05-04 Thread Kazuya Hiruma
I'm sorry this is re-post from below link because I can't post a new message on it. (I got "The message has been deleted") https://groups.google.com/g/v8-users/c/SCxoTZRpUbc I built V8 belongs to the advice of its post but I still get the error "LNK2001". I tried to add the flag

[v8-users] Executing a script will occur an error "Access violation executing location"

2022-05-05 Thread Kazuya Hiruma
I'm new to C++ and V8. I'm googling some scripts for creating a V8 engine wrapper. I refered some implementations to implement my system. I'm so confused why the error is occurred. My all code are below. *1. Header* #pragma once #include namespace v8_api { class Core { private:

[v8-users] Re: Executing a script will occur an error "Access violation executing location"

2022-05-05 Thread Kazuya Hiruma
I solved this problem. The reason is I decleared `std::unique_ptr` as local variable then its destructor will be invoked at last of the `Initialize` method. I changed to store the value on the `Core` class side then the problem was solved. 2022年5月5日木曜日 21:41:57 UTC+9 Kazuya Hiruma: > I'm