如何为 iPhone 构建 Boost-Libraries [英] How to build Boost-Libraries for iPhone

查看:28
本文介绍了如何为 iPhone 构建 Boost-Libraries的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能告诉我,在哪里可以找到详细指南,如何构建 Boost-Libraries 以在 iPhone 设备上使用它.

Can someone tell me, where to find a detailed guide, how to build the Boost-Libraries for using it on the iPhone-Device.

我已经为 Mac 构建了库并且可以在我的项目中使用它们(仅在 iPhone 模拟器上).在为 iPhone-Device 构建项目时,XCode 提醒我一个警告:文件不是必需的架构"和其他一些错误.

I've allready build the libs for Mac and can use them in my project (only on iPhone-Simulator). While building the project for iPhone-Device, XCode haunts me a warning: "file is not of required architecture" ond some other errors.

请帮忙

推荐答案

使用 iPhone 静态库项目模板在 Xcode 中启动一个新项目.然后导入源代码和头文件,并以这种方式编译.结果应该是一个 iPhone 兼容的静态库

Start a new project in Xcode using the iPhone Static Library project template. Then import the source and headers, and compile it that way. The result should be an iPhone compatible static library

这篇关于如何为 iPhone 构建 Boost-Libraries的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