gpt4 book ai didi

ios - iPhone5C 中未安装 Luxand SDK

转载 作者:行者123 更新时间:2023-12-03 03:40:24 24 4
gpt4 key购买 nike

我们正在创建一个应用程序,在其中使用 Luxand 库进行人脸检测和识别。我们从您的“LiveRecognition”示例应用程序开始。我们发现,如果我们将项目“build设置”中的“有效架构”从“armv7”更改为“armv7s”和“arm64”,则会出现大约 50 个编译时错误。下面是我在编译时遇到的错误。我们只是想知道,如何使用“arm64”和“armv7s”成功编译应用程序。您能否告诉我们需要对应用程序的项目“build设置”进行哪些配置更改才能运行该项目?如果您需要我们提供有关项目的“build设置”设置的任何进一步帮助,请告诉我们。

此外,我们在您的网站中看到您支持arm64/x86_64(iPhone 5S+、iPad Air+、iPad mini retina+、模拟器)。所以,我们只是想知道您是否也支持 iPhone5c,因为我们在 iPhone5c 中遇到了这个问题。

我的项目的项目设置是:架构:标准架构(armv7、arm64)基础 SDK:最新 iOS (iOS 8.3)仅构建事件架构:否有效架构:arm64、armv7、armv7s

iOS部署目标:iOS7.0

其他链接器标志:-lxml2

错误:

ld: warning: ignoring file <Path To project>/libfsdk-static_64.a, missing required architecture armv7 in file<Path To project>/libfsdk-static_64.a (2 slices)
Undefined symbols for architecture armv7:
"_FSDK_LockID", referenced from:
-[DetectionViewController processImageAsyncWith:] in DetectionViewController.o
"_FSDK_SetName", referenced from:
-[DetectionViewController processImageAsyncWith:] in DetectionViewController.o
"_FSDK_SaveTrackerMemoryToFile", referenced from:
-[DetectionViewController unloadView] in DetectionViewController.o
"_FSDK_FeedFrame", referenced from:
-[RecognitionViewController processImageAsyncWith:] in RecognitionViewController.o
-[CaptureImages processImageAsyncWith:] in CaptureImages.o
-[DetectionViewController processImageAsyncWith:] in DetectionViewController.o
"_FSDK_GetTrackerEyes", referenced from:
-[RecognitionViewController processImageAsyncWith:] in RecognitionViewController.o
-[CaptureImages processImageAsyncWith:] in CaptureImages.o
-[DetectionViewController processImageAsyncWith:] in DetectionViewController.o
"_FSDK_MirrorImage", referenced from:
-[RecognitionViewController processImageAsyncWith:] in RecognitionViewController.o
-[CaptureImages processImageAsyncWith:] in CaptureImages.o
-[DetectionViewController processImageAsyncWith:] in DetectionViewController.o
"_FSDK_LoadTrackerMemoryFromFile", referenced from:
-[RecognitionViewController setupCamera] in RecognitionViewController.o
-[CaptureImages initWithCamera:] in CaptureImages.o
-[DetectionViewController setupCamera] in DetectionViewController.o
"_FSDK_ClearTracker", referenced from:
-[RecognitionViewController processImageAsyncWith:] in RecognitionViewController.o
-[CaptureImages processImageAsyncWith:] in CaptureImages.o
-[DetectionViewController processImageAsyncWith:] in DetectionViewController.o
"_FSDK_CreateTracker", referenced from:
-[RecognitionViewController setupCamera] in RecognitionViewController.o
-[CaptureImages initWithCamera:] in CaptureImages.o
-[DetectionViewController setupCamera] in DetectionViewController.o
"_FSDK_LoadImageFromBuffer", referenced from:
-[RecognitionViewController processImageAsyncWith:] in RecognitionViewController.o
-[CaptureImages processImageAsyncWith:] in CaptureImages.o
-[DetectionViewController processImageAsyncWith:] in DetectionViewController.o
"_FSDK_SetNumThreads", referenced from:
-[AppDelegate application:didFinishLaunchingWithOptions:] in AppDelegate.o
"_FSDK_SetTrackerMultipleParameters", referenced from:
-[RecognitionViewController setupCamera] in RecognitionViewController.o
-[CaptureImages initWithCamera:] in CaptureImages.o
-[DetectionViewController setupCamera] in DetectionViewController.o
"_FSDK_GetAllNames", referenced from:
-[RecognitionViewController processImageAsyncWith:] in RecognitionViewController.o
-[CaptureImages processImageAsyncWith:] in CaptureImages.o
-[DetectionViewController processImageAsyncWith:] in DetectionViewController.o
"_FSDK_GetLicenseInfo", referenced from:
-[AppDelegate application:didFinishLaunchingWithOptions:] in AppDelegate.o
"_FSDK_CreateEmptyImage", referenced from:
-[RecognitionViewController processImageAsyncWith:] in RecognitionViewController.o
-[CaptureImages processImageAsyncWith:] in CaptureImages.o
-[DetectionViewController processImageAsyncWith:] in DetectionViewController.o
"_FSDK_Initialize", referenced from:
-[AppDelegate application:didFinishLaunchingWithOptions:] in AppDelegate.o
"_FSDK_UnlockID", referenced from:
-[DetectionViewController processImageAsyncWith:] in DetectionViewController.o
"_FSDK_GetNumThreads", referenced from:
-[AppDelegate application:didFinishLaunchingWithOptions:] in AppDelegate.o
"_FSDK_FreeImage", referenced from:
-[RecognitionViewController processImageAsyncWith:] in RecognitionViewController.o
-[CaptureImages processImageAsyncWith:] in CaptureImages.o
-[DetectionViewController processImageAsyncWith:] in DetectionViewController.o
"_FSDK_ActivateLibrary", referenced from:
-[AppDelegate application:didFinishLaunchingWithOptions:] in AppDelegate.o
"_FSDK_RotateImage90", referenced from:
-[RecognitionViewController processImageAsyncWith:] in RecognitionViewController.o
-[CaptureImages processImageAsyncWith:] in CaptureImages.o
-[DetectionViewController processImageAsyncWith:] in DetectionViewController.o
"_FSDK_SetFaceDetectionThreshold", referenced from:
-[AppDelegate application:didFinishLaunchingWithOptions:] in AppDelegate.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

最佳答案

我通过在build设置中更改以下内容解决了该问题:

Architectures : Standard Architechtures(armv7, arm64) 
Base SDK : Latest iOS (iOS 8.3)
Build Active Architecture Only: NO
Valid Architechture: armv7, arm64
iOS Deployment Target: iOS7.0
C++ Language Dialect: GNU++11[-std=gnu++11]
C++ Standard Library: libstdc++ (GNU C++ standard library)

关于ios - iPhone5C 中未安装 Luxand SDK,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30838948/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com