Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.1 » UltraLite - C 及 C++ 编程 » 教程 » 教程:使用 C++ API 构建 iPhone 应用程序

 

编译 UltraLite iPhone 库

为了在 iPhone 上使用 UltraLite,首先必须对库进行编译。

 ♦ 编译用于 iPhone 模拟器的库
  1. 在终端窗口中,浏览至 SQL Anywhere ultralite/iphone 目录。

  2. 如果您的环境不适用于 SQL Anywhere,则可从 SQL Anywhere System/bin64 目录为您的终端的 shell 提供 sa_config shell 脚本。

  3. 运行以下命令来调用交互式构建脚本:

    ./build.sh
  4. 选择您偏好的选项。

  5. 完成编译后,请立即验证 libulrt.a 通用档案是否已在当前目录中创建。