Exception while building Json, and undefined reference error

215 views
Skip to first unread message

Robert Tattorn

unread,
Nov 23, 2020, 5:47:00 PM11/23/20
to android-ndk
I try to compile my source files to shared library using Android studio and NDK, and I get the error: 
exception while building Json $C:\Users\User\Documents\B3d\tv\.cxx\cmake\debug\armeabi-v7a\compile_commands.json (The system cannot find the file specified)  

When I try to compile without using studio and using command line, I get the error:

jni/texture.cpp:549: error: undefined reference to 'glBindRenderbufferOES'
jni/stencil.cpp:176: error: undefined reference to 'glxxx...

Most of these reference errors have something to do with Opengl-ES. What could be wrong?

Robert Tattorn

unread,
Nov 30, 2020, 5:33:56 PM11/30/20
to android-ndk
I have resolved some errors in cmd by correcting the android.mk file, but why do I get the Android studio json error? Is it because of compile errors and LLDB is not installed?
Reply all
Reply to author
Forward
0 new messages