Unable to build idoubs vs armv7s

I am using open-source idoubs in one of my projects for VoIP features. Everything works fine in armv6 and armv7 architecture. Now I am updating my project to support iphone 5. I could not compile the project in armv7s architecture (I reset armv6 architecture. I tried to compile in armv7 and armv7s architecture). I get the following error.

ld: library not found for -lsrtp

collect2: ld returned 1 exit status

Share your suggestion to solve this problem.

Note:

libsrtp.a is available for all architectures (armv6, armv7, and i386) other than armv7s architecture. So I'm not sure if the idoubs source code was really updated.

I am using the latest version of r221 and xcode 4.5.

Thanks at Advance ...

+6
source share
2 answers

This happened to me, and I finally decided it.

When I compiled Building for the GPL , it worked fine, but when I built a version other than the GPL, it gave 17 errors. First I performed the following steps:

 In /mydoubs/iPhone/idoubs/branches/2.0/ios-idoubs/idoubs.xcodeproj Right click on idoubs target => Get Info => Build tab => Other Linker Flags then: remove -lx264 replace -lswscale to -lswscale-lgpl -lavcore to -lavcore-lgpl -lavutil to -lavutil-lgpl -lavcodec to -lavcodec-lgpl Right click on ios-ngn-stack target => Get Info => Build tab => Other C Flags then: replace -DHAVE_H264=1 with -DHAVE_H264=0 

Then the tricks for building libraries in the following order, do not forget in the same project ( idoubs.xcodeproj ):

  • Doubango (ios-ngn-stack) (be careful, this is different from another Dobango)
  • KSN-SPP stack
  • Doubango (idoubs project)
  • NGN
  • iDoubs

It works this way for armv7

+4
source

in the "Assembly parameters" section, the option: "Valid architectures" leaves only armv7 and user-defined (they are in the "Assembly parameters" footer) include "Doubango liBS" armv7s and select libraries from the "..youre private path" directory .. / mydoubs / doubango / branches / 2.0 / doubango / thirdparties / iphone / lib "! This will help me!

0
source

All Articles