Skip to content

iOS编译错误 #10138

@LiamYY

Description

@LiamYY

根据文档 http://www.paddlepaddle.org/docs/develop/mobile/zh//cross_compiling_for_ios_cn.html
cmake -DCMAKE_SYSTEM_NAME=iOS
-DIOS_PLATFORM=OS
-DIOS_ARCH="armv7;arm64"
-DIOS_ENABLE_BITCODE=ON
-DIOS_USE_VECLIB_FOR_BLAS=ON
-DCMAKE_INSTALL_PREFIX=your/path/to/install
-DWITH_C_API=ON
-DWITH_TESTING=OFF
-DWITH_SWIG_PY=OFF
..
报错信息如下:
/paddle/parameter/Argument.cpp:328:31: error: lambda capture 'stream' is not
used [-Werror,-Wunused-lambda-capture]
auto copyStrs = [batchSize, stream](SVectorPtr& dst,

Metadata

Metadata

Assignees

No one assigned

    Labels

    User用于标记用户问题

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions