-
Notifications
You must be signed in to change notification settings - Fork 61
Cannot self compile using vialerbuild script #33
Comments
How are you linking the library to your project? |
I've compiled the library, and linking was the tricky part. I wasn't sure how to do that so I've tested a few methods. The one that seems to produce the desired result was this one:
|
Question: what parameters do you use to compile the current version? |
After a few days of debugging and tweaking I was able to make one more step on the road to make the final library. First of all, I've compiled the library on a fresh installed os. I still don't have idea why, but it seems that my configuration infers in some way with final result. So, now I've managed to get a feasible result, but I still have some warnings. Due this warnings the final project can be compiled only on a physic device. On simulator I receive same errors as above image. Here are the errors :
Do you have any ideas how to fix this warnings? |
@c-Viorel did you find a resolution to your issue? I am in the same boat. When I build I get the same warnings, and am not able to run on the simulator. |
same issue when building with vialerbuild file, |
Version
3.4.1
File / Feature
Use vialerbuild script to create the library
Expected behaviour
After the script execution, the library should work on xcode project
Actual behaviour
The library is created but in xcode i receive errors
Stacktrace / Error message
ld: symbol(s) not found for architecture armv7
This is what I get if I try to compile on a physical device. If I want to use a simulator I get 60-70 errors. (all related to symbols that cannot be found)
Other info
This is what I've changed in vialerbuild file:
export DOWNLOAD_PJSIP_SRC=true
export CLEAN_PJSIP_SRC=true
export SSL_SUPPORT=true
export OPUS_SUPPORT=true
export H264_SUPPORT=false
export INDEPENDENT_WEBRTC=false
export ENABLE_ZRTP=true
export HAS_BITCODE=true
export HAS_IPV6=true
export SHOW_HELP=false
I want to add g729 codec to the library, but in the first place, I want just to compile as it is and obtain a valid library.
As adjacent info, I am using xcode 10.2.1 and command line tools 10.2.1. on Mojave 10.14.5.
Do you have any ideas about what I am doing wrong?
The text was updated successfully, but these errors were encountered: