MediaPipeUnityPlugin icon indicating copy to clipboard operation
MediaPipeUnityPlugin copied to clipboard

Xcode build error.

Open NakiriYuuzu opened this issue 10 months ago • 2 comments

Plugin Version or Commit ID

v0.14.3

Unity Version

2022.3.16f

Your Host OS

macOS sonoma

Target Platform

iOS

[Windows Only] Visual Studio C++ and Windows SDK Version

No response

[Linux Only] GCC/G++ and GLIBC Version

No response

[Android Only] Android Build Tools and NDK Version

No response

[iOS Only] XCode Version

14.1

Command Sequences

Xcode Build.

Log

UnityFramework
Undefined symbol: _absl_Status__ToString

Undefined symbol: _absl_Status__delete

Undefined symbol: _absl_Status__ok

Undefined symbol: _absl_Status__raw_code

Undefined symbol: _delete_array__PKc

Undefined symbol: _glog_FLAGS_logtostderr

Undefined symbol: _glog_FLAGS_minloglevel

Undefined symbol: _glog_FLAGS_stderrthreshold

Undefined symbol: _glog_FLAGS_v

Undefined symbol: _google_InitGoogleLogging__PKc

Undefined symbol: _google_ShutdownGoogleLogging

Undefined symbol: _google_protobuf__ResetLogHandler

Undefined symbol: _google_protobuf__SetLogHandler__PF

Undefined symbol: _mp_CalculatorGraph__

Undefined symbol: _mp_CalculatorGraph__AddOutputStreamPoller__PKc_b

Undefined symbol: _mp_CalculatorGraph__AddPacketToInputStream__PKc_Ppacket

Undefined symbol: _mp_CalculatorGraph__CloseAllPacketSources

Undefined symbol: _mp_CalculatorGraph__Initialize__PKc_i

Undefined symbol: _mp_CalculatorGraph__ObserveOutputStream__PKc_PF_b

Undefined symbol: _mp_CalculatorGraph__SetGpuResources__SPgpu

Undefined symbol: _mp_CalculatorGraph__StartRun__Rsp

Undefined symbol: _mp_CalculatorGraph__WaitUntilDone

Undefined symbol: _mp_CalculatorGraph__delete

Undefined symbol: _mp_GlCalculatorHelper__

Undefined symbol: _mp_GlCalculatorHelper__GetGlContext

Undefined symbol: _mp_GlCalculatorHelper__InitializeForTest__Pgr

Undefined symbol: _mp_GlCalculatorHelper__delete

Undefined symbol: _mp_GlSyncPoint__Wait

Undefined symbol: _mp_GlSyncToken__delete

Undefined symbol: _mp_GlSyncToken__get

Undefined symbol: _mp_GpuBuffer__delete

Undefined symbol: _mp_GpuResources_Create__Pv

Undefined symbol: _mp_ImageFrame__Format

Undefined symbol: _mp_ImageFrame__Height

Undefined symbol: _mp_ImageFrame__MutablePixelData

Undefined symbol: _mp_ImageFrame__Width

Undefined symbol: _mp_ImageFrame__WidthStep

Undefined symbol: _mp_ImageFrame__delete

Undefined symbol: _mp_ImageFrame__ui_i_i_i_Pui8_PF

Undefined symbol: _mp_Image__delete

Undefined symbol: _mp_Image__height

Undefined symbol: _mp_Image__image_format

Undefined symbol: _mp_Image__step

Undefined symbol: _mp_Image__ui_i_i_i_Pui8_PF

Undefined symbol: _mp_Image__width

Undefined symbol: _mp_OutputStreamPoller__Next_Ppacket

Undefined symbol: _mp_OutputStreamPoller__delete

Undefined symbol: _mp_PacketMap__

Undefined symbol: _mp_PacketMap__delete

Undefined symbol: _mp_PacketMap__emplace__PKc_Rp

Undefined symbol: _mp_PacketMap__find__PKc

Undefined symbol: _mp_Packet__

Undefined symbol: _mp_Packet__GetClassificationsVector

Undefined symbol: _mp_Packet__GetDetectionResult

