[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] (no subject)
From: |
A.Žukovič |
Subject: |
Re: [Linphone-developers] (no subject) |
Date: |
Thu, 19 Jan 2017 17:41:45 +0100 |
Hi Mats,
please rebuild you project from source:
./prepare.py arm64 armv7 i386 x86_64 simulators devices
-DENABLE_GPL_THIRD_PARTIES=NO -DENABLE_FFMPEG=NO && make
and will be all work.
Best Regards,
Alex
> On 19. 1. 2017, at 17:30, address@hidden wrote:
>
>
> hey everyone,
> I'm trying since two days to compile an app using the liblinphone sdk
> downloaded from here:
> http://www.linphone.org/technical-corner/liblinphone/downloads
>
> My Setup:
> - Swift 3 app with a an objective-c wrapper class for liblinphone.
> - Liblinphone SDK liblinphone-iphone-sdk-3.16.1.zip
> - XCode Version 8.2.1 (8C1002)
> - Some Dependencies included via cocoapods
>
> I just copied the sdk into my project files folder and then added the lib and
> the include folder to my project. Whenever I try to build (either for
> simulator or on the device), I get a loooooot of warnings and errors which
> are related to the architecture:
>
> [...]
> liblinphone-sdk/apple-darwin/lib/libmbedtls.a (3 slices)ld: warning:
> ignoring file
> /Users/mheicke/Workspaces/XCode/PflegeTabNewProject/Extern/liblinphone-sdk/apple-darwin/lib/libgsm.a,
> missing required architecture i386 in file
> /Users/mheicke/Workspaces/XCode/PflegeTabNewProject/Extern/liblinphone-sdk/apple-darwin/lib/libgsm.a
> (3 slices)ld: warning:
> ignoring file
> /Users/mheicke/Workspaces/XCode/PflegeTabNewProject/Extern/liblinphone-sdk/apple-darwin/lib/libbellesip.a,
> missing required architecture i386 in file
> /Users/mheicke/Workspaces/XCode/PflegeTabNewProject/Extern/liblinphone-sdk/apple-darwin/lib/libbellesip.a
> (3 slices)
> Undefined symbols for architecture i386:
> "_linphone_call_get_play_volume", referenced from:
> -[LinphoneWrapper getTrackingParameter] in LinphoneWrapper.o
> "_linphone_call_get_average_quality", referenced from:
> -[LinphoneWrapper getTrackingParameter] in LinphoneWrapper.o
> "_linphone_call_get_duration", referenced from:
> [...]
>
> here's one example for the warnings:
> ld: warning: ignoring file
> /Users/mheicke/Workspaces/XCode/PflegeTabNewProject/Extern/liblinphone-sdk/apple-darwin/lib/libswresample.a,
> missing required architecture i386 in file
> /Users/mheicke/Workspaces/XCode/PflegeTabNewProject/Extern/liblinphone-sdk/apple-darwin/lib/libswresample.a
> (3 slices)
>
> they all look pretty much like this. It's the same for all other
> architectures (if I try to build on a different device).
> Does anyone know, what I'm doing wrong?
> Best regards,
> Mats
>
>
>
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/linphone-developers