microsoft / ClearScript

A library for adding scripting to .NET applications. Supports V8 (Windows, Linux, macOS) and JScript/VBScript (Windows).
https://microsoft.github.io/ClearScript/
MIT License
1.79k stars 148 forks source link

error: '_Set_ptr_rep_and_enable_shared' is a private member of 'std::shared_ptr<bool>' #613

Open AnsisMalins opened 3 days ago

AnsisMalins commented 3 days ago

V8Update fails at the "Building V8" step. Here's the log file I found: build-Win32-Release.log

Please advise.

Windows SDK version as seen in "C:\Program Files (x86)\Windows Kits\10\SDKManifest.xml": 10.0.26100.0 Visual Studio version as reported by Visual Studio Installer: 17.12.2

ClearScriptLib commented 1 day ago

Hi @AnsisMalins,

We tested V8Update in ClearScript 7.4.5 with those exact Visual Studio and Windows SDK versions and did not encounter any issues.

A couple of possibilities:

  1. Are you making any modifications to V8 or ClearScript prior to building?
  2. Are you invoking V8Update in a Visual Studio Developer Command Prompt?
  3. Do you have the "Desktop development with C++" Visual Studio workload installed?

Thanks!