OpenHarmony开发者论坛

标题: C/C++的三方开源库如何迁移到系统下运行? [打印本页]

作者: 北向实践与赋能    时间: 2024-1-4 10:58
标题: C/C++的三方开源库如何迁移到系统下运行?
[md]C/C++的三方开源库如何迁移到系统下运行?
[/md]
作者: 北向实践与赋能    时间: 2024-1-4 10:58
标题: C/C++的三方开源库如何迁移到系统下运行?
[md]**关键字**

C/C++编译

**解决方案**

当前官方SDK只支持Cmake构建,同时对于依赖GN构建的场景提供了迁移指导

**参考资料**

1. GN构建:

   [基于gn_example编译三方库代码](https://gitee.com/openharmony/bu ... 3%E4%BB%A3%E7%A0%81)

   [基于三方编译框架移植OHOS](https://gitee.com/openharmony/bu ... %A7%BB%E6%A4%8DOHOS)
2. CMake构建:

   linux:[HOW TO USE NDK (linux)](https://gitee.com/openharmony/bu ... 20TO%20USE%20NDK%20(linux))

   windows:[HOW TO USE NDK (windows)](https://gitee.com/openharmony/bu ... 20TO%20USE%20NDK%20(windows))
[/md]




欢迎光临 OpenHarmony开发者论坛 (https://forums.openharmony.cn/) Powered by Discuz! X3.5