Undefined symbol: _mp_Packet__GetImage

Undefined symbol: _mp_Packet__GetImageFrame

Undefined symbol: _mp_Packet__GetImageVector

Undefined symbol: _mp_Packet__GetLandmarksVector

Undefined symbol: _mp_Packet__GetNormalizedLandmarksVector

Undefined symbol: _mp_Packet__GetProtoMessageLite

Undefined symbol: _mp_Packet__GetVectorOfProtoMessageLite

Undefined symbol: _mp_Packet__IsEmpty

Undefined symbol: _mp_Packet__TimestampMicroseconds

Undefined symbol: _mp_Packet__delete

Undefined symbol: _mp_PixelWriteLock__Pixels

Undefined symbol: _mp_PixelWriteLock__RI

Undefined symbol: _mp_PixelWriteLock__delete

Undefined symbol: _mp_SharedGlContext__delete

Undefined symbol: _mp_SharedGlContext__get

Undefined symbol: _mp_SharedGpuResources__delete

Undefined symbol: _mp_SharedGpuResources__get

Undefined symbol: _mp_ValidatedGraphConfig__

Undefined symbol: _mp_ValidatedGraphConfig__Config

Undefined symbol: _mp_ValidatedGraphConfig__Initialize__Rcgc

Undefined symbol: _mp_ValidatedGraphConfig__delete

Undefined symbol: _mp__MakeBoolPacket__b

Undefined symbol: _mp__MakeGpuBufferPacket_At__Rgb_ll

Undefined symbol: _mp__MakeGpuBufferPacket__Rgb

Undefined symbol: _mp__MakeImageFramePacket_At__Pif_ll

Undefined symbol: _mp__MakeImagePacket_At__PI_ll

Undefined symbol: _mp__MakeImagePacket__PI

Undefined symbol: _mp__MakeIntPacket__i

Undefined symbol: _mp__PacketFromDynamicProto_At__PKc_PKc_i_ll

Undefined symbol: _mp__PacketFromDynamicProto__PKc_PKc_i

Undefined symbol: _mp__SetCustomGlobalPathResolver__P

Undefined symbol: _mp__SetCustomGlobalResourceProvider__P

Undefined symbol: _mp_api_LandmarksArray__delete

Undefined symbol: _mp_api_NormalizedLandmarksArray__delete

Undefined symbol: _mp_api_SerializedProtoArray__delete

Undefined symbol: _mp_api__ConvertFromCalculatorGraphConfigTextFormat

Undefined symbol: _mp_api__SetFreeHGlobal

Undefined symbol: _mp_tasks_c_components_containers_CppCloseClassificationResult

Undefined symbol: _mp_tasks_c_components_containers_CppCloseDetectionResult

Undefined symbol: _mp_tasks_core_TaskRunner_Create__PKc_i_PF

Undefined symbol: _mp_tasks_core_TaskRunner__Close

Undefined symbol: _mp_tasks_core_TaskRunner__Process__Ppm

Undefined symbol: _mp_tasks_core_TaskRunner__Send__Ppm

Undefined symbol: _mp_tasks_core_TaskRunner__delete

Undefined symbol: _std_string__PKc_i

Undefined symbol: _std_string__delete

Linker command failed with exit code 1 (use -v to see invocation)

Additional Context

No response

NakiriYuuzu avatar Apr 16 '24 09:04 NakiriYuuzu

Add the iOS folder from MediaPipeUnityPlugin-all in {Project_root}/Packages/com.github.homuler.mediapipe/Runtime/

thisisvaze avatar May 16 '24 22:05 thisisvaze

I didn't respond because there were no reproduction steps written at all, but if that's the reason, see https://github.com/homuler/MediaPipeUnityPlugin/releases/tag/v0.14.3

ATTENTION: For some reason, the iOS framework is no longer included in the unitypackage, so if you need the iOS library, please use the tarball version or build it by yourself using MediaPipeUnityPlugin-all-stripped.zip or MediaPipeUnityPlugin-all.zip, which contain the iOS library.

homuler avatar May 17 '24 01:05 homuler