如何调用“ .so” xcode中的文件 [英] How to invoke ".so" file in xcode

查看:317
本文介绍了如何调用“ .so” xcode中的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在xcode中调用(调用)。so文件?
这些 .so文件全部用标准C.(C99)编写。
任何人的帮助.....

How to invoke(call) ".so" file in xcode? these ".so" files are all writen in standard C.(C99). Anyone help.....

推荐答案

Apple对动态库使用文件扩展名 .dylib。它们与其他类似Unix的操作系统中使用的 .so共享对象库非常相似,并且是Windows上 .dll动态链接库的表亲。

Apple uses the file extension ".dylib" for dynamic libraries. They are very similar to ".so" shared-object libraries used in other Unix-like operating systems, and are a cousin to ".dll" dynamic link libraries on Windows.

大多数.so库为ELF格式(Linux和许多其他POSIX系统使用),而Mac库为Mach-O格式。因此,它们绝对是不兼容的。

Most .so libraries are in ELF format (used by Linux and many other POSIX systems) whereas Mac libraries are in Mach-O format. So, they are most definitely incompatible.

这篇关于如何调用“ .so” xcode中的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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