Shibasis Patnaik
09/07/2023, 8:13 AMlanguage = C++
headers=/Users/ovd/IdeaProjects/Mehmaan/reaktor/cpp/Reaktor.h
compilerOpts=-x c++ -std=c++20
linkerOpts=-lstdc++
It fails with the response error: no member named 'nullptr_t' in the global namespace
I am able to build and run the iOS app using xcode, but I am unable to interface with the C++ code.
Sorry if this is a noob question, but I was unable to work around thisShibasis Patnaik
09/08/2023, 7:31 AMval reaktor by creating {
defFile(file("$cppRoot/reaktor.def"))
headers("$cppRoot/Reaktor.h")
extraOpts("-Xsource-compiler-option", "-std=c++20")
extraOpts("-Xcompile-source", "$cppRoot/Reaktor.cpp")
}
In the build.gradle file.
Now my C++ code shows up in the IDE, but when I build my iOS app
It gives an undefined error for the same function