Jump to content

H4k4nn

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. H4k4nn

    IOS - 3rd Party Library

    You mean all I need to do is adding opus.framework to search path and call funcios like function opus_encoder_create(Fs: Integer; channels, application: Integer; out error: Integer): TOpusEncoder; cdecl; external 'libopus' name 'opus_encoder_create'; external libname must be opus or opus.a ? opus has no extension inside opus.framework folder. Should I change it to ".a" ?
  2. H4k4nn

    IOS - 3rd Party Library

    Hello everyone. Delphi 10.3.3 - IPhoneOs 12.1 I have been trying with OPUS for a while. I used this wrapper for my Windows,MACOS and Android. Each one was suitable to work with dynamic libraries. dll,so,dylib. When ios turns to come I had some difficulties. I think there is no chance to use dynamic libs like in other platforms. I ve been looking static or framework for a week but still couldnt run it. What I have done so far is First I tried to get .a static lib file for opus from github sources. Added .a static lib to my project folder and also added Search Path. The problem is And then I followed this way. I built static lib my own macos. Even build.sh includes ARCHS="i386 x86_64 armv7 armv7s arm64" error was After that I tought that is there any way to include opus.framework to my project I also tried like this way and added -framework opus to LD Linker but this time even there is opus file in my opus.framework folder but compiler says that As a result I really dont know how to go on about ios 3rd party lib to be able to add my project. Is there any chance to go with dynamic library ? or has to be static ? any help will be appreciated.
×