简体   繁体   中英

iOS: building a static library from c++ code fails

I have been trying to create an static library out of C++ code by following this tutorial . If I trying to build the project some error occurs.

#include <limits>  "limits" file not found

for example.

I have been trying different build settings, eg C++ Standard Library with no luck. Rename the implementation files from .cpp to .mm did not work also. Is there an workaround to solve this issues?

尝试使用#include <limits.h>而不是#include <limits>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM