v8toolkit icon indicating copy to clipboard operation
v8toolkit copied to clipboard

Windows support?

Open StefanWoe opened this issue 6 years ago • 9 comments

Has v8toolkit been built for windows successfully using VisualStudio 2018?

StefanWoe avatar Jan 08 '19 13:01 StefanWoe

Quite a while ago it worked. Haven’t tried it in a couple years though. The answer is probably not.

On Tue, Jan 8, 2019 at 5:33 AM StefanWoe [email protected] wrote:

Has v8toolkit been built for windows successfully using VisualStudio 2018?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xaxxon/v8toolkit/issues/22, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIycnzWsxhVc0bDuddYpIk7SXHaVOVfks5vBJ4UgaJpZM4Z1e4n .

xaxxon avatar Jan 08 '19 19:01 xaxxon

Hello Zac, after quite a while a got back to this topic now again. I am trying to use v8toolkit using Visual Studion 2017. I  downloaded all referenced libraries, and now get a number of errors compiling your xl library. I was able to solve some of them by switching to higher language conformance (C++17), but a few remain: 1>xl-master\include\xl\member_function_type_traits.h(15): error C2057: expected constant expression 1>xl-master\include\xl\member_function_type_traits.h(29): error C2764: 'is_noexcept': template parameter not used or deducible in partial specialization 'xl::pointer_to_member_function<R(__cdecl C::* )(Args...)>' And the same errors all over this source file 1>xl-master\include\xl\library_extensions.h(233): error C3546: '...': there are no parameter packs available to expand 'xl::EachI<std::integer_sequence<size_t,_Vals...>,Containers...>::iterator' being compiled 1>xl-master\include\xl\library_extensions.h(775): error C2643: deduction guide should be declared in the same scope as the corresponding class template 'std::pair'

Any hint on how to solve these errors?Did you ever build this library on windows? Regards Stefan

Am Dienstag, 8. Januar 2019, 20:23:51 MEZ hat Zac Hansen <[email protected]> Folgendes geschrieben:  

Quite a while ago it worked. Haven’t tried it in a couple years though. The answer is probably not.

On Tue, Jan 8, 2019 at 5:33 AM StefanWoe [email protected] wrote:

Has v8toolkit been built for windows successfully using VisualStudio 2018?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xaxxon/v8toolkit/issues/22, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIycnzWsxhVc0bDuddYpIk7SXHaVOVfks5vBJ4UgaJpZM4Z1e4n .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

StefanWoe avatar Aug 05 '19 10:08 StefanWoe

I haven't tried it in windows for a very long time - and basically gave up because the compiler was so bad.

It might work with the latest c++17 compatible msvc, but I've run into a lot of bugs with all the compilers and only really worked around the ones for clang.

honestly, I'd recommend not using this project. There are better integration libraries for javascript and the code for auto-generating bindings is pretty flaky -- it's hacked for my specific needs.

I started work on this when I was between jobs and now I am pretty busy all the time..

I can give specific advice if you really want to hack at it, but I won't have time to really fix stuff.

--Zac

On Mon, Aug 5, 2019 at 3:34 AM StefanWoe [email protected] wrote:

Hello Zac, after quite a while a got back to this topic now again. I am trying to use v8toolkit using Visual Studion 2017. I downloaded all referenced libraries, and now get a number of errors compiling your xl library. I was able to solve some of them by switching to higher language conformance (C++17), but a few remain: 1>xl-master\include\xl\member_function_type_traits.h(15): error C2057: expected constant expression 1>xl-master\include\xl\member_function_type_traits.h(29): error C2764: 'is_noexcept': template parameter not used or deducible in partial specialization 'xl::pointer_to_member_function<R(__cdecl C::* )(Args...)>' And the same errors all over this source file 1>xl-master\include\xl\library_extensions.h(233): error C3546: '...': there are no parameter packs available to expand 'xl::EachI<std::integer_sequence<size_t,_Vals...>,Containers...>::iterator' being compiled 1>xl-master\include\xl\library_extensions.h(775): error C2643: deduction guide should be declared in the same scope as the corresponding class template 'std::pair'

Any hint on how to solve these errors?Did you ever build this library on windows? Regards Stefan

Am Dienstag, 8. Januar 2019, 20:23:51 MEZ hat Zac Hansen < [email protected]> Folgendes geschrieben:

Quite a while ago it worked. Haven’t tried it in a couple years though. The answer is probably not.

On Tue, Jan 8, 2019 at 5:33 AM StefanWoe [email protected] wrote:

Has v8toolkit been built for windows successfully using VisualStudio 2018?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xaxxon/v8toolkit/issues/22, or mute the thread < https://github.com/notifications/unsubscribe-auth/AAIycnzWsxhVc0bDuddYpIk7SXHaVOVfks5vBJ4UgaJpZM4Z1e4n

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xaxxon/v8toolkit/issues/22?email_source=notifications&email_token=AABDE4RDKOMIAOR3WNG7HZLQC764NA5CNFSM4GOV5YT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3RNFUY#issuecomment-518181587, or mute the thread https://github.com/notifications/unsubscribe-auth/AABDE4WOLB63V4RS3ABBYELQC764NANCNFSM4GOV5YTQ .

xaxxon avatar Aug 05 '19 21:08 xaxxon

Hello Zac, thanks for your quite informative answer. The thing i want to solve is attaching a chrome debugger to a v8engine that i embedded into our windows application.I posted this question about it quite a while ago but got no answers:https://stackoverflow.com/questions/54074537/how-can-i-attach-a-debugger-to-google-v8 Could you give me advice, how to do this? It seems as nobody is doing that. I find no such tutorials or anything. Thanks Stefan

Am Montag, 5. August 2019, 23:35:08 MESZ hat Zac Hansen <[email protected]> Folgendes geschrieben:  

I haven't tried it in windows for a very long time - and basically gave up because the compiler was so bad.

It might work with the latest c++17 compatible msvc, but I've run into a lot of bugs with all the compilers and only really worked around the ones for clang.

honestly, I'd recommend not using this project. There are better integration libraries for javascript and the code for auto-generating bindings is pretty flaky -- it's hacked for my specific needs.

I started work on this when I was between jobs and now I am pretty busy all the time..

I can give specific advice if you really want to hack at it, but I won't have time to really fix stuff.

--Zac

On Mon, Aug 5, 2019 at 3:34 AM StefanWoe [email protected] wrote:

Hello Zac, after quite a while a got back to this topic now again. I am trying to use v8toolkit using Visual Studion 2017. I downloaded all referenced libraries, and now get a number of errors compiling your xl library. I was able to solve some of them by switching to higher language conformance (C++17), but a few remain: 1>xl-master\include\xl\member_function_type_traits.h(15): error C2057: expected constant expression 1>xl-master\include\xl\member_function_type_traits.h(29): error C2764: 'is_noexcept': template parameter not used or deducible in partial specialization 'xl::pointer_to_member_function<R(__cdecl C::* )(Args...)>' And the same errors all over this source file 1>xl-master\include\xl\library_extensions.h(233): error C3546: '...': there are no parameter packs available to expand 'xl::EachI<std::integer_sequence<size_t,_Vals...>,Containers...>::iterator' being compiled 1>xl-master\include\xl\library_extensions.h(775): error C2643: deduction guide should be declared in the same scope as the corresponding class template 'std::pair'

Any hint on how to solve these errors?Did you ever build this library on windows? Regards Stefan

Am Dienstag, 8. Januar 2019, 20:23:51 MEZ hat Zac Hansen < [email protected]> Folgendes geschrieben:

Quite a while ago it worked. Haven’t tried it in a couple years though. The answer is probably not.

On Tue, Jan 8, 2019 at 5:33 AM StefanWoe [email protected] wrote:

Has v8toolkit been built for windows successfully using VisualStudio 2018?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xaxxon/v8toolkit/issues/22, or mute the thread < https://github.com/notifications/unsubscribe-auth/AAIycnzWsxhVc0bDuddYpIk7SXHaVOVfks5vBJ4UgaJpZM4Z1e4n

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xaxxon/v8toolkit/issues/22?email_source=notifications&email_token=AABDE4RDKOMIAOR3WNG7HZLQC764NA5CNFSM4GOV5YT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3RNFUY#issuecomment-518181587, or mute the thread https://github.com/notifications/unsubscribe-auth/AABDE4WOLB63V4RS3ABBYELQC764NANCNFSM4GOV5YTQ .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

