erfanali / siphon

Automatically exported from code.google.com/p/siphon
0 stars 0 forks source link

Compilation ERROR!!! #552

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi all... 
Please help me to compile pjsip lib.... 
I tried to compile, and got this error....

../src/pj/os_info_iphone.m:27:28: error: UIKit/UIDevice.h: No such file or 
directory ../src/pj/os_info_iphone.m: In function 
‘pj_iphone_os_get_sys_info’: ../src/pj/os_info_iphone.m:32: error: 
‘UIDevice’ undeclared (first use in this function) 
../src/pj/os_info_iphone.m:32: error: (Each undeclared identifier is reported 
only once ../src/pj/os_info_iphone.m:32: error: for each function it appears 
in.) ../src/pj/os_info_iphone.m:32: error: ‘device’ undeclared (first use 
in this function) ../src/pj/os_info_iphone.m:49: error: 
‘NSASCIIStringEncoding’ undeclared (first use in this function) make2?: 
output/pjlib-arm-apple-darwin9/os_info_iphone.o? Error 1 make1?: pjlib? Error 2 
make: all? Error 1

I dont understand what path i should give to INCLUDE_IPHONE.
I tried it with framework path, but i got this error "UIKit/UIDevice.h: No such 
file or directory "

INCLUDE_IPHONE=/path/of/include/in/iphone/sdk ???????????

Original issue reported on code.google.com by parsamya...@gmail.com on 28 Nov 2011 at 12:20

GoogleCodeExporter commented 9 years ago
Regarding pjsip you should contact pjsip mailing list.
pjsip supports natively iOS.

Original comment by samuelv0...@gmail.com on 29 Nov 2011 at 7:28

GoogleCodeExporter commented 9 years ago
But on your page " http://code.google.com/p/siphon/wiki/Compilation " is 
written 

" On Linux and Windows,you need use FLAT_INCLUDES, so you must define 
INCLUDE_IPHONE. This value defines the path of include directory in your iphone 
sdk. It would be great to define automatically INCLUDE_IPHONE. " 

Original comment by parsamya...@gmail.com on 4 Dec 2011 at 10:59

GoogleCodeExporter commented 9 years ago
Right, but my page is obsolete, because pjsip supports natively iPhone, you 
shouldn't use my patches.

Original comment by samuelv0...@gmail.com on 5 Dec 2011 at 2:45

GoogleCodeExporter commented 9 years ago
Many Thanks Samuel, I'll give it a try!

Original comment by parsamya...@gmail.com on 6 Dec 2011 at 4:07