Compile poco library for iPhone and iPhone Simulator

Source: Internet
Author: User

./Configure -- Config = iPhone -- prefix =/libs/pocos -- Static -- notests -- nosamples

#./Configure -- Config = iphonesimulator -- prefix =/libs/pocos -- Static -- notests -- nosamples

 

Since the system is upgraded to Mac OS X 10.7.4, The xcode directory is also changed to/applications/xcode. to compile the app, you need to make some modifications to the iPhone version. Find the build/config/iPhone file and open and edit the file. The modifications are as follows:

Iphone_sdk_version = 5.1
Gcc_ver= 4.2

Iphone_sdk? = Iphoneos

Iphone_sdk_root =/applications/xcode. APP/contents/developer/platforms/iPhone OS. Platform/developer/sdks

Poco_target_osarch? = Armv7

Tool_prefix? =/Applications/xcode. APP/contents/developer/platforms/iphoneos. Platform/developer/usr/bin/

 

 

Make

Make install

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.