StefanWoe avatar Aug 06 '19 06:08 StefanWoe

just for kicks I tried to get windows working today... downloaded the latest version of msvc and almost immediately hit a compiler bug on one of my support libraries.

it barfs on this line saying there's no parameter pack, though gcc/clang seem to do just fine:

https://github.com/xaxxon/xl/blob/master/include/xl/library_extensions.h#L233

https://godbolt.org/z/Mmjt0G

I'm sure I could work around that, but if I'm hitting bugs within the first 10 minutes of trying, I'm not liking my chances of the rest of the porting being very quick at all.

Sorry about that :( . I was really hoping that MSVC had made some serious progress on c++17, but it looks like they haven't.

--Zac

On Mon, Aug 5, 2019 at 11:14 PM StefanWoe [email protected] wrote:

Hello Zac, thanks for your quite informative answer. The thing i want to solve is attaching a chrome debugger to a v8engine that i embedded into our windows application.I posted this question about it quite a while ago but got no answers: https://stackoverflow.com/questions/54074537/how-can-i-attach-a-debugger-to-google-v8 Could you give me advice, how to do this? It seems as nobody is doing that. I find no such tutorials or anything. Thanks Stefan

Am Montag, 5. August 2019, 23:35:08 MESZ hat Zac Hansen < [email protected]> Folgendes geschrieben:

I haven't tried it in windows for a very long time - and basically gave up because the compiler was so bad.

It might work with the latest c++17 compatible msvc, but I've run into a lot of bugs with all the compilers and only really worked around the ones for clang.

honestly, I'd recommend not using this project. There are better integration libraries for javascript and the code for auto-generating bindings is pretty flaky -- it's hacked for my specific needs.

I started work on this when I was between jobs and now I am pretty busy all the time..

I can give specific advice if you really want to hack at it, but I won't have time to really fix stuff.

--Zac

On Mon, Aug 5, 2019 at 3:34 AM StefanWoe [email protected] wrote:

Hello Zac, after quite a while a got back to this topic now again. I am trying to use v8toolkit using Visual Studion 2017. I downloaded all referenced libraries, and now get a number of errors compiling your xl library. I was able to solve some of them by switching to higher language conformance (C++17), but a few remain: 1>xl-master\include\xl\member_function_type_traits.h(15): error C2057: expected constant expression 1>xl-master\include\xl\member_function_type_traits.h(29): error C2764: 'is_noexcept': template parameter not used or deducible in partial specialization 'xl::pointer_to_member_function<R(__cdecl C::* )(Args...)>' And the same errors all over this source file 1>xl-master\include\xl\library_extensions.h(233): error C3546: '...': there are no parameter packs available to expand

'xl::EachI<std::integer_sequence<size_t,_Vals...>,Containers...>::iterator'

being compiled 1>xl-master\include\xl\library_extensions.h(775): error C2643: deduction guide should be declared in the same scope as the corresponding class template 'std::pair'

Any hint on how to solve these errors?Did you ever build this library on windows? Regards Stefan

Am Dienstag, 8. Januar 2019, 20:23:51 MEZ hat Zac Hansen < [email protected]> Folgendes geschrieben:

Quite a while ago it worked. Haven’t tried it in a couple years though. The answer is probably not.

On Tue, Jan 8, 2019 at 5:33 AM StefanWoe [email protected] wrote:

Has v8toolkit been built for windows successfully using VisualStudio 2018?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xaxxon/v8toolkit/issues/22, or mute the thread <

https://github.com/notifications/unsubscribe-auth/AAIycnzWsxhVc0bDuddYpIk7SXHaVOVfks5vBJ4UgaJpZM4Z1e4n

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/xaxxon/v8toolkit/issues/22?email_source=notifications&email_token=AABDE4RDKOMIAOR3WNG7HZLQC764NA5CNFSM4GOV5YT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3RNFUY#issuecomment-518181587 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AABDE4WOLB63V4RS3ABBYELQC764NANCNFSM4GOV5YTQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xaxxon/v8toolkit/issues/22?email_source=notifications&email_token=AABDE4TUCIF2UR3BYHDUIK3QDEJDRA5CNFSM4GOV5YT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3T7XQY#issuecomment-518519747, or mute the thread https://github.com/notifications/unsubscribe-auth/AABDE4X4P72II6RVEDP2EMDQDEJDRANCNFSM4GOV5YTQ .

xaxxon avatar Aug 08 '19 03:08 xaxxon

Hello Zac, thanks for your trials and support. Could you give a brief description of what i need to do, to solve this problem (Debugging v8 Engine on Windows)I cant believe that i am the only person who is trying to do that... Regards Stefan

Am Donnerstag, 8. August 2019, 05:32:09 MESZ hat Zac Hansen <[email protected]> Folgendes geschrieben:  

just for kicks I tried to get windows working today... downloaded the latest version of msvc and almost immediately hit a compiler bug on one of my support libraries.

it barfs on this line saying there's no parameter pack, though gcc/clang seem to do just fine:

https://github.com/xaxxon/xl/blob/master/include/xl/library_extensions.h#L233

https://godbolt.org/z/Mmjt0G

I'm sure I could work around that, but if I'm hitting bugs within the first 10 minutes of trying, I'm not liking my chances of the rest of the porting being very quick at all.

Sorry about that :( . I was really hoping that MSVC had made some serious progress on c++17, but it looks like they haven't.

--Zac

On Mon, Aug 5, 2019 at 11:14 PM StefanWoe [email protected] wrote:

Hello Zac, thanks for your quite informative answer. The thing i want to solve is attaching a chrome debugger to a v8engine that i embedded into our windows application.I posted this question about it quite a while ago but got no answers: https://stackoverflow.com/questions/54074537/how-can-i-attach-a-debugger-to-google-v8 Could you give me advice, how to do this? It seems as nobody is doing that. I find no such tutorials or anything. Thanks Stefan

Am Montag, 5. August 2019, 23:35:08 MESZ hat Zac Hansen < [email protected]> Folgendes geschrieben:

I haven't tried it in windows for a very long time - and basically gave up because the compiler was so bad.

It might work with the latest c++17 compatible msvc, but I've run into a lot of bugs with all the compilers and only really worked around the ones for clang.

honestly, I'd recommend not using this project. There are better integration libraries for javascript and the code for auto-generating bindings is pretty flaky -- it's hacked for my specific needs.

I started work on this when I was between jobs and now I am pretty busy all the time..

I can give specific advice if you really want to hack at it, but I won't have time to really fix stuff.

--Zac

On Mon, Aug 5, 2019 at 3:34 AM StefanWoe [email protected] wrote:

Hello Zac, after quite a while a got back to this topic now again. I am trying to use v8toolkit using Visual Studion 2017. I downloaded all referenced libraries, and now get a number of errors compiling your xl library. I was able to solve some of them by switching to higher language conformance (C++17), but a few remain: 1>xl-master\include\xl\member_function_type_traits.h(15): error C2057: expected constant expression 1>xl-master\include\xl\member_function_type_traits.h(29): error C2764: 'is_noexcept': template parameter not used or deducible in partial specialization 'xl::pointer_to_member_function<R(__cdecl C::* )(Args...)>' And the same errors all over this source file 1>xl-master\include\xl\library_extensions.h(233): error C3546: '...': there are no parameter packs available to expand

'xl::EachI<std::integer_sequence<size_t,_Vals...>,Containers...>::iterator'

being compiled 1>xl-master\include\xl\library_extensions.h(775): error C2643: deduction guide should be declared in the same scope as the corresponding class template 'std::pair'

Any hint on how to solve these errors?Did you ever build this library on windows? Regards Stefan

Am Dienstag, 8. Januar 2019, 20:23:51 MEZ hat Zac Hansen < [email protected]> Folgendes geschrieben:

Quite a while ago it worked. Haven’t tried it in a couple years though. The answer is probably not.

On Tue, Jan 8, 2019 at 5:33 AM StefanWoe [email protected] wrote:

Has v8toolkit been built for windows successfully using VisualStudio 2018?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xaxxon/v8toolkit/issues/22, or mute the thread <

https://github.com/notifications/unsubscribe-auth/AAIycnzWsxhVc0bDuddYpIk7SXHaVOVfks5vBJ4UgaJpZM4Z1e4n

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/xaxxon/v8toolkit/issues/22?email_source=notifications&email_token=AABDE4RDKOMIAOR3WNG7HZLQC764NA5CNFSM4GOV5YT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3RNFUY#issuecomment-518181587 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AABDE4WOLB63V4RS3ABBYELQC764NANCNFSM4GOV5YTQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xaxxon/v8toolkit/issues/22?email_source=notifications&email_token=AABDE4TUCIF2UR3BYHDUIK3QDEJDRA5CNFSM4GOV5YT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3T7XQY#issuecomment-518519747, or mute the thread https://github.com/notifications/unsubscribe-auth/AABDE4X4P72II6RVEDP2EMDQDEJDRANCNFSM4GOV5YTQ .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

StefanWoe avatar Aug 08 '19 06:08 StefanWoe

You want to point the chrome debugger at your application and use that to debug your javascript? if so, you need to set up websockets and then pass the data through to v8. If you look at where I use websocketspp in my code, you should be able to kind of follow that through.

Though v8 often changes how they do their debugging, so my current code may not be correct for the current version of v8.

Also, I did find a workaround and I'm going to spend a little while seeing if I can get this working on windows again. (but absolutely no promises)

On Wed, Aug 7, 2019 at 11:24 PM StefanWoe [email protected] wrote:

Hello Zac, thanks for your trials and support. Could you give a brief description of what i need to do, to solve this problem (Debugging v8 Engine on Windows)I cant believe that i am the only person who is trying to do that... Regards Stefan

Am Donnerstag, 8. August 2019, 05:32:09 MESZ hat Zac Hansen < [email protected]> Folgendes geschrieben:

just for kicks I tried to get windows working today... downloaded the latest version of msvc and almost immediately hit a compiler bug on one of my support libraries.

it barfs on this line saying there's no parameter pack, though gcc/clang seem to do just fine:

https://github.com/xaxxon/xl/blob/master/include/xl/library_extensions.h#L233

https://godbolt.org/z/Mmjt0G

I'm sure I could work around that, but if I'm hitting bugs within the first 10 minutes of trying, I'm not liking my chances of the rest of the porting being very quick at all.

Sorry about that :( . I was really hoping that MSVC had made some serious progress on c++17, but it looks like they haven't.

--Zac

On Mon, Aug 5, 2019 at 11:14 PM StefanWoe [email protected] wrote:

Hello Zac, thanks for your quite informative answer. The thing i want to solve is attaching a chrome debugger to a v8engine that i embedded into our windows application.I posted this question about it quite a while ago but got no answers:

https://stackoverflow.com/questions/54074537/how-can-i-attach-a-debugger-to-google-v8

Could you give me advice, how to do this? It seems as nobody is doing that. I find no such tutorials or anything. Thanks Stefan

Am Montag, 5. August 2019, 23:35:08 MESZ hat Zac Hansen < [email protected]> Folgendes geschrieben:

I haven't tried it in windows for a very long time - and basically gave up because the compiler was so bad.

It might work with the latest c++17 compatible msvc, but I've run into a lot of bugs with all the compilers and only really worked around the ones for clang.

honestly, I'd recommend not using this project. There are better integration libraries for javascript and the code for auto-generating bindings is pretty flaky -- it's hacked for my specific needs.

I started work on this when I was between jobs and now I am pretty busy all the time..

I can give specific advice if you really want to hack at it, but I won't have time to really fix stuff.

--Zac

On Mon, Aug 5, 2019 at 3:34 AM StefanWoe [email protected] wrote:

Hello Zac, after quite a while a got back to this topic now again. I am trying to use v8toolkit using Visual Studion 2017. I downloaded all referenced libraries, and now get a number of errors compiling your xl library. I was able to solve some of them by switching to higher language conformance (C++17), but a few remain: 1>xl-master\include\xl\member_function_type_traits.h(15): error C2057: expected constant expression 1>xl-master\include\xl\member_function_type_traits.h(29): error C2764: 'is_noexcept': template parameter not used or deducible in partial specialization 'xl::pointer_to_member_function<R(__cdecl C::* )(Args...)>' And the same errors all over this source file 1>xl-master\include\xl\library_extensions.h(233): error C3546: '...': there are no parameter packs available to expand

'xl::EachI<std::integer_sequence<size_t,_Vals...>,Containers...>::iterator'

being compiled 1>xl-master\include\xl\library_extensions.h(775): error C2643: deduction guide should be declared in the same scope as the corresponding class template 'std::pair'

Any hint on how to solve these errors?Did you ever build this library on windows? Regards Stefan

Am Dienstag, 8. Januar 2019, 20:23:51 MEZ hat Zac Hansen < [email protected]> Folgendes geschrieben:

Quite a while ago it worked. Haven’t tried it in a couple years though. The answer is probably not.

On Tue, Jan 8, 2019 at 5:33 AM StefanWoe [email protected] wrote:

Has v8toolkit been built for windows successfully using VisualStudio 2018?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xaxxon/v8toolkit/issues/22, or mute the thread <

https://github.com/notifications/unsubscribe-auth/AAIycnzWsxhVc0bDuddYpIk7SXHaVOVfks5vBJ4UgaJpZM4Z1e4n

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <

https://github.com/xaxxon/v8toolkit/issues/22?email_source=notifications&email_token=AABDE4RDKOMIAOR3WNG7HZLQC764NA5CNFSM4GOV5YT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3RNFUY#issuecomment-518181587

, or mute the thread <

https://github.com/notifications/unsubscribe-auth/AABDE4WOLB63V4RS3ABBYELQC764NANCNFSM4GOV5YTQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/xaxxon/v8toolkit/issues/22?email_source=notifications&email_token=AABDE4TUCIF2UR3BYHDUIK3QDEJDRA5CNFSM4GOV5YT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3T7XQY#issuecomment-518519747 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AABDE4X4P72II6RVEDP2EMDQDEJDRANCNFSM4GOV5YTQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xaxxon/v8toolkit/issues/22?email_source=notifications&email_token=AABDE4V2JY6Q4SDCHYFXNXTQDO3YFA5CNFSM4GOV5YT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD32SVRQ#issuecomment-519383750, or mute the thread https://github.com/notifications/unsubscribe-auth/AABDE4U67GL7TWHPUCFLNJDQDO3YFANCNFSM4GOV5YTQ .

xaxxon avatar Aug 08 '19 06:08 xaxxon

How did you proceed? Any news?

Am Donnerstag, 8. August 2019, 08:35:05 MESZ hat Zac Hansen <[email protected]> Folgendes geschrieben:  

You want to point the chrome debugger at your application and use that to debug your javascript? if so, you need to set up websockets and then pass the data through to v8. If you look at where I use websocketspp in my code, you should be able to kind of follow that through.

Though v8 often changes how they do their debugging, so my current code may not be correct for the current version of v8.

Also, I did find a workaround and I'm going to spend a little while seeing if I can get this working on windows again. (but absolutely no promises)

On Wed, Aug 7, 2019 at 11:24 PM StefanWoe [email protected] wrote:

Hello Zac, thanks for your trials and support. Could you give a brief description of what i need to do, to solve this problem (Debugging v8 Engine on Windows)I cant believe that i am the only person who is trying to do that... Regards Stefan

Am Donnerstag, 8. August 2019, 05:32:09 MESZ hat Zac Hansen < [email protected]> Folgendes geschrieben:

just for kicks I tried to get windows working today... downloaded the latest version of msvc and almost immediately hit a compiler bug on one of my support libraries.

it barfs on this line saying there's no parameter pack, though gcc/clang seem to do just fine:

https://github.com/xaxxon/xl/blob/master/include/xl/library_extensions.h#L233

https://godbolt.org/z/Mmjt0G

I'm sure I could work around that, but if I'm hitting bugs within the first 10 minutes of trying, I'm not liking my chances of the rest of the porting being very quick at all.

Sorry about that :( . I was really hoping that MSVC had made some serious progress on c++17, but it looks like they haven't.

--Zac

On Mon, Aug 5, 2019 at 11:14 PM StefanWoe [email protected] wrote:

Hello Zac, thanks for your quite informative answer. The thing i want to solve is attaching a chrome debugger to a v8engine that i embedded into our windows application.I posted this question about it quite a while ago but got no answers:

https://stackoverflow.com/questions/54074537/how-can-i-attach-a-debugger-to-google-v8

Could you give me advice, how to do this? It seems as nobody is doing that. I find no such tutorials or anything. Thanks Stefan

Am Montag, 5. August 2019, 23:35:08 MESZ hat Zac Hansen < [email protected]> Folgendes geschrieben:

I haven't tried it in windows for a very long time - and basically gave up because the compiler was so bad.

It might work with the latest c++17 compatible msvc, but I've run into a lot of bugs with all the compilers and only really worked around the ones for clang.

honestly, I'd recommend not using this project. There are better integration libraries for javascript and the code for auto-generating bindings is pretty flaky -- it's hacked for my specific needs.

I started work on this when I was between jobs and now I am pretty busy all the time..

I can give specific advice if you really want to hack at it, but I won't have time to really fix stuff.

--Zac

On Mon, Aug 5, 2019 at 3:34 AM StefanWoe [email protected] wrote:

Hello Zac, after quite a while a got back to this topic now again. I am trying to use v8toolkit using Visual Studion 2017. I downloaded all referenced libraries, and now get a number of errors compiling your xl library. I was able to solve some of them by switching to higher language conformance (C++17), but a few remain: 1>xl-master\include\xl\member_function_type_traits.h(15): error C2057: expected constant expression 1>xl-master\include\xl\member_function_type_traits.h(29): error C2764: 'is_noexcept': template parameter not used or deducible in partial specialization 'xl::pointer_to_member_function<R(__cdecl C::* )(Args...)>' And the same errors all over this source file 1>xl-master\include\xl\library_extensions.h(233): error C3546: '...': there are no parameter packs available to expand

'xl::EachI<std::integer_sequence<size_t,_Vals...>,Containers...>::iterator'

being compiled 1>xl-master\include\xl\library_extensions.h(775): error C2643: deduction guide should be declared in the same scope as the corresponding class template 'std::pair'

Any hint on how to solve these errors?Did you ever build this library on windows? Regards Stefan

Am Dienstag, 8. Januar 2019, 20:23:51 MEZ hat Zac Hansen < [email protected]> Folgendes geschrieben:

Quite a while ago it worked. Haven’t tried it in a couple years though. The answer is probably not.

On Tue, Jan 8, 2019 at 5:33 AM StefanWoe [email protected] wrote:

Has v8toolkit been built for windows successfully using VisualStudio 2018?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xaxxon/v8toolkit/issues/22, or mute the thread <

https://github.com/notifications/unsubscribe-auth/AAIycnzWsxhVc0bDuddYpIk7SXHaVOVfks5vBJ4UgaJpZM4Z1e4n

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <

https://github.com/xaxxon/v8toolkit/issues/22?email_source=notifications&email_token=AABDE4RDKOMIAOR3WNG7HZLQC764NA5CNFSM4GOV5YT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3RNFUY#issuecomment-518181587

, or mute the thread <

https://github.com/notifications/unsubscribe-auth/AABDE4WOLB63V4RS3ABBYELQC764NANCNFSM4GOV5YTQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/xaxxon/v8toolkit/issues/22?email_source=notifications&email_token=AABDE4TUCIF2UR3BYHDUIK3QDEJDRA5CNFSM4GOV5YT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3T7XQY#issuecomment-518519747 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AABDE4X4P72II6RVEDP2EMDQDEJDRANCNFSM4GOV5YTQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xaxxon/v8toolkit/issues/22?email_source=notifications&email_token=AABDE4V2JY6Q4SDCHYFXNXTQDO3YFA5CNFSM4GOV5YT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD32SVRQ#issuecomment-519383750, or mute the thread https://github.com/notifications/unsubscribe-auth/AABDE4U67GL7TWHPUCFLNJDQDO3YFANCNFSM4GOV5YTQ .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

StefanWoe avatar Aug 25 '19 20:08 StefanWoe

Just a note: i finally found this and got it to work on windows: https://github.com/hsharsha/v8inspector. (currently only in my branch at https://github.com/StefanWoe/v8inspector). Thanks for your support anyway!

StefanWoe avatar Dec 26 '19 15:12 StefanWoe