Linphone IOS构建问题

问题描述:

我想在Mac Mountain Lion上编译linphone-iphone模块。 Xcode版本4.5。Linphone IOS构建问题

我遵循以下链接http://shallwelearn.com/blog/?p=6中给出的步骤。

我成功地跨越了第4步。

在STEP5,我执行命令

“make -f builder-iphone-simulator.mk all && make -f builder-iphone-os.mk all 
&&make -f builder-iphone-os.mk delivery-sdk” 

我得到了以下错误:

checking whether res_ndestroy is declared… yes 
checking for antlr3… no 
configure: error: Could not find antlr.jar. Please install antlr3 
make[1]: *** [/Hub/SIP_Implementation/IOS/workspace/linphone-iphone/submodules/build/../build-i386-apple-darwin/belle-sip/Makefile] Error 1 
make: *** [build] Error 2 

于是我下载了antlr.jar(版本3.5),并添加类路径。但是我仍然得到相同的错误。 任何人都可以帮我解决这个问题吗?

最后我通过执行“sudo port install antlr3”命令来解决这个问题。

执行此命令后,我执行“make all”。它的构建没有错误

+0

Linux用户注意到“port”是一个Mac命令。您需要以不同的方式安装antlr3。 –