I’m not new to Gradle, but am new to building C++ in Gradle.
I’ve tried several examples in the “gradle-native-samples” project on github and get this error:
“fatal error: ‘iostream’ file not found”
I believe that Gradle is launching the clang compiler without specifying the standard includes, so I’m stumbling around trying to add the includes as part of the “cppCompiler.args”, but without success thus far.
I’m working on Mac OS X 10.13 and XCode 9.
I’ll add more if I figure this out, but any suggestions would be helpful…