Closed shoeffner closed 5 years ago
Oh, now that I fixed it, I see that #576 deals with the same issue (although differently). I didn't find it when I searched for "isnan" in the issues... I guess I should also search for PRs next time. So if #576 resolves the issue and you don't want the extra include statement, feel free to close this PR!
Closed due to no activity and duplication in #576
@shoeffner Hello, it seems neither this, nor the #576 got merged after all, so the issue still exists.
The #include <cmath>
did solve the problem for me.
When compiling COLLADA2GLTF, I receive the error "no member named 'isnan' in namespace 'std'", when it compiles OpenCOLLADA as a dependency. The error occurs for COLLADA2GLTF's master and v2.1.4. I also moved OpenCOLLADA from 619d9421 to the current master, but the error persists, thus I assume it's an OpenCOLLADA issue.
OS: macOS 10.14 compiler: AppleClang 10.0.0.10001145
Relevant log:
It seems there is just a missing import for macOS, so here is a patch which results in a successful compilation:
If this is the correct solution, I can create a PR or you can use the patch here to fix it. Let me know if you need any other information!