Unreal.js-core icon indicating copy to clipboard operation
Unreal.js-core copied to clipboard

Reference to 'Handle' is ambiguous

Open luojin opened this issue 3 years ago • 0 comments

macOS 11.3.1 UnrealEngine 4.26.2 unreal.js-core master

when building plugin, encountering the following ploblem, can anybody help?

Showing All Messages Running bundled mono, version: Mono JIT compiler version 5.16.0.220 (2018-06/bb3ae37d71a Fri Nov 16 17:12:11 EST 2018)

Processing build for Target=testEditor Platform=Mac Configuration=Development -architecture=x86_64 /Users/abner/Documents/Unreal Projects/test/test.uproject

Creating makefile for ShaderCompileWorker (no existing makefile)

ERROR: Couldn't find target rules file for target 'ShaderCompileWorker' in rules assembly 'UE4Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.

   Location: /Users/Shared/Epic Games/UE_4.26/Engine/Intermediate/Build/BuildRules/UE4Rules.dll


   Target rules found:

Running Engine/Binaries/DotNET/UnrealBuildTool.exe testEditor Mac Development /Users/abner/Documents/Unreal Projects/test/test.uproject -architecture=x86_64

Building testEditor...

Performing 8 actions (12 in parallel)

[1/8] Compile Module.V8.cpp

In file included from /Users/abner/Documents/Unreal Projects/test/Plugins/UnrealJS/Intermediate/Build/Mac/x86_64/UE4Editor/Development/V8/Module.V8.cpp:6:

/Users/abner/Documents/Unreal Projects/test/Plugins/UnrealJS/Source/V8/Private/Inspector.cpp:518:7: Reference to 'Handle' is ambiguous

                                            Handle<Value> argv[2];


                                            ^

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/MacTypes.h:249:41: Candidate found by name lookup is 'Handle'

typedef Ptr * Handle;

                                    ^

/Users/abner/Documents/Unreal Projects/test/Plugins/UnrealJS/ThirdParty/v8/include/v8.h:323:1: Candidate found by name lookup is 'v8::Handle'

using Handle = Local<T>;

^

In file included from /Users/abner/Documents/Unreal Projects/test/Plugins/UnrealJS/Intermediate/Build/Mac/x86_64/UE4Editor/Development/V8/Module.V8.cpp:6:

/Users/abner/Documents/Unreal Projects/test/Plugins/UnrealJS/Source/V8/Private/Inspector.cpp:525:7: Reference to 'Handle' is ambiguous

                                            Handle<Value> argv[1];


                                            ^

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/MacTypes.h:249:41: Candidate found by name lookup is 'Handle'

typedef Ptr * Handle;

                                    ^

/Users/abner/Documents/Unreal Projects/test/Plugins/UnrealJS/ThirdParty/v8/include/v8.h:323:1: Candidate found by name lookup is 'v8::Handle'

using Handle = Local<T>;

^

In file included from /Users/abner/Documents/Unreal Projects/test/Plugins/UnrealJS/Intermediate/Build/Mac/x86_64/UE4Editor/Development/V8/Module.V8.cpp:8:

/Users/abner/Documents/Unreal Projects/test/Plugins/UnrealJS/Source/V8/Private/JavascriptContext_Private.cpp:60:60: Reference to 'Handle' is ambiguous

luojin avatar May 18 '21 12:05 luojin