Vra

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?

Was dit nuttig?

Oplossing

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

Gelisensieer onder: CC-BY-SA met toeskrywing
Nie verbonde aan StackOverflow
scroll top