문제

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, e.g. 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?

도움이 되었습니까?

해결책

Try using #include <limits.h> instead of #include <limits>

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top